pulumi-oci 1.23.0a1707980719__py3-none-any.whl → 1.24.0a1708066165__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/database/_inputs.py +49 -1
- pulumi_oci/database/autonomous_database.py +47 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/outputs.py +128 -4
- pulumi_oci/loganalytics/_inputs.py +80 -0
- pulumi_oci/loganalytics/get_log_analytics_entities.py +18 -1
- pulumi_oci/loganalytics/get_log_analytics_entity.py +28 -1
- pulumi_oci/loganalytics/get_log_analytics_entity_topology.py +19 -2
- pulumi_oci/loganalytics/get_log_analytics_object_collection_rule.py +27 -1
- pulumi_oci/loganalytics/get_namespace_rules.py +25 -5
- pulumi_oci/loganalytics/get_namespace_scheduled_tasks.py +18 -1
- pulumi_oci/loganalytics/log_analytics_entity.py +112 -0
- pulumi_oci/loganalytics/log_analytics_object_collection_rule.py +98 -0
- pulumi_oci/loganalytics/outputs.py +271 -4
- {pulumi_oci-1.23.0a1707980719.dist-info → pulumi_oci-1.24.0a1708066165.dist-info}/METADATA +1 -1
- {pulumi_oci-1.23.0a1707980719.dist-info → pulumi_oci-1.24.0a1708066165.dist-info}/RECORD +18 -18
- {pulumi_oci-1.23.0a1707980719.dist-info → pulumi_oci-1.24.0a1708066165.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.23.0a1707980719.dist-info → pulumi_oci-1.24.0a1708066165.dist-info}/top_level.txt +0 -0
@@ -8,6 +8,8 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
11
13
|
|
12
14
|
__all__ = ['LogAnalyticsEntityArgs', 'LogAnalyticsEntity']
|
13
15
|
|
@@ -22,9 +24,11 @@ class LogAnalyticsEntityArgs:
|
|
22
24
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
23
25
|
hostname: Optional[pulumi.Input[str]] = None,
|
24
26
|
management_agent_id: Optional[pulumi.Input[str]] = None,
|
27
|
+
metadata: Optional[pulumi.Input['LogAnalyticsEntityMetadataArgs']] = None,
|
25
28
|
name: Optional[pulumi.Input[str]] = None,
|
26
29
|
properties: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
27
30
|
source_id: Optional[pulumi.Input[str]] = None,
|
31
|
+
time_last_discovered: Optional[pulumi.Input[str]] = None,
|
28
32
|
timezone_region: Optional[pulumi.Input[str]] = None):
|
29
33
|
"""
|
30
34
|
The set of arguments for constructing a LogAnalyticsEntity resource.
|
@@ -36,9 +40,11 @@ class LogAnalyticsEntityArgs:
|
|
36
40
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
37
41
|
:param pulumi.Input[str] hostname: (Updatable) The hostname where the entity represented here is actually present. This would be the output one would get if they run `echo $HOSTNAME` on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
|
38
42
|
:param pulumi.Input[str] management_agent_id: (Updatable) The OCID of the Management Agent.
|
43
|
+
:param pulumi.Input['LogAnalyticsEntityMetadataArgs'] metadata: (Updatable) Details of Entity Metadata.
|
39
44
|
:param pulumi.Input[str] name: (Updatable) Log analytics entity name.
|
40
45
|
:param pulumi.Input[Mapping[str, Any]] properties: (Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.
|
41
46
|
:param pulumi.Input[str] source_id: This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
|
47
|
+
:param pulumi.Input[str] time_last_discovered: (Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
|
42
48
|
:param pulumi.Input[str] timezone_region: (Updatable) The timezone region of the log analytics entity.
|
43
49
|
|
44
50
|
|
@@ -58,12 +64,16 @@ class LogAnalyticsEntityArgs:
|
|
58
64
|
pulumi.set(__self__, "hostname", hostname)
|
59
65
|
if management_agent_id is not None:
|
60
66
|
pulumi.set(__self__, "management_agent_id", management_agent_id)
|
67
|
+
if metadata is not None:
|
68
|
+
pulumi.set(__self__, "metadata", metadata)
|
61
69
|
if name is not None:
|
62
70
|
pulumi.set(__self__, "name", name)
|
63
71
|
if properties is not None:
|
64
72
|
pulumi.set(__self__, "properties", properties)
|
65
73
|
if source_id is not None:
|
66
74
|
pulumi.set(__self__, "source_id", source_id)
|
75
|
+
if time_last_discovered is not None:
|
76
|
+
pulumi.set(__self__, "time_last_discovered", time_last_discovered)
|
67
77
|
if timezone_region is not None:
|
68
78
|
pulumi.set(__self__, "timezone_region", timezone_region)
|
69
79
|
|
@@ -163,6 +173,18 @@ class LogAnalyticsEntityArgs:
|
|
163
173
|
def management_agent_id(self, value: Optional[pulumi.Input[str]]):
|
164
174
|
pulumi.set(self, "management_agent_id", value)
|
165
175
|
|
176
|
+
@property
|
177
|
+
@pulumi.getter
|
178
|
+
def metadata(self) -> Optional[pulumi.Input['LogAnalyticsEntityMetadataArgs']]:
|
179
|
+
"""
|
180
|
+
(Updatable) Details of Entity Metadata.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "metadata")
|
183
|
+
|
184
|
+
@metadata.setter
|
185
|
+
def metadata(self, value: Optional[pulumi.Input['LogAnalyticsEntityMetadataArgs']]):
|
186
|
+
pulumi.set(self, "metadata", value)
|
187
|
+
|
166
188
|
@property
|
167
189
|
@pulumi.getter
|
168
190
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -199,6 +221,18 @@ class LogAnalyticsEntityArgs:
|
|
199
221
|
def source_id(self, value: Optional[pulumi.Input[str]]):
|
200
222
|
pulumi.set(self, "source_id", value)
|
201
223
|
|
224
|
+
@property
|
225
|
+
@pulumi.getter(name="timeLastDiscovered")
|
226
|
+
def time_last_discovered(self) -> Optional[pulumi.Input[str]]:
|
227
|
+
"""
|
228
|
+
(Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "time_last_discovered")
|
231
|
+
|
232
|
+
@time_last_discovered.setter
|
233
|
+
def time_last_discovered(self, value: Optional[pulumi.Input[str]]):
|
234
|
+
pulumi.set(self, "time_last_discovered", value)
|
235
|
+
|
202
236
|
@property
|
203
237
|
@pulumi.getter(name="timezoneRegion")
|
204
238
|
def timezone_region(self) -> Optional[pulumi.Input[str]]:
|
@@ -231,12 +265,14 @@ class _LogAnalyticsEntityState:
|
|
231
265
|
management_agent_compartment_id: Optional[pulumi.Input[str]] = None,
|
232
266
|
management_agent_display_name: Optional[pulumi.Input[str]] = None,
|
233
267
|
management_agent_id: Optional[pulumi.Input[str]] = None,
|
268
|
+
metadata: Optional[pulumi.Input['LogAnalyticsEntityMetadataArgs']] = None,
|
234
269
|
name: Optional[pulumi.Input[str]] = None,
|
235
270
|
namespace: Optional[pulumi.Input[str]] = None,
|
236
271
|
properties: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
237
272
|
source_id: Optional[pulumi.Input[str]] = None,
|
238
273
|
state: Optional[pulumi.Input[str]] = None,
|
239
274
|
time_created: Optional[pulumi.Input[str]] = None,
|
275
|
+
time_last_discovered: Optional[pulumi.Input[str]] = None,
|
240
276
|
time_updated: Optional[pulumi.Input[str]] = None,
|
241
277
|
timezone_region: Optional[pulumi.Input[str]] = None):
|
242
278
|
"""
|
@@ -253,12 +289,14 @@ class _LogAnalyticsEntityState:
|
|
253
289
|
:param pulumi.Input[str] management_agent_compartment_id: Management agent (management-agents resource kind) compartment OCID
|
254
290
|
:param pulumi.Input[str] management_agent_display_name: Management agent (management-agents resource kind) display name
|
255
291
|
:param pulumi.Input[str] management_agent_id: (Updatable) The OCID of the Management Agent.
|
292
|
+
:param pulumi.Input['LogAnalyticsEntityMetadataArgs'] metadata: (Updatable) Details of Entity Metadata.
|
256
293
|
:param pulumi.Input[str] name: (Updatable) Log analytics entity name.
|
257
294
|
:param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request.
|
258
295
|
:param pulumi.Input[Mapping[str, Any]] properties: (Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.
|
259
296
|
:param pulumi.Input[str] source_id: This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
|
260
297
|
:param pulumi.Input[str] state: The current state of the log analytics entity.
|
261
298
|
:param pulumi.Input[str] time_created: The date and time the resource was created, in the format defined by RFC3339.
|
299
|
+
:param pulumi.Input[str] time_last_discovered: (Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
|
262
300
|
:param pulumi.Input[str] time_updated: The date and time the resource was last updated, in the format defined by RFC3339.
|
263
301
|
:param pulumi.Input[str] timezone_region: (Updatable) The timezone region of the log analytics entity.
|
264
302
|
|
@@ -290,6 +328,8 @@ class _LogAnalyticsEntityState:
|
|
290
328
|
pulumi.set(__self__, "management_agent_display_name", management_agent_display_name)
|
291
329
|
if management_agent_id is not None:
|
292
330
|
pulumi.set(__self__, "management_agent_id", management_agent_id)
|
331
|
+
if metadata is not None:
|
332
|
+
pulumi.set(__self__, "metadata", metadata)
|
293
333
|
if name is not None:
|
294
334
|
pulumi.set(__self__, "name", name)
|
295
335
|
if namespace is not None:
|
@@ -302,6 +342,8 @@ class _LogAnalyticsEntityState:
|
|
302
342
|
pulumi.set(__self__, "state", state)
|
303
343
|
if time_created is not None:
|
304
344
|
pulumi.set(__self__, "time_created", time_created)
|
345
|
+
if time_last_discovered is not None:
|
346
|
+
pulumi.set(__self__, "time_last_discovered", time_last_discovered)
|
305
347
|
if time_updated is not None:
|
306
348
|
pulumi.set(__self__, "time_updated", time_updated)
|
307
349
|
if timezone_region is not None:
|
@@ -451,6 +493,18 @@ class _LogAnalyticsEntityState:
|
|
451
493
|
def management_agent_id(self, value: Optional[pulumi.Input[str]]):
|
452
494
|
pulumi.set(self, "management_agent_id", value)
|
453
495
|
|
496
|
+
@property
|
497
|
+
@pulumi.getter
|
498
|
+
def metadata(self) -> Optional[pulumi.Input['LogAnalyticsEntityMetadataArgs']]:
|
499
|
+
"""
|
500
|
+
(Updatable) Details of Entity Metadata.
|
501
|
+
"""
|
502
|
+
return pulumi.get(self, "metadata")
|
503
|
+
|
504
|
+
@metadata.setter
|
505
|
+
def metadata(self, value: Optional[pulumi.Input['LogAnalyticsEntityMetadataArgs']]):
|
506
|
+
pulumi.set(self, "metadata", value)
|
507
|
+
|
454
508
|
@property
|
455
509
|
@pulumi.getter
|
456
510
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -523,6 +577,18 @@ class _LogAnalyticsEntityState:
|
|
523
577
|
def time_created(self, value: Optional[pulumi.Input[str]]):
|
524
578
|
pulumi.set(self, "time_created", value)
|
525
579
|
|
580
|
+
@property
|
581
|
+
@pulumi.getter(name="timeLastDiscovered")
|
582
|
+
def time_last_discovered(self) -> Optional[pulumi.Input[str]]:
|
583
|
+
"""
|
584
|
+
(Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
|
585
|
+
"""
|
586
|
+
return pulumi.get(self, "time_last_discovered")
|
587
|
+
|
588
|
+
@time_last_discovered.setter
|
589
|
+
def time_last_discovered(self, value: Optional[pulumi.Input[str]]):
|
590
|
+
pulumi.set(self, "time_last_discovered", value)
|
591
|
+
|
526
592
|
@property
|
527
593
|
@pulumi.getter(name="timeUpdated")
|
528
594
|
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
@@ -564,10 +630,12 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
564
630
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
565
631
|
hostname: Optional[pulumi.Input[str]] = None,
|
566
632
|
management_agent_id: Optional[pulumi.Input[str]] = None,
|
633
|
+
metadata: Optional[pulumi.Input[pulumi.InputType['LogAnalyticsEntityMetadataArgs']]] = None,
|
567
634
|
name: Optional[pulumi.Input[str]] = None,
|
568
635
|
namespace: Optional[pulumi.Input[str]] = None,
|
569
636
|
properties: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
570
637
|
source_id: Optional[pulumi.Input[str]] = None,
|
638
|
+
time_last_discovered: Optional[pulumi.Input[str]] = None,
|
571
639
|
timezone_region: Optional[pulumi.Input[str]] = None,
|
572
640
|
__props__=None):
|
573
641
|
"""
|
@@ -594,8 +662,16 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
594
662
|
},
|
595
663
|
hostname=var["log_analytics_entity_hostname"],
|
596
664
|
management_agent_id=oci_management_agent_management_agent["test_management_agent"]["id"],
|
665
|
+
metadata=oci.log_analytics.LogAnalyticsEntityMetadataArgs(
|
666
|
+
items=[oci.log_analytics.LogAnalyticsEntityMetadataItemArgs(
|
667
|
+
name=var["log_analytics_entity_metadata_items_name"],
|
668
|
+
type=var["log_analytics_entity_metadata_items_type"],
|
669
|
+
value=var["log_analytics_entity_metadata_items_value"],
|
670
|
+
)],
|
671
|
+
),
|
597
672
|
properties=var["log_analytics_entity_properties"],
|
598
673
|
source_id=oci_log_analytics_source["test_source"]["id"],
|
674
|
+
time_last_discovered=var["log_analytics_entity_time_last_discovered"],
|
599
675
|
timezone_region=var["log_analytics_entity_timezone_region"])
|
600
676
|
```
|
601
677
|
|
@@ -616,10 +692,12 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
616
692
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
617
693
|
:param pulumi.Input[str] hostname: (Updatable) The hostname where the entity represented here is actually present. This would be the output one would get if they run `echo $HOSTNAME` on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
|
618
694
|
:param pulumi.Input[str] management_agent_id: (Updatable) The OCID of the Management Agent.
|
695
|
+
:param pulumi.Input[pulumi.InputType['LogAnalyticsEntityMetadataArgs']] metadata: (Updatable) Details of Entity Metadata.
|
619
696
|
:param pulumi.Input[str] name: (Updatable) Log analytics entity name.
|
620
697
|
:param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request.
|
621
698
|
:param pulumi.Input[Mapping[str, Any]] properties: (Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.
|
622
699
|
:param pulumi.Input[str] source_id: This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
|
700
|
+
:param pulumi.Input[str] time_last_discovered: (Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
|
623
701
|
:param pulumi.Input[str] timezone_region: (Updatable) The timezone region of the log analytics entity.
|
624
702
|
|
625
703
|
|
@@ -656,8 +734,16 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
656
734
|
},
|
657
735
|
hostname=var["log_analytics_entity_hostname"],
|
658
736
|
management_agent_id=oci_management_agent_management_agent["test_management_agent"]["id"],
|
737
|
+
metadata=oci.log_analytics.LogAnalyticsEntityMetadataArgs(
|
738
|
+
items=[oci.log_analytics.LogAnalyticsEntityMetadataItemArgs(
|
739
|
+
name=var["log_analytics_entity_metadata_items_name"],
|
740
|
+
type=var["log_analytics_entity_metadata_items_type"],
|
741
|
+
value=var["log_analytics_entity_metadata_items_value"],
|
742
|
+
)],
|
743
|
+
),
|
659
744
|
properties=var["log_analytics_entity_properties"],
|
660
745
|
source_id=oci_log_analytics_source["test_source"]["id"],
|
746
|
+
time_last_discovered=var["log_analytics_entity_time_last_discovered"],
|
661
747
|
timezone_region=var["log_analytics_entity_timezone_region"])
|
662
748
|
```
|
663
749
|
|
@@ -691,10 +777,12 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
691
777
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
692
778
|
hostname: Optional[pulumi.Input[str]] = None,
|
693
779
|
management_agent_id: Optional[pulumi.Input[str]] = None,
|
780
|
+
metadata: Optional[pulumi.Input[pulumi.InputType['LogAnalyticsEntityMetadataArgs']]] = None,
|
694
781
|
name: Optional[pulumi.Input[str]] = None,
|
695
782
|
namespace: Optional[pulumi.Input[str]] = None,
|
696
783
|
properties: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
697
784
|
source_id: Optional[pulumi.Input[str]] = None,
|
785
|
+
time_last_discovered: Optional[pulumi.Input[str]] = None,
|
698
786
|
timezone_region: Optional[pulumi.Input[str]] = None,
|
699
787
|
__props__=None):
|
700
788
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -716,12 +804,14 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
716
804
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
717
805
|
__props__.__dict__["hostname"] = hostname
|
718
806
|
__props__.__dict__["management_agent_id"] = management_agent_id
|
807
|
+
__props__.__dict__["metadata"] = metadata
|
719
808
|
__props__.__dict__["name"] = name
|
720
809
|
if namespace is None and not opts.urn:
|
721
810
|
raise TypeError("Missing required property 'namespace'")
|
722
811
|
__props__.__dict__["namespace"] = namespace
|
723
812
|
__props__.__dict__["properties"] = properties
|
724
813
|
__props__.__dict__["source_id"] = source_id
|
814
|
+
__props__.__dict__["time_last_discovered"] = time_last_discovered
|
725
815
|
__props__.__dict__["timezone_region"] = timezone_region
|
726
816
|
__props__.__dict__["are_logs_collected"] = None
|
727
817
|
__props__.__dict__["entity_type_internal_name"] = None
|
@@ -753,12 +843,14 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
753
843
|
management_agent_compartment_id: Optional[pulumi.Input[str]] = None,
|
754
844
|
management_agent_display_name: Optional[pulumi.Input[str]] = None,
|
755
845
|
management_agent_id: Optional[pulumi.Input[str]] = None,
|
846
|
+
metadata: Optional[pulumi.Input[pulumi.InputType['LogAnalyticsEntityMetadataArgs']]] = None,
|
756
847
|
name: Optional[pulumi.Input[str]] = None,
|
757
848
|
namespace: Optional[pulumi.Input[str]] = None,
|
758
849
|
properties: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
759
850
|
source_id: Optional[pulumi.Input[str]] = None,
|
760
851
|
state: Optional[pulumi.Input[str]] = None,
|
761
852
|
time_created: Optional[pulumi.Input[str]] = None,
|
853
|
+
time_last_discovered: Optional[pulumi.Input[str]] = None,
|
762
854
|
time_updated: Optional[pulumi.Input[str]] = None,
|
763
855
|
timezone_region: Optional[pulumi.Input[str]] = None) -> 'LogAnalyticsEntity':
|
764
856
|
"""
|
@@ -780,12 +872,14 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
780
872
|
:param pulumi.Input[str] management_agent_compartment_id: Management agent (management-agents resource kind) compartment OCID
|
781
873
|
:param pulumi.Input[str] management_agent_display_name: Management agent (management-agents resource kind) display name
|
782
874
|
:param pulumi.Input[str] management_agent_id: (Updatable) The OCID of the Management Agent.
|
875
|
+
:param pulumi.Input[pulumi.InputType['LogAnalyticsEntityMetadataArgs']] metadata: (Updatable) Details of Entity Metadata.
|
783
876
|
:param pulumi.Input[str] name: (Updatable) Log analytics entity name.
|
784
877
|
:param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request.
|
785
878
|
:param pulumi.Input[Mapping[str, Any]] properties: (Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.
|
786
879
|
:param pulumi.Input[str] source_id: This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
|
787
880
|
:param pulumi.Input[str] state: The current state of the log analytics entity.
|
788
881
|
:param pulumi.Input[str] time_created: The date and time the resource was created, in the format defined by RFC3339.
|
882
|
+
:param pulumi.Input[str] time_last_discovered: (Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
|
789
883
|
:param pulumi.Input[str] time_updated: The date and time the resource was last updated, in the format defined by RFC3339.
|
790
884
|
:param pulumi.Input[str] timezone_region: (Updatable) The timezone region of the log analytics entity.
|
791
885
|
|
@@ -809,12 +903,14 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
809
903
|
__props__.__dict__["management_agent_compartment_id"] = management_agent_compartment_id
|
810
904
|
__props__.__dict__["management_agent_display_name"] = management_agent_display_name
|
811
905
|
__props__.__dict__["management_agent_id"] = management_agent_id
|
906
|
+
__props__.__dict__["metadata"] = metadata
|
812
907
|
__props__.__dict__["name"] = name
|
813
908
|
__props__.__dict__["namespace"] = namespace
|
814
909
|
__props__.__dict__["properties"] = properties
|
815
910
|
__props__.__dict__["source_id"] = source_id
|
816
911
|
__props__.__dict__["state"] = state
|
817
912
|
__props__.__dict__["time_created"] = time_created
|
913
|
+
__props__.__dict__["time_last_discovered"] = time_last_discovered
|
818
914
|
__props__.__dict__["time_updated"] = time_updated
|
819
915
|
__props__.__dict__["timezone_region"] = timezone_region
|
820
916
|
return LogAnalyticsEntity(resource_name, opts=opts, __props__=__props__)
|
@@ -915,6 +1011,14 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
915
1011
|
"""
|
916
1012
|
return pulumi.get(self, "management_agent_id")
|
917
1013
|
|
1014
|
+
@property
|
1015
|
+
@pulumi.getter
|
1016
|
+
def metadata(self) -> pulumi.Output['outputs.LogAnalyticsEntityMetadata']:
|
1017
|
+
"""
|
1018
|
+
(Updatable) Details of Entity Metadata.
|
1019
|
+
"""
|
1020
|
+
return pulumi.get(self, "metadata")
|
1021
|
+
|
918
1022
|
@property
|
919
1023
|
@pulumi.getter
|
920
1024
|
def name(self) -> pulumi.Output[str]:
|
@@ -963,6 +1067,14 @@ class LogAnalyticsEntity(pulumi.CustomResource):
|
|
963
1067
|
"""
|
964
1068
|
return pulumi.get(self, "time_created")
|
965
1069
|
|
1070
|
+
@property
|
1071
|
+
@pulumi.getter(name="timeLastDiscovered")
|
1072
|
+
def time_last_discovered(self) -> pulumi.Output[str]:
|
1073
|
+
"""
|
1074
|
+
(Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
|
1075
|
+
"""
|
1076
|
+
return pulumi.get(self, "time_last_discovered")
|
1077
|
+
|
966
1078
|
@property
|
967
1079
|
@pulumi.getter(name="timeUpdated")
|
968
1080
|
def time_updated(self) -> pulumi.Output[str]:
|
@@ -29,9 +29,11 @@ class LogAnalyticsObjectCollectionRuleArgs:
|
|
29
29
|
entity_id: Optional[pulumi.Input[str]] = None,
|
30
30
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
31
31
|
is_enabled: Optional[pulumi.Input[bool]] = None,
|
32
|
+
is_force_historic_collection: Optional[pulumi.Input[bool]] = None,
|
32
33
|
log_set: Optional[pulumi.Input[str]] = None,
|
33
34
|
log_set_ext_regex: Optional[pulumi.Input[str]] = None,
|
34
35
|
log_set_key: Optional[pulumi.Input[str]] = None,
|
36
|
+
log_type: Optional[pulumi.Input[str]] = None,
|
35
37
|
name: Optional[pulumi.Input[str]] = None,
|
36
38
|
object_name_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
37
39
|
overrides: Optional[pulumi.Input[Sequence[pulumi.Input['LogAnalyticsObjectCollectionRuleOverrideArgs']]]] = None,
|
@@ -53,9 +55,11 @@ class LogAnalyticsObjectCollectionRuleArgs:
|
|
53
55
|
:param pulumi.Input[str] entity_id: (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
|
54
56
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
55
57
|
:param pulumi.Input[bool] is_enabled: (Updatable) Whether or not this rule is currently enabled.
|
58
|
+
:param pulumi.Input[bool] is_force_historic_collection: Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
56
59
|
:param pulumi.Input[str] log_set: (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
|
57
60
|
:param pulumi.Input[str] log_set_ext_regex: (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
|
58
61
|
:param pulumi.Input[str] log_set_key: (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n/<namespace>/b/<bucketname>/o/<objectname>).
|
62
|
+
:param pulumi.Input[str] log_type: Type of files/objects in this object collection rule.
|
59
63
|
:param pulumi.Input[str] name: A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
|
60
64
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_name_filters: (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see [Event Filters](https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/filterevents.htm).
|
61
65
|
:param pulumi.Input[Sequence[pulumi.Input['LogAnalyticsObjectCollectionRuleOverrideArgs']]] overrides: (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
|
@@ -87,12 +91,16 @@ class LogAnalyticsObjectCollectionRuleArgs:
|
|
87
91
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
88
92
|
if is_enabled is not None:
|
89
93
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
94
|
+
if is_force_historic_collection is not None:
|
95
|
+
pulumi.set(__self__, "is_force_historic_collection", is_force_historic_collection)
|
90
96
|
if log_set is not None:
|
91
97
|
pulumi.set(__self__, "log_set", log_set)
|
92
98
|
if log_set_ext_regex is not None:
|
93
99
|
pulumi.set(__self__, "log_set_ext_regex", log_set_ext_regex)
|
94
100
|
if log_set_key is not None:
|
95
101
|
pulumi.set(__self__, "log_set_key", log_set_key)
|
102
|
+
if log_type is not None:
|
103
|
+
pulumi.set(__self__, "log_type", log_type)
|
96
104
|
if name is not None:
|
97
105
|
pulumi.set(__self__, "name", name)
|
98
106
|
if object_name_filters is not None:
|
@@ -262,6 +270,18 @@ class LogAnalyticsObjectCollectionRuleArgs:
|
|
262
270
|
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
|
263
271
|
pulumi.set(self, "is_enabled", value)
|
264
272
|
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="isForceHistoricCollection")
|
275
|
+
def is_force_historic_collection(self) -> Optional[pulumi.Input[bool]]:
|
276
|
+
"""
|
277
|
+
Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "is_force_historic_collection")
|
280
|
+
|
281
|
+
@is_force_historic_collection.setter
|
282
|
+
def is_force_historic_collection(self, value: Optional[pulumi.Input[bool]]):
|
283
|
+
pulumi.set(self, "is_force_historic_collection", value)
|
284
|
+
|
265
285
|
@property
|
266
286
|
@pulumi.getter(name="logSet")
|
267
287
|
def log_set(self) -> Optional[pulumi.Input[str]]:
|
@@ -298,6 +318,18 @@ class LogAnalyticsObjectCollectionRuleArgs:
|
|
298
318
|
def log_set_key(self, value: Optional[pulumi.Input[str]]):
|
299
319
|
pulumi.set(self, "log_set_key", value)
|
300
320
|
|
321
|
+
@property
|
322
|
+
@pulumi.getter(name="logType")
|
323
|
+
def log_type(self) -> Optional[pulumi.Input[str]]:
|
324
|
+
"""
|
325
|
+
Type of files/objects in this object collection rule.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "log_type")
|
328
|
+
|
329
|
+
@log_type.setter
|
330
|
+
def log_type(self, value: Optional[pulumi.Input[str]]):
|
331
|
+
pulumi.set(self, "log_type", value)
|
332
|
+
|
301
333
|
@property
|
302
334
|
@pulumi.getter
|
303
335
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -386,12 +418,14 @@ class _LogAnalyticsObjectCollectionRuleState:
|
|
386
418
|
entity_id: Optional[pulumi.Input[str]] = None,
|
387
419
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
388
420
|
is_enabled: Optional[pulumi.Input[bool]] = None,
|
421
|
+
is_force_historic_collection: Optional[pulumi.Input[bool]] = None,
|
389
422
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
390
423
|
log_group_id: Optional[pulumi.Input[str]] = None,
|
391
424
|
log_set: Optional[pulumi.Input[str]] = None,
|
392
425
|
log_set_ext_regex: Optional[pulumi.Input[str]] = None,
|
393
426
|
log_set_key: Optional[pulumi.Input[str]] = None,
|
394
427
|
log_source_name: Optional[pulumi.Input[str]] = None,
|
428
|
+
log_type: Optional[pulumi.Input[str]] = None,
|
395
429
|
name: Optional[pulumi.Input[str]] = None,
|
396
430
|
namespace: Optional[pulumi.Input[str]] = None,
|
397
431
|
object_name_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -414,12 +448,14 @@ class _LogAnalyticsObjectCollectionRuleState:
|
|
414
448
|
:param pulumi.Input[str] entity_id: (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
|
415
449
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
416
450
|
:param pulumi.Input[bool] is_enabled: (Updatable) Whether or not this rule is currently enabled.
|
451
|
+
:param pulumi.Input[bool] is_force_historic_collection: Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
417
452
|
:param pulumi.Input[str] lifecycle_details: A detailed status of the life cycle state.
|
418
453
|
:param pulumi.Input[str] log_group_id: (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
|
419
454
|
:param pulumi.Input[str] log_set: (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
|
420
455
|
:param pulumi.Input[str] log_set_ext_regex: (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
|
421
456
|
:param pulumi.Input[str] log_set_key: (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n/<namespace>/b/<bucketname>/o/<objectname>).
|
422
457
|
:param pulumi.Input[str] log_source_name: (Updatable) Name of the Logging Analytics Source to use for the processing.
|
458
|
+
:param pulumi.Input[str] log_type: Type of files/objects in this object collection rule.
|
423
459
|
:param pulumi.Input[str] name: A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
|
424
460
|
:param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request.
|
425
461
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_name_filters: (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see [Event Filters](https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/filterevents.htm).
|
@@ -453,6 +489,8 @@ class _LogAnalyticsObjectCollectionRuleState:
|
|
453
489
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
454
490
|
if is_enabled is not None:
|
455
491
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
492
|
+
if is_force_historic_collection is not None:
|
493
|
+
pulumi.set(__self__, "is_force_historic_collection", is_force_historic_collection)
|
456
494
|
if lifecycle_details is not None:
|
457
495
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
458
496
|
if log_group_id is not None:
|
@@ -465,6 +503,8 @@ class _LogAnalyticsObjectCollectionRuleState:
|
|
465
503
|
pulumi.set(__self__, "log_set_key", log_set_key)
|
466
504
|
if log_source_name is not None:
|
467
505
|
pulumi.set(__self__, "log_source_name", log_source_name)
|
506
|
+
if log_type is not None:
|
507
|
+
pulumi.set(__self__, "log_type", log_type)
|
468
508
|
if name is not None:
|
469
509
|
pulumi.set(__self__, "name", name)
|
470
510
|
if namespace is not None:
|
@@ -586,6 +626,18 @@ class _LogAnalyticsObjectCollectionRuleState:
|
|
586
626
|
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
|
587
627
|
pulumi.set(self, "is_enabled", value)
|
588
628
|
|
629
|
+
@property
|
630
|
+
@pulumi.getter(name="isForceHistoricCollection")
|
631
|
+
def is_force_historic_collection(self) -> Optional[pulumi.Input[bool]]:
|
632
|
+
"""
|
633
|
+
Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
634
|
+
"""
|
635
|
+
return pulumi.get(self, "is_force_historic_collection")
|
636
|
+
|
637
|
+
@is_force_historic_collection.setter
|
638
|
+
def is_force_historic_collection(self, value: Optional[pulumi.Input[bool]]):
|
639
|
+
pulumi.set(self, "is_force_historic_collection", value)
|
640
|
+
|
589
641
|
@property
|
590
642
|
@pulumi.getter(name="lifecycleDetails")
|
591
643
|
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
@@ -658,6 +710,18 @@ class _LogAnalyticsObjectCollectionRuleState:
|
|
658
710
|
def log_source_name(self, value: Optional[pulumi.Input[str]]):
|
659
711
|
pulumi.set(self, "log_source_name", value)
|
660
712
|
|
713
|
+
@property
|
714
|
+
@pulumi.getter(name="logType")
|
715
|
+
def log_type(self) -> Optional[pulumi.Input[str]]:
|
716
|
+
"""
|
717
|
+
Type of files/objects in this object collection rule.
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "log_type")
|
720
|
+
|
721
|
+
@log_type.setter
|
722
|
+
def log_type(self, value: Optional[pulumi.Input[str]]):
|
723
|
+
pulumi.set(self, "log_type", value)
|
724
|
+
|
661
725
|
@property
|
662
726
|
@pulumi.getter
|
663
727
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -820,11 +884,13 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
820
884
|
entity_id: Optional[pulumi.Input[str]] = None,
|
821
885
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
822
886
|
is_enabled: Optional[pulumi.Input[bool]] = None,
|
887
|
+
is_force_historic_collection: Optional[pulumi.Input[bool]] = None,
|
823
888
|
log_group_id: Optional[pulumi.Input[str]] = None,
|
824
889
|
log_set: Optional[pulumi.Input[str]] = None,
|
825
890
|
log_set_ext_regex: Optional[pulumi.Input[str]] = None,
|
826
891
|
log_set_key: Optional[pulumi.Input[str]] = None,
|
827
892
|
log_source_name: Optional[pulumi.Input[str]] = None,
|
893
|
+
log_type: Optional[pulumi.Input[str]] = None,
|
828
894
|
name: Optional[pulumi.Input[str]] = None,
|
829
895
|
namespace: Optional[pulumi.Input[str]] = None,
|
830
896
|
object_name_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -864,9 +930,11 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
864
930
|
"bar-key": "value",
|
865
931
|
},
|
866
932
|
is_enabled=var["log_analytics_object_collection_rule_is_enabled"],
|
933
|
+
is_force_historic_collection=var["log_analytics_object_collection_rule_is_force_historic_collection"],
|
867
934
|
log_set=var["log_analytics_object_collection_rule_log_set"],
|
868
935
|
log_set_ext_regex=var["log_analytics_object_collection_rule_log_set_ext_regex"],
|
869
936
|
log_set_key=var["log_analytics_object_collection_rule_log_set_key"],
|
937
|
+
log_type=var["log_analytics_object_collection_rule_log_type"],
|
870
938
|
object_name_filters=var["log_analytics_object_collection_rule_object_name_filters"],
|
871
939
|
overrides=var["log_analytics_object_collection_rule_overrides"],
|
872
940
|
poll_since=var["log_analytics_object_collection_rule_poll_since"],
|
@@ -892,11 +960,13 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
892
960
|
:param pulumi.Input[str] entity_id: (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
|
893
961
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
894
962
|
:param pulumi.Input[bool] is_enabled: (Updatable) Whether or not this rule is currently enabled.
|
963
|
+
:param pulumi.Input[bool] is_force_historic_collection: Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
895
964
|
:param pulumi.Input[str] log_group_id: (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
|
896
965
|
:param pulumi.Input[str] log_set: (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
|
897
966
|
:param pulumi.Input[str] log_set_ext_regex: (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
|
898
967
|
:param pulumi.Input[str] log_set_key: (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n/<namespace>/b/<bucketname>/o/<objectname>).
|
899
968
|
:param pulumi.Input[str] log_source_name: (Updatable) Name of the Logging Analytics Source to use for the processing.
|
969
|
+
:param pulumi.Input[str] log_type: Type of files/objects in this object collection rule.
|
900
970
|
:param pulumi.Input[str] name: A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
|
901
971
|
:param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request.
|
902
972
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_name_filters: (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see [Event Filters](https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/filterevents.htm).
|
@@ -946,9 +1016,11 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
946
1016
|
"bar-key": "value",
|
947
1017
|
},
|
948
1018
|
is_enabled=var["log_analytics_object_collection_rule_is_enabled"],
|
1019
|
+
is_force_historic_collection=var["log_analytics_object_collection_rule_is_force_historic_collection"],
|
949
1020
|
log_set=var["log_analytics_object_collection_rule_log_set"],
|
950
1021
|
log_set_ext_regex=var["log_analytics_object_collection_rule_log_set_ext_regex"],
|
951
1022
|
log_set_key=var["log_analytics_object_collection_rule_log_set_key"],
|
1023
|
+
log_type=var["log_analytics_object_collection_rule_log_type"],
|
952
1024
|
object_name_filters=var["log_analytics_object_collection_rule_object_name_filters"],
|
953
1025
|
overrides=var["log_analytics_object_collection_rule_overrides"],
|
954
1026
|
poll_since=var["log_analytics_object_collection_rule_poll_since"],
|
@@ -987,11 +1059,13 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
987
1059
|
entity_id: Optional[pulumi.Input[str]] = None,
|
988
1060
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
989
1061
|
is_enabled: Optional[pulumi.Input[bool]] = None,
|
1062
|
+
is_force_historic_collection: Optional[pulumi.Input[bool]] = None,
|
990
1063
|
log_group_id: Optional[pulumi.Input[str]] = None,
|
991
1064
|
log_set: Optional[pulumi.Input[str]] = None,
|
992
1065
|
log_set_ext_regex: Optional[pulumi.Input[str]] = None,
|
993
1066
|
log_set_key: Optional[pulumi.Input[str]] = None,
|
994
1067
|
log_source_name: Optional[pulumi.Input[str]] = None,
|
1068
|
+
log_type: Optional[pulumi.Input[str]] = None,
|
995
1069
|
name: Optional[pulumi.Input[str]] = None,
|
996
1070
|
namespace: Optional[pulumi.Input[str]] = None,
|
997
1071
|
object_name_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -1020,6 +1094,7 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
1020
1094
|
__props__.__dict__["entity_id"] = entity_id
|
1021
1095
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
1022
1096
|
__props__.__dict__["is_enabled"] = is_enabled
|
1097
|
+
__props__.__dict__["is_force_historic_collection"] = is_force_historic_collection
|
1023
1098
|
if log_group_id is None and not opts.urn:
|
1024
1099
|
raise TypeError("Missing required property 'log_group_id'")
|
1025
1100
|
__props__.__dict__["log_group_id"] = log_group_id
|
@@ -1029,6 +1104,7 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
1029
1104
|
if log_source_name is None and not opts.urn:
|
1030
1105
|
raise TypeError("Missing required property 'log_source_name'")
|
1031
1106
|
__props__.__dict__["log_source_name"] = log_source_name
|
1107
|
+
__props__.__dict__["log_type"] = log_type
|
1032
1108
|
__props__.__dict__["name"] = name
|
1033
1109
|
if namespace is None and not opts.urn:
|
1034
1110
|
raise TypeError("Missing required property 'namespace'")
|
@@ -1066,12 +1142,14 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
1066
1142
|
entity_id: Optional[pulumi.Input[str]] = None,
|
1067
1143
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1068
1144
|
is_enabled: Optional[pulumi.Input[bool]] = None,
|
1145
|
+
is_force_historic_collection: Optional[pulumi.Input[bool]] = None,
|
1069
1146
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
1070
1147
|
log_group_id: Optional[pulumi.Input[str]] = None,
|
1071
1148
|
log_set: Optional[pulumi.Input[str]] = None,
|
1072
1149
|
log_set_ext_regex: Optional[pulumi.Input[str]] = None,
|
1073
1150
|
log_set_key: Optional[pulumi.Input[str]] = None,
|
1074
1151
|
log_source_name: Optional[pulumi.Input[str]] = None,
|
1152
|
+
log_type: Optional[pulumi.Input[str]] = None,
|
1075
1153
|
name: Optional[pulumi.Input[str]] = None,
|
1076
1154
|
namespace: Optional[pulumi.Input[str]] = None,
|
1077
1155
|
object_name_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -1099,12 +1177,14 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
1099
1177
|
:param pulumi.Input[str] entity_id: (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
|
1100
1178
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
1101
1179
|
:param pulumi.Input[bool] is_enabled: (Updatable) Whether or not this rule is currently enabled.
|
1180
|
+
:param pulumi.Input[bool] is_force_historic_collection: Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
1102
1181
|
:param pulumi.Input[str] lifecycle_details: A detailed status of the life cycle state.
|
1103
1182
|
:param pulumi.Input[str] log_group_id: (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
|
1104
1183
|
:param pulumi.Input[str] log_set: (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
|
1105
1184
|
:param pulumi.Input[str] log_set_ext_regex: (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
|
1106
1185
|
:param pulumi.Input[str] log_set_key: (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n/<namespace>/b/<bucketname>/o/<objectname>).
|
1107
1186
|
:param pulumi.Input[str] log_source_name: (Updatable) Name of the Logging Analytics Source to use for the processing.
|
1187
|
+
:param pulumi.Input[str] log_type: Type of files/objects in this object collection rule.
|
1108
1188
|
:param pulumi.Input[str] name: A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
|
1109
1189
|
:param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request.
|
1110
1190
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_name_filters: (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see [Event Filters](https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/filterevents.htm).
|
@@ -1134,12 +1214,14 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
1134
1214
|
__props__.__dict__["entity_id"] = entity_id
|
1135
1215
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
1136
1216
|
__props__.__dict__["is_enabled"] = is_enabled
|
1217
|
+
__props__.__dict__["is_force_historic_collection"] = is_force_historic_collection
|
1137
1218
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
1138
1219
|
__props__.__dict__["log_group_id"] = log_group_id
|
1139
1220
|
__props__.__dict__["log_set"] = log_set
|
1140
1221
|
__props__.__dict__["log_set_ext_regex"] = log_set_ext_regex
|
1141
1222
|
__props__.__dict__["log_set_key"] = log_set_key
|
1142
1223
|
__props__.__dict__["log_source_name"] = log_source_name
|
1224
|
+
__props__.__dict__["log_type"] = log_type
|
1143
1225
|
__props__.__dict__["name"] = name
|
1144
1226
|
__props__.__dict__["namespace"] = namespace
|
1145
1227
|
__props__.__dict__["object_name_filters"] = object_name_filters
|
@@ -1218,6 +1300,14 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
1218
1300
|
"""
|
1219
1301
|
return pulumi.get(self, "is_enabled")
|
1220
1302
|
|
1303
|
+
@property
|
1304
|
+
@pulumi.getter(name="isForceHistoricCollection")
|
1305
|
+
def is_force_historic_collection(self) -> pulumi.Output[bool]:
|
1306
|
+
"""
|
1307
|
+
Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
1308
|
+
"""
|
1309
|
+
return pulumi.get(self, "is_force_historic_collection")
|
1310
|
+
|
1221
1311
|
@property
|
1222
1312
|
@pulumi.getter(name="lifecycleDetails")
|
1223
1313
|
def lifecycle_details(self) -> pulumi.Output[str]:
|
@@ -1266,6 +1356,14 @@ class LogAnalyticsObjectCollectionRule(pulumi.CustomResource):
|
|
1266
1356
|
"""
|
1267
1357
|
return pulumi.get(self, "log_source_name")
|
1268
1358
|
|
1359
|
+
@property
|
1360
|
+
@pulumi.getter(name="logType")
|
1361
|
+
def log_type(self) -> pulumi.Output[str]:
|
1362
|
+
"""
|
1363
|
+
Type of files/objects in this object collection rule.
|
1364
|
+
"""
|
1365
|
+
return pulumi.get(self, "log_type")
|
1366
|
+
|
1269
1367
|
@property
|
1270
1368
|
@pulumi.getter
|
1271
1369
|
def name(self) -> pulumi.Output[str]:
|