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
@@ -23,7 +23,7 @@ class GetLogAnalyticsEntitiesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getLogAnalyticsEntities.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, cloud_resource_id=None, compartment_id=None, entity_type_names=None, filters=None, hostname=None, hostname_contains=None, id=None, is_management_agent_id_null=None, lifecycle_details_contains=None, log_analytics_entity_collections=None, name=None, name_contains=None, namespace=None, source_id=None, state=None):
|
26
|
+
def __init__(__self__, cloud_resource_id=None, compartment_id=None, entity_type_names=None, filters=None, hostname=None, hostname_contains=None, id=None, is_management_agent_id_null=None, lifecycle_details_contains=None, log_analytics_entity_collections=None, metadata_equals=None, name=None, name_contains=None, namespace=None, source_id=None, state=None):
|
27
27
|
if cloud_resource_id and not isinstance(cloud_resource_id, str):
|
28
28
|
raise TypeError("Expected argument 'cloud_resource_id' to be a str")
|
29
29
|
pulumi.set(__self__, "cloud_resource_id", cloud_resource_id)
|
@@ -54,6 +54,9 @@ class GetLogAnalyticsEntitiesResult:
|
|
54
54
|
if log_analytics_entity_collections and not isinstance(log_analytics_entity_collections, list):
|
55
55
|
raise TypeError("Expected argument 'log_analytics_entity_collections' to be a list")
|
56
56
|
pulumi.set(__self__, "log_analytics_entity_collections", log_analytics_entity_collections)
|
57
|
+
if metadata_equals and not isinstance(metadata_equals, list):
|
58
|
+
raise TypeError("Expected argument 'metadata_equals' to be a list")
|
59
|
+
pulumi.set(__self__, "metadata_equals", metadata_equals)
|
57
60
|
if name and not isinstance(name, str):
|
58
61
|
raise TypeError("Expected argument 'name' to be a str")
|
59
62
|
pulumi.set(__self__, "name", name)
|
@@ -138,6 +141,11 @@ class GetLogAnalyticsEntitiesResult:
|
|
138
141
|
"""
|
139
142
|
return pulumi.get(self, "log_analytics_entity_collections")
|
140
143
|
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="metadataEquals")
|
146
|
+
def metadata_equals(self) -> Optional[Sequence[str]]:
|
147
|
+
return pulumi.get(self, "metadata_equals")
|
148
|
+
|
141
149
|
@property
|
142
150
|
@pulumi.getter
|
143
151
|
def name(self) -> Optional[str]:
|
@@ -189,6 +197,7 @@ class AwaitableGetLogAnalyticsEntitiesResult(GetLogAnalyticsEntitiesResult):
|
|
189
197
|
is_management_agent_id_null=self.is_management_agent_id_null,
|
190
198
|
lifecycle_details_contains=self.lifecycle_details_contains,
|
191
199
|
log_analytics_entity_collections=self.log_analytics_entity_collections,
|
200
|
+
metadata_equals=self.metadata_equals,
|
192
201
|
name=self.name,
|
193
202
|
name_contains=self.name_contains,
|
194
203
|
namespace=self.namespace,
|
@@ -204,6 +213,7 @@ def get_log_analytics_entities(cloud_resource_id: Optional[str] = None,
|
|
204
213
|
hostname_contains: Optional[str] = None,
|
205
214
|
is_management_agent_id_null: Optional[str] = None,
|
206
215
|
lifecycle_details_contains: Optional[str] = None,
|
216
|
+
metadata_equals: Optional[Sequence[str]] = None,
|
207
217
|
name: Optional[str] = None,
|
208
218
|
name_contains: Optional[str] = None,
|
209
219
|
namespace: Optional[str] = None,
|
@@ -229,6 +239,7 @@ def get_log_analytics_entities(cloud_resource_id: Optional[str] = None,
|
|
229
239
|
hostname_contains=var["log_analytics_entity_hostname_contains"],
|
230
240
|
is_management_agent_id_null=var["log_analytics_entity_is_management_agent_id_null"],
|
231
241
|
lifecycle_details_contains=var["log_analytics_entity_lifecycle_details_contains"],
|
242
|
+
metadata_equals=var["log_analytics_entity_metadata_equals"],
|
232
243
|
name=var["log_analytics_entity_name"],
|
233
244
|
name_contains=var["log_analytics_entity_name_contains"],
|
234
245
|
source_id=oci_log_analytics_source["test_source"]["id"],
|
@@ -243,6 +254,7 @@ def get_log_analytics_entities(cloud_resource_id: Optional[str] = None,
|
|
243
254
|
:param str hostname_contains: A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
|
244
255
|
:param str is_management_agent_id_null: A filter to return only those log analytics entities whose managementAgentId is null or is not null.
|
245
256
|
:param str lifecycle_details_contains: A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
|
257
|
+
:param Sequence[str] metadata_equals: A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
|
246
258
|
:param str name: A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
|
247
259
|
:param str name_contains: A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
|
248
260
|
:param str namespace: The Logging Analytics namespace used for the request.
|
@@ -258,6 +270,7 @@ def get_log_analytics_entities(cloud_resource_id: Optional[str] = None,
|
|
258
270
|
__args__['hostnameContains'] = hostname_contains
|
259
271
|
__args__['isManagementAgentIdNull'] = is_management_agent_id_null
|
260
272
|
__args__['lifecycleDetailsContains'] = lifecycle_details_contains
|
273
|
+
__args__['metadataEquals'] = metadata_equals
|
261
274
|
__args__['name'] = name
|
262
275
|
__args__['nameContains'] = name_contains
|
263
276
|
__args__['namespace'] = namespace
|
@@ -277,6 +290,7 @@ def get_log_analytics_entities(cloud_resource_id: Optional[str] = None,
|
|
277
290
|
is_management_agent_id_null=pulumi.get(__ret__, 'is_management_agent_id_null'),
|
278
291
|
lifecycle_details_contains=pulumi.get(__ret__, 'lifecycle_details_contains'),
|
279
292
|
log_analytics_entity_collections=pulumi.get(__ret__, 'log_analytics_entity_collections'),
|
293
|
+
metadata_equals=pulumi.get(__ret__, 'metadata_equals'),
|
280
294
|
name=pulumi.get(__ret__, 'name'),
|
281
295
|
name_contains=pulumi.get(__ret__, 'name_contains'),
|
282
296
|
namespace=pulumi.get(__ret__, 'namespace'),
|
@@ -293,6 +307,7 @@ def get_log_analytics_entities_output(cloud_resource_id: Optional[pulumi.Input[O
|
|
293
307
|
hostname_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
294
308
|
is_management_agent_id_null: Optional[pulumi.Input[Optional[str]]] = None,
|
295
309
|
lifecycle_details_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
310
|
+
metadata_equals: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
296
311
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
297
312
|
name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
298
313
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -318,6 +333,7 @@ def get_log_analytics_entities_output(cloud_resource_id: Optional[pulumi.Input[O
|
|
318
333
|
hostname_contains=var["log_analytics_entity_hostname_contains"],
|
319
334
|
is_management_agent_id_null=var["log_analytics_entity_is_management_agent_id_null"],
|
320
335
|
lifecycle_details_contains=var["log_analytics_entity_lifecycle_details_contains"],
|
336
|
+
metadata_equals=var["log_analytics_entity_metadata_equals"],
|
321
337
|
name=var["log_analytics_entity_name"],
|
322
338
|
name_contains=var["log_analytics_entity_name_contains"],
|
323
339
|
source_id=oci_log_analytics_source["test_source"]["id"],
|
@@ -332,6 +348,7 @@ def get_log_analytics_entities_output(cloud_resource_id: Optional[pulumi.Input[O
|
|
332
348
|
:param str hostname_contains: A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
|
333
349
|
:param str is_management_agent_id_null: A filter to return only those log analytics entities whose managementAgentId is null or is not null.
|
334
350
|
:param str lifecycle_details_contains: A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
|
351
|
+
:param Sequence[str] metadata_equals: A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
|
335
352
|
:param str name: A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
|
336
353
|
:param str name_contains: A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
|
337
354
|
:param str namespace: The Logging Analytics namespace used for the request.
|
@@ -8,6 +8,7 @@ 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
|
11
12
|
|
12
13
|
__all__ = [
|
13
14
|
'GetLogAnalyticsEntityResult',
|
@@ -21,7 +22,7 @@ class GetLogAnalyticsEntityResult:
|
|
21
22
|
"""
|
22
23
|
A collection of values returned by getLogAnalyticsEntity.
|
23
24
|
"""
|
24
|
-
def __init__(__self__, are_logs_collected=None, cloud_resource_id=None, compartment_id=None, defined_tags=None, entity_type_internal_name=None, entity_type_name=None, freeform_tags=None, hostname=None, id=None, lifecycle_details=None, log_analytics_entity_id=None, management_agent_compartment_id=None, management_agent_display_name=None, management_agent_id=None, name=None, namespace=None, properties=None, source_id=None, state=None, time_created=None, time_updated=None, timezone_region=None):
|
25
|
+
def __init__(__self__, are_logs_collected=None, cloud_resource_id=None, compartment_id=None, defined_tags=None, entity_type_internal_name=None, entity_type_name=None, freeform_tags=None, hostname=None, id=None, lifecycle_details=None, log_analytics_entity_id=None, management_agent_compartment_id=None, management_agent_display_name=None, management_agent_id=None, metadatas=None, name=None, namespace=None, properties=None, source_id=None, state=None, time_created=None, time_last_discovered=None, time_updated=None, timezone_region=None):
|
25
26
|
if are_logs_collected and not isinstance(are_logs_collected, bool):
|
26
27
|
raise TypeError("Expected argument 'are_logs_collected' to be a bool")
|
27
28
|
pulumi.set(__self__, "are_logs_collected", are_logs_collected)
|
@@ -64,6 +65,9 @@ class GetLogAnalyticsEntityResult:
|
|
64
65
|
if management_agent_id and not isinstance(management_agent_id, str):
|
65
66
|
raise TypeError("Expected argument 'management_agent_id' to be a str")
|
66
67
|
pulumi.set(__self__, "management_agent_id", management_agent_id)
|
68
|
+
if metadatas and not isinstance(metadatas, list):
|
69
|
+
raise TypeError("Expected argument 'metadatas' to be a list")
|
70
|
+
pulumi.set(__self__, "metadatas", metadatas)
|
67
71
|
if name and not isinstance(name, str):
|
68
72
|
raise TypeError("Expected argument 'name' to be a str")
|
69
73
|
pulumi.set(__self__, "name", name)
|
@@ -82,6 +86,9 @@ class GetLogAnalyticsEntityResult:
|
|
82
86
|
if time_created and not isinstance(time_created, str):
|
83
87
|
raise TypeError("Expected argument 'time_created' to be a str")
|
84
88
|
pulumi.set(__self__, "time_created", time_created)
|
89
|
+
if time_last_discovered and not isinstance(time_last_discovered, str):
|
90
|
+
raise TypeError("Expected argument 'time_last_discovered' to be a str")
|
91
|
+
pulumi.set(__self__, "time_last_discovered", time_last_discovered)
|
85
92
|
if time_updated and not isinstance(time_updated, str):
|
86
93
|
raise TypeError("Expected argument 'time_updated' to be a str")
|
87
94
|
pulumi.set(__self__, "time_updated", time_updated)
|
@@ -198,6 +205,14 @@ class GetLogAnalyticsEntityResult:
|
|
198
205
|
"""
|
199
206
|
return pulumi.get(self, "management_agent_id")
|
200
207
|
|
208
|
+
@property
|
209
|
+
@pulumi.getter
|
210
|
+
def metadatas(self) -> Sequence['outputs.GetLogAnalyticsEntityMetadataResult']:
|
211
|
+
"""
|
212
|
+
Details of entity metadata information.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "metadatas")
|
215
|
+
|
201
216
|
@property
|
202
217
|
@pulumi.getter
|
203
218
|
def name(self) -> str:
|
@@ -243,6 +258,14 @@ class GetLogAnalyticsEntityResult:
|
|
243
258
|
"""
|
244
259
|
return pulumi.get(self, "time_created")
|
245
260
|
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="timeLastDiscovered")
|
263
|
+
def time_last_discovered(self) -> str:
|
264
|
+
"""
|
265
|
+
The date and time the resource was last discovered, in the format defined by RFC3339.
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "time_last_discovered")
|
268
|
+
|
246
269
|
@property
|
247
270
|
@pulumi.getter(name="timeUpdated")
|
248
271
|
def time_updated(self) -> str:
|
@@ -280,12 +303,14 @@ class AwaitableGetLogAnalyticsEntityResult(GetLogAnalyticsEntityResult):
|
|
280
303
|
management_agent_compartment_id=self.management_agent_compartment_id,
|
281
304
|
management_agent_display_name=self.management_agent_display_name,
|
282
305
|
management_agent_id=self.management_agent_id,
|
306
|
+
metadatas=self.metadatas,
|
283
307
|
name=self.name,
|
284
308
|
namespace=self.namespace,
|
285
309
|
properties=self.properties,
|
286
310
|
source_id=self.source_id,
|
287
311
|
state=self.state,
|
288
312
|
time_created=self.time_created,
|
313
|
+
time_last_discovered=self.time_last_discovered,
|
289
314
|
time_updated=self.time_updated,
|
290
315
|
timezone_region=self.timezone_region)
|
291
316
|
|
@@ -333,12 +358,14 @@ def get_log_analytics_entity(log_analytics_entity_id: Optional[str] = None,
|
|
333
358
|
management_agent_compartment_id=pulumi.get(__ret__, 'management_agent_compartment_id'),
|
334
359
|
management_agent_display_name=pulumi.get(__ret__, 'management_agent_display_name'),
|
335
360
|
management_agent_id=pulumi.get(__ret__, 'management_agent_id'),
|
361
|
+
metadatas=pulumi.get(__ret__, 'metadatas'),
|
336
362
|
name=pulumi.get(__ret__, 'name'),
|
337
363
|
namespace=pulumi.get(__ret__, 'namespace'),
|
338
364
|
properties=pulumi.get(__ret__, 'properties'),
|
339
365
|
source_id=pulumi.get(__ret__, 'source_id'),
|
340
366
|
state=pulumi.get(__ret__, 'state'),
|
341
367
|
time_created=pulumi.get(__ret__, 'time_created'),
|
368
|
+
time_last_discovered=pulumi.get(__ret__, 'time_last_discovered'),
|
342
369
|
time_updated=pulumi.get(__ret__, 'time_updated'),
|
343
370
|
timezone_region=pulumi.get(__ret__, 'timezone_region'))
|
344
371
|
|
@@ -22,7 +22,7 @@ class GetLogAnalyticsEntityTopologyResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getLogAnalyticsEntityTopology.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, id=None, items=None, log_analytics_entity_id=None, namespace=None, state=None):
|
25
|
+
def __init__(__self__, id=None, items=None, log_analytics_entity_id=None, metadata_equals=None, namespace=None, state=None):
|
26
26
|
if id and not isinstance(id, str):
|
27
27
|
raise TypeError("Expected argument 'id' to be a str")
|
28
28
|
pulumi.set(__self__, "id", id)
|
@@ -32,6 +32,9 @@ class GetLogAnalyticsEntityTopologyResult:
|
|
32
32
|
if log_analytics_entity_id and not isinstance(log_analytics_entity_id, str):
|
33
33
|
raise TypeError("Expected argument 'log_analytics_entity_id' to be a str")
|
34
34
|
pulumi.set(__self__, "log_analytics_entity_id", log_analytics_entity_id)
|
35
|
+
if metadata_equals and not isinstance(metadata_equals, list):
|
36
|
+
raise TypeError("Expected argument 'metadata_equals' to be a list")
|
37
|
+
pulumi.set(__self__, "metadata_equals", metadata_equals)
|
35
38
|
if namespace and not isinstance(namespace, str):
|
36
39
|
raise TypeError("Expected argument 'namespace' to be a str")
|
37
40
|
pulumi.set(__self__, "namespace", namespace)
|
@@ -51,7 +54,7 @@ class GetLogAnalyticsEntityTopologyResult:
|
|
51
54
|
@pulumi.getter
|
52
55
|
def items(self) -> Sequence['outputs.GetLogAnalyticsEntityTopologyItemResult']:
|
53
56
|
"""
|
54
|
-
|
57
|
+
An array of entity metadata.
|
55
58
|
"""
|
56
59
|
return pulumi.get(self, "items")
|
57
60
|
|
@@ -60,6 +63,11 @@ class GetLogAnalyticsEntityTopologyResult:
|
|
60
63
|
def log_analytics_entity_id(self) -> str:
|
61
64
|
return pulumi.get(self, "log_analytics_entity_id")
|
62
65
|
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="metadataEquals")
|
68
|
+
def metadata_equals(self) -> Optional[Sequence[str]]:
|
69
|
+
return pulumi.get(self, "metadata_equals")
|
70
|
+
|
63
71
|
@property
|
64
72
|
@pulumi.getter
|
65
73
|
def namespace(self) -> str:
|
@@ -83,11 +91,13 @@ class AwaitableGetLogAnalyticsEntityTopologyResult(GetLogAnalyticsEntityTopology
|
|
83
91
|
id=self.id,
|
84
92
|
items=self.items,
|
85
93
|
log_analytics_entity_id=self.log_analytics_entity_id,
|
94
|
+
metadata_equals=self.metadata_equals,
|
86
95
|
namespace=self.namespace,
|
87
96
|
state=self.state)
|
88
97
|
|
89
98
|
|
90
99
|
def get_log_analytics_entity_topology(log_analytics_entity_id: Optional[str] = None,
|
100
|
+
metadata_equals: Optional[Sequence[str]] = None,
|
91
101
|
namespace: Optional[str] = None,
|
92
102
|
state: Optional[str] = None,
|
93
103
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogAnalyticsEntityTopologyResult:
|
@@ -104,16 +114,19 @@ def get_log_analytics_entity_topology(log_analytics_entity_id: Optional[str] = N
|
|
104
114
|
|
105
115
|
test_log_analytics_entity_topology = oci.LogAnalytics.get_log_analytics_entity_topology(log_analytics_entity_id=oci_log_analytics_log_analytics_entity["test_log_analytics_entity"]["id"],
|
106
116
|
namespace=var["log_analytics_entity_topology_namespace"],
|
117
|
+
metadata_equals=var["log_analytics_entity_topology_metadata_equals"],
|
107
118
|
state=var["log_analytics_entity_topology_state"])
|
108
119
|
```
|
109
120
|
|
110
121
|
|
111
122
|
:param str log_analytics_entity_id: The log analytics entity OCID.
|
123
|
+
:param Sequence[str] metadata_equals: A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
|
112
124
|
:param str namespace: The Logging Analytics namespace used for the request.
|
113
125
|
:param str state: A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
|
114
126
|
"""
|
115
127
|
__args__ = dict()
|
116
128
|
__args__['logAnalyticsEntityId'] = log_analytics_entity_id
|
129
|
+
__args__['metadataEquals'] = metadata_equals
|
117
130
|
__args__['namespace'] = namespace
|
118
131
|
__args__['state'] = state
|
119
132
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -123,12 +136,14 @@ def get_log_analytics_entity_topology(log_analytics_entity_id: Optional[str] = N
|
|
123
136
|
id=pulumi.get(__ret__, 'id'),
|
124
137
|
items=pulumi.get(__ret__, 'items'),
|
125
138
|
log_analytics_entity_id=pulumi.get(__ret__, 'log_analytics_entity_id'),
|
139
|
+
metadata_equals=pulumi.get(__ret__, 'metadata_equals'),
|
126
140
|
namespace=pulumi.get(__ret__, 'namespace'),
|
127
141
|
state=pulumi.get(__ret__, 'state'))
|
128
142
|
|
129
143
|
|
130
144
|
@_utilities.lift_output_func(get_log_analytics_entity_topology)
|
131
145
|
def get_log_analytics_entity_topology_output(log_analytics_entity_id: Optional[pulumi.Input[str]] = None,
|
146
|
+
metadata_equals: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
132
147
|
namespace: Optional[pulumi.Input[str]] = None,
|
133
148
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
134
149
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogAnalyticsEntityTopologyResult]:
|
@@ -145,11 +160,13 @@ def get_log_analytics_entity_topology_output(log_analytics_entity_id: Optional[p
|
|
145
160
|
|
146
161
|
test_log_analytics_entity_topology = oci.LogAnalytics.get_log_analytics_entity_topology(log_analytics_entity_id=oci_log_analytics_log_analytics_entity["test_log_analytics_entity"]["id"],
|
147
162
|
namespace=var["log_analytics_entity_topology_namespace"],
|
163
|
+
metadata_equals=var["log_analytics_entity_topology_metadata_equals"],
|
148
164
|
state=var["log_analytics_entity_topology_state"])
|
149
165
|
```
|
150
166
|
|
151
167
|
|
152
168
|
:param str log_analytics_entity_id: The log analytics entity OCID.
|
169
|
+
:param Sequence[str] metadata_equals: A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
|
153
170
|
:param str namespace: The Logging Analytics namespace used for the request.
|
154
171
|
:param str state: A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
|
155
172
|
"""
|
@@ -22,7 +22,7 @@ class GetLogAnalyticsObjectCollectionRuleResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getLogAnalyticsObjectCollectionRule.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, char_encoding=None, collection_type=None, compartment_id=None, defined_tags=None, description=None, entity_id=None, freeform_tags=None, id=None, is_enabled=None, lifecycle_details=None, log_analytics_object_collection_rule_id=None, log_group_id=None, log_set=None, log_set_ext_regex=None, log_set_key=None, log_source_name=None, name=None, namespace=None, object_name_filters=None, os_bucket_name=None, os_namespace=None, overrides=None, poll_since=None, poll_till=None, state=None, time_created=None, time_updated=None, timezone=None):
|
25
|
+
def __init__(__self__, char_encoding=None, collection_type=None, compartment_id=None, defined_tags=None, description=None, entity_id=None, freeform_tags=None, id=None, is_enabled=None, is_force_historic_collection=None, lifecycle_details=None, log_analytics_object_collection_rule_id=None, log_group_id=None, log_set=None, log_set_ext_regex=None, log_set_key=None, log_source_name=None, log_type=None, name=None, namespace=None, object_name_filters=None, os_bucket_name=None, os_namespace=None, overrides=None, poll_since=None, poll_till=None, state=None, time_created=None, time_updated=None, timezone=None):
|
26
26
|
if char_encoding and not isinstance(char_encoding, str):
|
27
27
|
raise TypeError("Expected argument 'char_encoding' to be a str")
|
28
28
|
pulumi.set(__self__, "char_encoding", char_encoding)
|
@@ -50,6 +50,9 @@ class GetLogAnalyticsObjectCollectionRuleResult:
|
|
50
50
|
if is_enabled and not isinstance(is_enabled, bool):
|
51
51
|
raise TypeError("Expected argument 'is_enabled' to be a bool")
|
52
52
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
53
|
+
if is_force_historic_collection and not isinstance(is_force_historic_collection, bool):
|
54
|
+
raise TypeError("Expected argument 'is_force_historic_collection' to be a bool")
|
55
|
+
pulumi.set(__self__, "is_force_historic_collection", is_force_historic_collection)
|
53
56
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
54
57
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
55
58
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
@@ -71,6 +74,9 @@ class GetLogAnalyticsObjectCollectionRuleResult:
|
|
71
74
|
if log_source_name and not isinstance(log_source_name, str):
|
72
75
|
raise TypeError("Expected argument 'log_source_name' to be a str")
|
73
76
|
pulumi.set(__self__, "log_source_name", log_source_name)
|
77
|
+
if log_type and not isinstance(log_type, str):
|
78
|
+
raise TypeError("Expected argument 'log_type' to be a str")
|
79
|
+
pulumi.set(__self__, "log_type", log_type)
|
74
80
|
if name and not isinstance(name, str):
|
75
81
|
raise TypeError("Expected argument 'name' to be a str")
|
76
82
|
pulumi.set(__self__, "name", name)
|
@@ -180,6 +186,14 @@ class GetLogAnalyticsObjectCollectionRuleResult:
|
|
180
186
|
"""
|
181
187
|
return pulumi.get(self, "is_enabled")
|
182
188
|
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="isForceHistoricCollection")
|
191
|
+
def is_force_historic_collection(self) -> bool:
|
192
|
+
"""
|
193
|
+
Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "is_force_historic_collection")
|
196
|
+
|
183
197
|
@property
|
184
198
|
@pulumi.getter(name="lifecycleDetails")
|
185
199
|
def lifecycle_details(self) -> str:
|
@@ -233,6 +247,14 @@ class GetLogAnalyticsObjectCollectionRuleResult:
|
|
233
247
|
"""
|
234
248
|
return pulumi.get(self, "log_source_name")
|
235
249
|
|
250
|
+
@property
|
251
|
+
@pulumi.getter(name="logType")
|
252
|
+
def log_type(self) -> str:
|
253
|
+
"""
|
254
|
+
Type of files/objects in this object collection rule.
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "log_type")
|
257
|
+
|
236
258
|
@property
|
237
259
|
@pulumi.getter
|
238
260
|
def name(self) -> str:
|
@@ -342,6 +364,7 @@ class AwaitableGetLogAnalyticsObjectCollectionRuleResult(GetLogAnalyticsObjectCo
|
|
342
364
|
freeform_tags=self.freeform_tags,
|
343
365
|
id=self.id,
|
344
366
|
is_enabled=self.is_enabled,
|
367
|
+
is_force_historic_collection=self.is_force_historic_collection,
|
345
368
|
lifecycle_details=self.lifecycle_details,
|
346
369
|
log_analytics_object_collection_rule_id=self.log_analytics_object_collection_rule_id,
|
347
370
|
log_group_id=self.log_group_id,
|
@@ -349,6 +372,7 @@ class AwaitableGetLogAnalyticsObjectCollectionRuleResult(GetLogAnalyticsObjectCo
|
|
349
372
|
log_set_ext_regex=self.log_set_ext_regex,
|
350
373
|
log_set_key=self.log_set_key,
|
351
374
|
log_source_name=self.log_source_name,
|
375
|
+
log_type=self.log_type,
|
352
376
|
name=self.name,
|
353
377
|
namespace=self.namespace,
|
354
378
|
object_name_filters=self.object_name_filters,
|
@@ -401,6 +425,7 @@ def get_log_analytics_object_collection_rule(log_analytics_object_collection_rul
|
|
401
425
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
402
426
|
id=pulumi.get(__ret__, 'id'),
|
403
427
|
is_enabled=pulumi.get(__ret__, 'is_enabled'),
|
428
|
+
is_force_historic_collection=pulumi.get(__ret__, 'is_force_historic_collection'),
|
404
429
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
405
430
|
log_analytics_object_collection_rule_id=pulumi.get(__ret__, 'log_analytics_object_collection_rule_id'),
|
406
431
|
log_group_id=pulumi.get(__ret__, 'log_group_id'),
|
@@ -408,6 +433,7 @@ def get_log_analytics_object_collection_rule(log_analytics_object_collection_rul
|
|
408
433
|
log_set_ext_regex=pulumi.get(__ret__, 'log_set_ext_regex'),
|
409
434
|
log_set_key=pulumi.get(__ret__, 'log_set_key'),
|
410
435
|
log_source_name=pulumi.get(__ret__, 'log_source_name'),
|
436
|
+
log_type=pulumi.get(__ret__, 'log_type'),
|
411
437
|
name=pulumi.get(__ret__, 'name'),
|
412
438
|
namespace=pulumi.get(__ret__, 'namespace'),
|
413
439
|
object_name_filters=pulumi.get(__ret__, 'object_name_filters'),
|
@@ -23,7 +23,7 @@ class GetNamespaceRulesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getNamespaceRules.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, kind=None, namespace=None, rule_summary_collections=None, state=None):
|
26
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, kind=None, namespace=None, rule_summary_collections=None, state=None, target_service=None):
|
27
27
|
if compartment_id and not isinstance(compartment_id, str):
|
28
28
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
29
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -48,6 +48,9 @@ class GetNamespaceRulesResult:
|
|
48
48
|
if state and not isinstance(state, str):
|
49
49
|
raise TypeError("Expected argument 'state' to be a str")
|
50
50
|
pulumi.set(__self__, "state", state)
|
51
|
+
if target_service and not isinstance(target_service, str):
|
52
|
+
raise TypeError("Expected argument 'target_service' to be a str")
|
53
|
+
pulumi.set(__self__, "target_service", target_service)
|
51
54
|
|
52
55
|
@property
|
53
56
|
@pulumi.getter(name="compartmentId")
|
@@ -107,6 +110,14 @@ class GetNamespaceRulesResult:
|
|
107
110
|
"""
|
108
111
|
return pulumi.get(self, "state")
|
109
112
|
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="targetService")
|
115
|
+
def target_service(self) -> Optional[str]:
|
116
|
+
"""
|
117
|
+
The target service.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "target_service")
|
120
|
+
|
110
121
|
|
111
122
|
class AwaitableGetNamespaceRulesResult(GetNamespaceRulesResult):
|
112
123
|
# pylint: disable=using-constant-test
|
@@ -121,7 +132,8 @@ class AwaitableGetNamespaceRulesResult(GetNamespaceRulesResult):
|
|
121
132
|
kind=self.kind,
|
122
133
|
namespace=self.namespace,
|
123
134
|
rule_summary_collections=self.rule_summary_collections,
|
124
|
-
state=self.state
|
135
|
+
state=self.state,
|
136
|
+
target_service=self.target_service)
|
125
137
|
|
126
138
|
|
127
139
|
def get_namespace_rules(compartment_id: Optional[str] = None,
|
@@ -130,6 +142,7 @@ def get_namespace_rules(compartment_id: Optional[str] = None,
|
|
130
142
|
kind: Optional[str] = None,
|
131
143
|
namespace: Optional[str] = None,
|
132
144
|
state: Optional[str] = None,
|
145
|
+
target_service: Optional[str] = None,
|
133
146
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceRulesResult:
|
134
147
|
"""
|
135
148
|
This data source provides the list of Namespace Rules in Oracle Cloud Infrastructure Log Analytics service.
|
@@ -146,7 +159,8 @@ def get_namespace_rules(compartment_id: Optional[str] = None,
|
|
146
159
|
namespace=var["namespace_rule_namespace"],
|
147
160
|
display_name=var["namespace_rule_display_name"],
|
148
161
|
kind=var["namespace_rule_kind"],
|
149
|
-
state=var["namespace_rule_state"]
|
162
|
+
state=var["namespace_rule_state"],
|
163
|
+
target_service=var["namespace_rule_target_service"])
|
150
164
|
```
|
151
165
|
|
152
166
|
|
@@ -155,6 +169,7 @@ def get_namespace_rules(compartment_id: Optional[str] = None,
|
|
155
169
|
:param str kind: The rule kind used for filtering. Only rules of the specified kind will be returned.
|
156
170
|
:param str namespace: The Logging Analytics namespace used for the request.
|
157
171
|
:param str state: The rule lifecycle state used for filtering. Currently supported values are ACTIVE and DELETED.
|
172
|
+
:param str target_service: The target service to use for filtering.
|
158
173
|
"""
|
159
174
|
__args__ = dict()
|
160
175
|
__args__['compartmentId'] = compartment_id
|
@@ -163,6 +178,7 @@ def get_namespace_rules(compartment_id: Optional[str] = None,
|
|
163
178
|
__args__['kind'] = kind
|
164
179
|
__args__['namespace'] = namespace
|
165
180
|
__args__['state'] = state
|
181
|
+
__args__['targetService'] = target_service
|
166
182
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
167
183
|
__ret__ = pulumi.runtime.invoke('oci:LogAnalytics/getNamespaceRules:getNamespaceRules', __args__, opts=opts, typ=GetNamespaceRulesResult).value
|
168
184
|
|
@@ -174,7 +190,8 @@ def get_namespace_rules(compartment_id: Optional[str] = None,
|
|
174
190
|
kind=pulumi.get(__ret__, 'kind'),
|
175
191
|
namespace=pulumi.get(__ret__, 'namespace'),
|
176
192
|
rule_summary_collections=pulumi.get(__ret__, 'rule_summary_collections'),
|
177
|
-
state=pulumi.get(__ret__, 'state')
|
193
|
+
state=pulumi.get(__ret__, 'state'),
|
194
|
+
target_service=pulumi.get(__ret__, 'target_service'))
|
178
195
|
|
179
196
|
|
180
197
|
@_utilities.lift_output_func(get_namespace_rules)
|
@@ -184,6 +201,7 @@ def get_namespace_rules_output(compartment_id: Optional[pulumi.Input[str]] = Non
|
|
184
201
|
kind: Optional[pulumi.Input[Optional[str]]] = None,
|
185
202
|
namespace: Optional[pulumi.Input[str]] = None,
|
186
203
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
204
|
+
target_service: Optional[pulumi.Input[Optional[str]]] = None,
|
187
205
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceRulesResult]:
|
188
206
|
"""
|
189
207
|
This data source provides the list of Namespace Rules in Oracle Cloud Infrastructure Log Analytics service.
|
@@ -200,7 +218,8 @@ def get_namespace_rules_output(compartment_id: Optional[pulumi.Input[str]] = Non
|
|
200
218
|
namespace=var["namespace_rule_namespace"],
|
201
219
|
display_name=var["namespace_rule_display_name"],
|
202
220
|
kind=var["namespace_rule_kind"],
|
203
|
-
state=var["namespace_rule_state"]
|
221
|
+
state=var["namespace_rule_state"],
|
222
|
+
target_service=var["namespace_rule_target_service"])
|
204
223
|
```
|
205
224
|
|
206
225
|
|
@@ -209,5 +228,6 @@ def get_namespace_rules_output(compartment_id: Optional[pulumi.Input[str]] = Non
|
|
209
228
|
:param str kind: The rule kind used for filtering. Only rules of the specified kind will be returned.
|
210
229
|
:param str namespace: The Logging Analytics namespace used for the request.
|
211
230
|
:param str state: The rule lifecycle state used for filtering. Currently supported values are ACTIVE and DELETED.
|
231
|
+
:param str target_service: The target service to use for filtering.
|
212
232
|
"""
|
213
233
|
...
|
@@ -23,7 +23,7 @@ class GetNamespaceScheduledTasksResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getNamespaceScheduledTasks.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, namespace=None, scheduled_task_collections=None, task_type=None):
|
26
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, namespace=None, scheduled_task_collections=None, target_service=None, task_type=None):
|
27
27
|
if compartment_id and not isinstance(compartment_id, str):
|
28
28
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
29
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -42,6 +42,9 @@ class GetNamespaceScheduledTasksResult:
|
|
42
42
|
if scheduled_task_collections and not isinstance(scheduled_task_collections, list):
|
43
43
|
raise TypeError("Expected argument 'scheduled_task_collections' to be a list")
|
44
44
|
pulumi.set(__self__, "scheduled_task_collections", scheduled_task_collections)
|
45
|
+
if target_service and not isinstance(target_service, str):
|
46
|
+
raise TypeError("Expected argument 'target_service' to be a str")
|
47
|
+
pulumi.set(__self__, "target_service", target_service)
|
45
48
|
if task_type and not isinstance(task_type, str):
|
46
49
|
raise TypeError("Expected argument 'task_type' to be a str")
|
47
50
|
pulumi.set(__self__, "task_type", task_type)
|
@@ -88,6 +91,11 @@ class GetNamespaceScheduledTasksResult:
|
|
88
91
|
"""
|
89
92
|
return pulumi.get(self, "scheduled_task_collections")
|
90
93
|
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="targetService")
|
96
|
+
def target_service(self) -> Optional[str]:
|
97
|
+
return pulumi.get(self, "target_service")
|
98
|
+
|
91
99
|
@property
|
92
100
|
@pulumi.getter(name="taskType")
|
93
101
|
def task_type(self) -> str:
|
@@ -109,6 +117,7 @@ class AwaitableGetNamespaceScheduledTasksResult(GetNamespaceScheduledTasksResult
|
|
109
117
|
id=self.id,
|
110
118
|
namespace=self.namespace,
|
111
119
|
scheduled_task_collections=self.scheduled_task_collections,
|
120
|
+
target_service=self.target_service,
|
112
121
|
task_type=self.task_type)
|
113
122
|
|
114
123
|
|
@@ -116,6 +125,7 @@ def get_namespace_scheduled_tasks(compartment_id: Optional[str] = None,
|
|
116
125
|
display_name: Optional[str] = None,
|
117
126
|
filters: Optional[Sequence[pulumi.InputType['GetNamespaceScheduledTasksFilterArgs']]] = None,
|
118
127
|
namespace: Optional[str] = None,
|
128
|
+
target_service: Optional[str] = None,
|
119
129
|
task_type: Optional[str] = None,
|
120
130
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceScheduledTasksResult:
|
121
131
|
"""
|
@@ -132,6 +142,7 @@ def get_namespace_scheduled_tasks(compartment_id: Optional[str] = None,
|
|
132
142
|
test_namespace_scheduled_tasks = oci.LogAnalytics.get_namespace_scheduled_tasks(compartment_id=var["compartment_id"],
|
133
143
|
namespace=var["namespace_scheduled_task_namespace"],
|
134
144
|
display_name=var["namespace_scheduled_task_display_name"],
|
145
|
+
target_service=var["namespace_scheduled_task_target_service"],
|
135
146
|
task_type=var["namespace_scheduled_task_task_type"])
|
136
147
|
```
|
137
148
|
|
@@ -139,6 +150,7 @@ def get_namespace_scheduled_tasks(compartment_id: Optional[str] = None,
|
|
139
150
|
:param str compartment_id: The ID of the compartment in which to list resources.
|
140
151
|
:param str display_name: A filter to return only resources that match the given display name exactly.
|
141
152
|
:param str namespace: The Logging Analytics namespace used for the request.
|
153
|
+
:param str target_service: The target service to use for filtering.
|
142
154
|
:param str task_type: Required parameter to specify schedule task type.
|
143
155
|
"""
|
144
156
|
__args__ = dict()
|
@@ -146,6 +158,7 @@ def get_namespace_scheduled_tasks(compartment_id: Optional[str] = None,
|
|
146
158
|
__args__['displayName'] = display_name
|
147
159
|
__args__['filters'] = filters
|
148
160
|
__args__['namespace'] = namespace
|
161
|
+
__args__['targetService'] = target_service
|
149
162
|
__args__['taskType'] = task_type
|
150
163
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
151
164
|
__ret__ = pulumi.runtime.invoke('oci:LogAnalytics/getNamespaceScheduledTasks:getNamespaceScheduledTasks', __args__, opts=opts, typ=GetNamespaceScheduledTasksResult).value
|
@@ -157,6 +170,7 @@ def get_namespace_scheduled_tasks(compartment_id: Optional[str] = None,
|
|
157
170
|
id=pulumi.get(__ret__, 'id'),
|
158
171
|
namespace=pulumi.get(__ret__, 'namespace'),
|
159
172
|
scheduled_task_collections=pulumi.get(__ret__, 'scheduled_task_collections'),
|
173
|
+
target_service=pulumi.get(__ret__, 'target_service'),
|
160
174
|
task_type=pulumi.get(__ret__, 'task_type'))
|
161
175
|
|
162
176
|
|
@@ -165,6 +179,7 @@ def get_namespace_scheduled_tasks_output(compartment_id: Optional[pulumi.Input[s
|
|
165
179
|
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
166
180
|
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNamespaceScheduledTasksFilterArgs']]]]] = None,
|
167
181
|
namespace: Optional[pulumi.Input[str]] = None,
|
182
|
+
target_service: Optional[pulumi.Input[Optional[str]]] = None,
|
168
183
|
task_type: Optional[pulumi.Input[str]] = None,
|
169
184
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceScheduledTasksResult]:
|
170
185
|
"""
|
@@ -181,6 +196,7 @@ def get_namespace_scheduled_tasks_output(compartment_id: Optional[pulumi.Input[s
|
|
181
196
|
test_namespace_scheduled_tasks = oci.LogAnalytics.get_namespace_scheduled_tasks(compartment_id=var["compartment_id"],
|
182
197
|
namespace=var["namespace_scheduled_task_namespace"],
|
183
198
|
display_name=var["namespace_scheduled_task_display_name"],
|
199
|
+
target_service=var["namespace_scheduled_task_target_service"],
|
184
200
|
task_type=var["namespace_scheduled_task_task_type"])
|
185
201
|
```
|
186
202
|
|
@@ -188,6 +204,7 @@ def get_namespace_scheduled_tasks_output(compartment_id: Optional[pulumi.Input[s
|
|
188
204
|
:param str compartment_id: The ID of the compartment in which to list resources.
|
189
205
|
:param str display_name: A filter to return only resources that match the given display name exactly.
|
190
206
|
:param str namespace: The Logging Analytics namespace used for the request.
|
207
|
+
:param str target_service: The target service to use for filtering.
|
191
208
|
:param str task_type: Required parameter to specify schedule task type.
|
192
209
|
"""
|
193
210
|
...
|