pulumi-oci 1.29.0a1711606977__py3-none-any.whl → 1.30.0__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 +8 -0
- pulumi_oci/cloudguard/_inputs.py +10 -2
- pulumi_oci/cloudguard/cloud_guard_configuration.py +2 -2
- pulumi_oci/cloudguard/cloud_guard_data_source.py +45 -24
- pulumi_oci/cloudguard/data_mask_rule.py +2 -2
- pulumi_oci/cloudguard/detector_recipe.py +2 -2
- pulumi_oci/cloudguard/get_cloud_guard_configuration.py +2 -2
- pulumi_oci/cloudguard/get_data_mask_rule.py +2 -2
- pulumi_oci/cloudguard/get_data_mask_rules.py +2 -2
- pulumi_oci/cloudguard/get_detector_recipe.py +2 -2
- pulumi_oci/cloudguard/get_detector_recipes.py +2 -2
- pulumi_oci/cloudguard/get_managed_list.py +2 -2
- pulumi_oci/cloudguard/get_managed_lists.py +2 -2
- pulumi_oci/cloudguard/managed_list.py +2 -2
- pulumi_oci/cloudguard/outputs.py +10 -2
- pulumi_oci/database/autonomous_database.py +155 -14
- pulumi_oci/database/get_autonomous_database.py +41 -2
- pulumi_oci/database/get_autonomous_databases.py +1 -1
- pulumi_oci/database/outputs.py +68 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +111 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_sql_data.py +32 -4
- pulumi_oci/databasemanagement/outputs.py +267 -75
- pulumi_oci/dataintegration/__init__.py +3 -0
- pulumi_oci/dataintegration/_inputs.py +4504 -0
- pulumi_oci/dataintegration/get_workspace_task.py +443 -0
- pulumi_oci/dataintegration/get_workspace_tasks.py +254 -0
- pulumi_oci/dataintegration/outputs.py +16511 -4723
- pulumi_oci/dataintegration/workspace_task.py +1364 -0
- pulumi_oci/devops/_inputs.py +18 -2
- pulumi_oci/devops/deploy_artifact.py +2 -0
- pulumi_oci/devops/deploy_stage.py +141 -0
- pulumi_oci/devops/get_deploy_stage.py +40 -1
- pulumi_oci/devops/outputs.py +75 -6
- pulumi_oci/disasterrecovery/dr_protection_group.py +1 -1
- pulumi_oci/email/__init__.py +1 -0
- pulumi_oci/email/dkim.py +21 -21
- pulumi_oci/email/email_domain.py +7 -7
- pulumi_oci/email/get_configuration.py +138 -0
- pulumi_oci/email/get_dkim.py +2 -2
- pulumi_oci/email/get_dkims.py +2 -2
- pulumi_oci/email/get_email_domain.py +2 -2
- pulumi_oci/email/get_email_domains.py +1 -1
- pulumi_oci/email/get_sender.py +15 -2
- pulumi_oci/email/get_suppression.py +2 -2
- pulumi_oci/email/get_suppressions.py +4 -4
- pulumi_oci/email/outputs.py +23 -12
- pulumi_oci/email/sender.py +32 -4
- pulumi_oci/email/suppression.py +8 -8
- pulumi_oci/loadbalancer/_inputs.py +2 -2
- pulumi_oci/loadbalancer/outputs.py +4 -4
- pulumi_oci/loadbalancer/ssl_cipher_suite.py +42 -0
- pulumi_oci/logging/_inputs.py +2751 -187
- pulumi_oci/logging/outputs.py +4981 -768
- pulumi_oci/logging/unified_agent_configuration.py +34 -208
- pulumi_oci/managementagent/_inputs.py +0 -44
- pulumi_oci/managementagent/get_management_agents.py +20 -3
- pulumi_oci/managementagent/management_agent.py +27 -79
- pulumi_oci/managementagent/outputs.py +0 -44
- pulumi_oci/monitoring/_inputs.py +136 -0
- pulumi_oci/monitoring/alarm.py +173 -0
- pulumi_oci/monitoring/get_alarm.py +40 -1
- pulumi_oci/monitoring/get_alarm_history_collection.py +2 -2
- pulumi_oci/monitoring/outputs.py +305 -0
- pulumi_oci/networkloadbalancer/_inputs.py +16 -16
- pulumi_oci/networkloadbalancer/backend.py +7 -7
- pulumi_oci/networkloadbalancer/backend_set.py +11 -11
- pulumi_oci/networkloadbalancer/get_backend_set.py +1 -1
- pulumi_oci/networkloadbalancer/get_listener.py +1 -1
- pulumi_oci/networkloadbalancer/get_network_load_balancer.py +44 -1
- pulumi_oci/networkloadbalancer/listener.py +7 -7
- pulumi_oci/networkloadbalancer/network_load_balancer.py +233 -23
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +7 -7
- pulumi_oci/networkloadbalancer/outputs.py +58 -30
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.30.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.30.0.dist-info}/RECORD +77 -73
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.30.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.30.0.dist-info}/top_level.txt +0 -0
@@ -17,33 +17,31 @@ __all__ = ['UnifiedAgentConfigurationArgs', 'UnifiedAgentConfiguration']
|
|
17
17
|
class UnifiedAgentConfigurationArgs:
|
18
18
|
def __init__(__self__, *,
|
19
19
|
compartment_id: pulumi.Input[str],
|
20
|
+
description: pulumi.Input[str],
|
21
|
+
display_name: pulumi.Input[str],
|
20
22
|
is_enabled: pulumi.Input[bool],
|
21
23
|
service_configuration: pulumi.Input['UnifiedAgentConfigurationServiceConfigurationArgs'],
|
22
24
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
23
|
-
description: Optional[pulumi.Input[str]] = None,
|
24
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
25
25
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
26
26
|
group_association: Optional[pulumi.Input['UnifiedAgentConfigurationGroupAssociationArgs']] = None):
|
27
27
|
"""
|
28
28
|
The set of arguments for constructing a UnifiedAgentConfiguration resource.
|
29
29
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that the resource belongs to.
|
30
|
+
:param pulumi.Input[str] description: (Updatable) Description for this resource.
|
31
|
+
:param pulumi.Input[str] display_name: (Updatable) The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information.
|
30
32
|
:param pulumi.Input[bool] is_enabled: (Updatable) Whether or not this resource is currently enabled.
|
31
33
|
:param pulumi.Input['UnifiedAgentConfigurationServiceConfigurationArgs'] service_configuration: (Updatable) Top level Unified Agent service configuration object.
|
32
34
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
33
|
-
:param pulumi.Input[str] description: (Updatable) Description for this resource.
|
34
|
-
:param pulumi.Input[str] display_name: (Updatable) The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information.
|
35
35
|
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
36
36
|
:param pulumi.Input['UnifiedAgentConfigurationGroupAssociationArgs'] group_association: (Updatable) Groups using the configuration.
|
37
37
|
"""
|
38
38
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
39
|
+
pulumi.set(__self__, "description", description)
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
39
41
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
40
42
|
pulumi.set(__self__, "service_configuration", service_configuration)
|
41
43
|
if defined_tags is not None:
|
42
44
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
43
|
-
if description is not None:
|
44
|
-
pulumi.set(__self__, "description", description)
|
45
|
-
if display_name is not None:
|
46
|
-
pulumi.set(__self__, "display_name", display_name)
|
47
45
|
if freeform_tags is not None:
|
48
46
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
49
47
|
if group_association is not None:
|
@@ -61,6 +59,30 @@ class UnifiedAgentConfigurationArgs:
|
|
61
59
|
def compartment_id(self, value: pulumi.Input[str]):
|
62
60
|
pulumi.set(self, "compartment_id", value)
|
63
61
|
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def description(self) -> pulumi.Input[str]:
|
65
|
+
"""
|
66
|
+
(Updatable) Description for this resource.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "description")
|
69
|
+
|
70
|
+
@description.setter
|
71
|
+
def description(self, value: pulumi.Input[str]):
|
72
|
+
pulumi.set(self, "description", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="displayName")
|
76
|
+
def display_name(self) -> pulumi.Input[str]:
|
77
|
+
"""
|
78
|
+
(Updatable) The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "display_name")
|
81
|
+
|
82
|
+
@display_name.setter
|
83
|
+
def display_name(self, value: pulumi.Input[str]):
|
84
|
+
pulumi.set(self, "display_name", value)
|
85
|
+
|
64
86
|
@property
|
65
87
|
@pulumi.getter(name="isEnabled")
|
66
88
|
def is_enabled(self) -> pulumi.Input[bool]:
|
@@ -97,30 +119,6 @@ class UnifiedAgentConfigurationArgs:
|
|
97
119
|
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
98
120
|
pulumi.set(self, "defined_tags", value)
|
99
121
|
|
100
|
-
@property
|
101
|
-
@pulumi.getter
|
102
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
103
|
-
"""
|
104
|
-
(Updatable) Description for this resource.
|
105
|
-
"""
|
106
|
-
return pulumi.get(self, "description")
|
107
|
-
|
108
|
-
@description.setter
|
109
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
110
|
-
pulumi.set(self, "description", value)
|
111
|
-
|
112
|
-
@property
|
113
|
-
@pulumi.getter(name="displayName")
|
114
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
115
|
-
"""
|
116
|
-
(Updatable) The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information.
|
117
|
-
"""
|
118
|
-
return pulumi.get(self, "display_name")
|
119
|
-
|
120
|
-
@display_name.setter
|
121
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
122
|
-
pulumi.set(self, "display_name", value)
|
123
|
-
|
124
122
|
@property
|
125
123
|
@pulumi.getter(name="freeformTags")
|
126
124
|
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
@@ -365,94 +363,6 @@ class UnifiedAgentConfiguration(pulumi.CustomResource):
|
|
365
363
|
|
366
364
|
Create unified agent configuration registration.
|
367
365
|
|
368
|
-
## Example Usage
|
369
|
-
|
370
|
-
<!--Start PulumiCodeChooser -->
|
371
|
-
```python
|
372
|
-
import pulumi
|
373
|
-
import pulumi_oci as oci
|
374
|
-
|
375
|
-
test_unified_agent_configuration = oci.logging.UnifiedAgentConfiguration("testUnifiedAgentConfiguration",
|
376
|
-
compartment_id=var["compartment_id"],
|
377
|
-
is_enabled=var["unified_agent_configuration_is_enabled"],
|
378
|
-
description=var["unified_agent_configuration_description"],
|
379
|
-
display_name=var["unified_agent_configuration_display_name"],
|
380
|
-
service_configuration=oci.logging.UnifiedAgentConfigurationServiceConfigurationArgs(
|
381
|
-
configuration_type=var["unified_agent_configuration_service_configuration_configuration_type"],
|
382
|
-
destination=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationArgs(
|
383
|
-
log_object_id=oci_objectstorage_object["test_object"]["id"],
|
384
|
-
operational_metrics_configuration=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationArgs(
|
385
|
-
destination=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationDestinationArgs(
|
386
|
-
compartment_id=var["compartment_id"],
|
387
|
-
),
|
388
|
-
source=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationSourceArgs(
|
389
|
-
type=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_type"],
|
390
|
-
metrics=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_metrics"],
|
391
|
-
record_input=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationSourceRecordInputArgs(
|
392
|
-
namespace=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_record_input_namespace"],
|
393
|
-
resource_group=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_record_input_resource_group"],
|
394
|
-
),
|
395
|
-
),
|
396
|
-
),
|
397
|
-
),
|
398
|
-
sources=[oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceArgs(
|
399
|
-
source_type=var["unified_agent_configuration_service_configuration_sources_source_type"],
|
400
|
-
channels=var["unified_agent_configuration_service_configuration_sources_channels"],
|
401
|
-
name=var["unified_agent_configuration_service_configuration_sources_name"],
|
402
|
-
parser=oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceParserArgs(
|
403
|
-
parser_type=var["unified_agent_configuration_service_configuration_sources_parser_parser_type"],
|
404
|
-
delimiter=var["unified_agent_configuration_service_configuration_sources_parser_delimiter"],
|
405
|
-
expression=var["unified_agent_configuration_service_configuration_sources_parser_expression"],
|
406
|
-
field_time_key=var["unified_agent_configuration_service_configuration_sources_parser_field_time_key"],
|
407
|
-
formats=var["unified_agent_configuration_service_configuration_sources_parser_format"],
|
408
|
-
format_firstline=var["unified_agent_configuration_service_configuration_sources_parser_format_firstline"],
|
409
|
-
grok_failure_key=var["unified_agent_configuration_service_configuration_sources_parser_grok_failure_key"],
|
410
|
-
grok_name_key=var["unified_agent_configuration_service_configuration_sources_parser_grok_name_key"],
|
411
|
-
is_estimate_current_event=var["unified_agent_configuration_service_configuration_sources_parser_is_estimate_current_event"],
|
412
|
-
is_keep_time_key=var["unified_agent_configuration_service_configuration_sources_parser_is_keep_time_key"],
|
413
|
-
is_merge_cri_fields=var["unified_agent_configuration_service_configuration_sources_parser_is_merge_cri_fields"],
|
414
|
-
is_null_empty_string=var["unified_agent_configuration_service_configuration_sources_parser_is_null_empty_string"],
|
415
|
-
is_support_colonless_ident=var["unified_agent_configuration_service_configuration_sources_parser_is_support_colonless_ident"],
|
416
|
-
is_with_priority=var["unified_agent_configuration_service_configuration_sources_parser_is_with_priority"],
|
417
|
-
keys=var["unified_agent_configuration_service_configuration_sources_parser_keys"],
|
418
|
-
message_format=var["unified_agent_configuration_service_configuration_sources_parser_message_format"],
|
419
|
-
message_key=var["unified_agent_configuration_service_configuration_sources_parser_message_key"],
|
420
|
-
multi_line_start_regexp=var["unified_agent_configuration_service_configuration_sources_parser_multi_line_start_regexp"],
|
421
|
-
nested_parser=oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceParserNestedParserArgs(
|
422
|
-
time_format=var["unified_agent_configuration_service_configuration_sources_parser_nested_parser_time_format"],
|
423
|
-
field_time_key=var["unified_agent_configuration_service_configuration_sources_parser_nested_parser_field_time_key"],
|
424
|
-
is_keep_time_key=var["unified_agent_configuration_service_configuration_sources_parser_nested_parser_is_keep_time_key"],
|
425
|
-
),
|
426
|
-
null_value_pattern=var["unified_agent_configuration_service_configuration_sources_parser_null_value_pattern"],
|
427
|
-
patterns=[oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceParserPatternArgs(
|
428
|
-
field_time_format=var["unified_agent_configuration_service_configuration_sources_parser_patterns_field_time_format"],
|
429
|
-
field_time_key=var["unified_agent_configuration_service_configuration_sources_parser_patterns_field_time_key"],
|
430
|
-
field_time_zone=var["unified_agent_configuration_service_configuration_sources_parser_patterns_field_time_zone"],
|
431
|
-
name=var["unified_agent_configuration_service_configuration_sources_parser_patterns_name"],
|
432
|
-
pattern=var["unified_agent_configuration_service_configuration_sources_parser_patterns_pattern"],
|
433
|
-
)],
|
434
|
-
rfc5424time_format=var["unified_agent_configuration_service_configuration_sources_parser_rfc5424time_format"],
|
435
|
-
syslog_parser_type=var["unified_agent_configuration_service_configuration_sources_parser_syslog_parser_type"],
|
436
|
-
time_format=var["unified_agent_configuration_service_configuration_sources_parser_time_format"],
|
437
|
-
time_type=var["unified_agent_configuration_service_configuration_sources_parser_time_type"],
|
438
|
-
timeout_in_milliseconds=var["unified_agent_configuration_service_configuration_sources_parser_timeout_in_milliseconds"],
|
439
|
-
types=var["unified_agent_configuration_service_configuration_sources_parser_types"],
|
440
|
-
),
|
441
|
-
paths=var["unified_agent_configuration_service_configuration_sources_paths"],
|
442
|
-
)],
|
443
|
-
),
|
444
|
-
defined_tags={
|
445
|
-
"Operations.CostCenter": "42",
|
446
|
-
},
|
447
|
-
freeform_tags={
|
448
|
-
"Department": "Finance",
|
449
|
-
},
|
450
|
-
group_association=oci.logging.UnifiedAgentConfigurationGroupAssociationArgs(
|
451
|
-
group_lists=var["unified_agent_configuration_group_association_group_list"],
|
452
|
-
))
|
453
|
-
```
|
454
|
-
<!--End PulumiCodeChooser -->
|
455
|
-
|
456
366
|
## Import
|
457
367
|
|
458
368
|
UnifiedAgentConfigurations can be imported using the `id`, e.g.
|
@@ -483,94 +393,6 @@ class UnifiedAgentConfiguration(pulumi.CustomResource):
|
|
483
393
|
|
484
394
|
Create unified agent configuration registration.
|
485
395
|
|
486
|
-
## Example Usage
|
487
|
-
|
488
|
-
<!--Start PulumiCodeChooser -->
|
489
|
-
```python
|
490
|
-
import pulumi
|
491
|
-
import pulumi_oci as oci
|
492
|
-
|
493
|
-
test_unified_agent_configuration = oci.logging.UnifiedAgentConfiguration("testUnifiedAgentConfiguration",
|
494
|
-
compartment_id=var["compartment_id"],
|
495
|
-
is_enabled=var["unified_agent_configuration_is_enabled"],
|
496
|
-
description=var["unified_agent_configuration_description"],
|
497
|
-
display_name=var["unified_agent_configuration_display_name"],
|
498
|
-
service_configuration=oci.logging.UnifiedAgentConfigurationServiceConfigurationArgs(
|
499
|
-
configuration_type=var["unified_agent_configuration_service_configuration_configuration_type"],
|
500
|
-
destination=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationArgs(
|
501
|
-
log_object_id=oci_objectstorage_object["test_object"]["id"],
|
502
|
-
operational_metrics_configuration=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationArgs(
|
503
|
-
destination=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationDestinationArgs(
|
504
|
-
compartment_id=var["compartment_id"],
|
505
|
-
),
|
506
|
-
source=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationSourceArgs(
|
507
|
-
type=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_type"],
|
508
|
-
metrics=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_metrics"],
|
509
|
-
record_input=oci.logging.UnifiedAgentConfigurationServiceConfigurationDestinationOperationalMetricsConfigurationSourceRecordInputArgs(
|
510
|
-
namespace=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_record_input_namespace"],
|
511
|
-
resource_group=var["unified_agent_configuration_service_configuration_destination_operational_metrics_configuration_source_record_input_resource_group"],
|
512
|
-
),
|
513
|
-
),
|
514
|
-
),
|
515
|
-
),
|
516
|
-
sources=[oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceArgs(
|
517
|
-
source_type=var["unified_agent_configuration_service_configuration_sources_source_type"],
|
518
|
-
channels=var["unified_agent_configuration_service_configuration_sources_channels"],
|
519
|
-
name=var["unified_agent_configuration_service_configuration_sources_name"],
|
520
|
-
parser=oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceParserArgs(
|
521
|
-
parser_type=var["unified_agent_configuration_service_configuration_sources_parser_parser_type"],
|
522
|
-
delimiter=var["unified_agent_configuration_service_configuration_sources_parser_delimiter"],
|
523
|
-
expression=var["unified_agent_configuration_service_configuration_sources_parser_expression"],
|
524
|
-
field_time_key=var["unified_agent_configuration_service_configuration_sources_parser_field_time_key"],
|
525
|
-
formats=var["unified_agent_configuration_service_configuration_sources_parser_format"],
|
526
|
-
format_firstline=var["unified_agent_configuration_service_configuration_sources_parser_format_firstline"],
|
527
|
-
grok_failure_key=var["unified_agent_configuration_service_configuration_sources_parser_grok_failure_key"],
|
528
|
-
grok_name_key=var["unified_agent_configuration_service_configuration_sources_parser_grok_name_key"],
|
529
|
-
is_estimate_current_event=var["unified_agent_configuration_service_configuration_sources_parser_is_estimate_current_event"],
|
530
|
-
is_keep_time_key=var["unified_agent_configuration_service_configuration_sources_parser_is_keep_time_key"],
|
531
|
-
is_merge_cri_fields=var["unified_agent_configuration_service_configuration_sources_parser_is_merge_cri_fields"],
|
532
|
-
is_null_empty_string=var["unified_agent_configuration_service_configuration_sources_parser_is_null_empty_string"],
|
533
|
-
is_support_colonless_ident=var["unified_agent_configuration_service_configuration_sources_parser_is_support_colonless_ident"],
|
534
|
-
is_with_priority=var["unified_agent_configuration_service_configuration_sources_parser_is_with_priority"],
|
535
|
-
keys=var["unified_agent_configuration_service_configuration_sources_parser_keys"],
|
536
|
-
message_format=var["unified_agent_configuration_service_configuration_sources_parser_message_format"],
|
537
|
-
message_key=var["unified_agent_configuration_service_configuration_sources_parser_message_key"],
|
538
|
-
multi_line_start_regexp=var["unified_agent_configuration_service_configuration_sources_parser_multi_line_start_regexp"],
|
539
|
-
nested_parser=oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceParserNestedParserArgs(
|
540
|
-
time_format=var["unified_agent_configuration_service_configuration_sources_parser_nested_parser_time_format"],
|
541
|
-
field_time_key=var["unified_agent_configuration_service_configuration_sources_parser_nested_parser_field_time_key"],
|
542
|
-
is_keep_time_key=var["unified_agent_configuration_service_configuration_sources_parser_nested_parser_is_keep_time_key"],
|
543
|
-
),
|
544
|
-
null_value_pattern=var["unified_agent_configuration_service_configuration_sources_parser_null_value_pattern"],
|
545
|
-
patterns=[oci.logging.UnifiedAgentConfigurationServiceConfigurationSourceParserPatternArgs(
|
546
|
-
field_time_format=var["unified_agent_configuration_service_configuration_sources_parser_patterns_field_time_format"],
|
547
|
-
field_time_key=var["unified_agent_configuration_service_configuration_sources_parser_patterns_field_time_key"],
|
548
|
-
field_time_zone=var["unified_agent_configuration_service_configuration_sources_parser_patterns_field_time_zone"],
|
549
|
-
name=var["unified_agent_configuration_service_configuration_sources_parser_patterns_name"],
|
550
|
-
pattern=var["unified_agent_configuration_service_configuration_sources_parser_patterns_pattern"],
|
551
|
-
)],
|
552
|
-
rfc5424time_format=var["unified_agent_configuration_service_configuration_sources_parser_rfc5424time_format"],
|
553
|
-
syslog_parser_type=var["unified_agent_configuration_service_configuration_sources_parser_syslog_parser_type"],
|
554
|
-
time_format=var["unified_agent_configuration_service_configuration_sources_parser_time_format"],
|
555
|
-
time_type=var["unified_agent_configuration_service_configuration_sources_parser_time_type"],
|
556
|
-
timeout_in_milliseconds=var["unified_agent_configuration_service_configuration_sources_parser_timeout_in_milliseconds"],
|
557
|
-
types=var["unified_agent_configuration_service_configuration_sources_parser_types"],
|
558
|
-
),
|
559
|
-
paths=var["unified_agent_configuration_service_configuration_sources_paths"],
|
560
|
-
)],
|
561
|
-
),
|
562
|
-
defined_tags={
|
563
|
-
"Operations.CostCenter": "42",
|
564
|
-
},
|
565
|
-
freeform_tags={
|
566
|
-
"Department": "Finance",
|
567
|
-
},
|
568
|
-
group_association=oci.logging.UnifiedAgentConfigurationGroupAssociationArgs(
|
569
|
-
group_lists=var["unified_agent_configuration_group_association_group_list"],
|
570
|
-
))
|
571
|
-
```
|
572
|
-
<!--End PulumiCodeChooser -->
|
573
|
-
|
574
396
|
## Import
|
575
397
|
|
576
398
|
UnifiedAgentConfigurations can be imported using the `id`, e.g.
|
@@ -615,7 +437,11 @@ class UnifiedAgentConfiguration(pulumi.CustomResource):
|
|
615
437
|
raise TypeError("Missing required property 'compartment_id'")
|
616
438
|
__props__.__dict__["compartment_id"] = compartment_id
|
617
439
|
__props__.__dict__["defined_tags"] = defined_tags
|
440
|
+
if description is None and not opts.urn:
|
441
|
+
raise TypeError("Missing required property 'description'")
|
618
442
|
__props__.__dict__["description"] = description
|
443
|
+
if display_name is None and not opts.urn:
|
444
|
+
raise TypeError("Missing required property 'display_name'")
|
619
445
|
__props__.__dict__["display_name"] = display_name
|
620
446
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
621
447
|
__props__.__dict__["group_association"] = group_association
|
@@ -46,15 +46,7 @@ class ManagementAgentDataSourceListArgs:
|
|
46
46
|
type: Optional[pulumi.Input[str]] = None,
|
47
47
|
url: Optional[pulumi.Input[str]] = None):
|
48
48
|
"""
|
49
|
-
:param pulumi.Input[str] allow_metrics: Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
|
50
|
-
:param pulumi.Input[str] compartment_id: Compartment owning this DataSource.
|
51
|
-
:param pulumi.Input[int] connection_timeout: Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
|
52
|
-
:param pulumi.Input[bool] is_daemon_set: If the Kubernetes cluster type is Daemon set then this will be set to true.
|
53
|
-
:param pulumi.Input[str] key: Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
54
|
-
:param pulumi.Input[Sequence[pulumi.Input['ManagementAgentDataSourceListMetricDimensionArgs']]] metric_dimensions: The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
|
55
49
|
:param pulumi.Input[str] name: Name of the property
|
56
|
-
:param pulumi.Input[str] namespace: The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded.
|
57
|
-
:param pulumi.Input[str] proxy_url: The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
|
58
50
|
:param pulumi.Input[int] read_data_limit: Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
|
59
51
|
:param pulumi.Input[int] read_timeout: Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
|
60
52
|
:param pulumi.Input[str] resource_group: Oracle Cloud Infrastructure monitoring resource group to assign the metric to.
|
@@ -105,9 +97,6 @@ class ManagementAgentDataSourceListArgs:
|
|
105
97
|
@property
|
106
98
|
@pulumi.getter(name="allowMetrics")
|
107
99
|
def allow_metrics(self) -> Optional[pulumi.Input[str]]:
|
108
|
-
"""
|
109
|
-
Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
|
110
|
-
"""
|
111
100
|
return pulumi.get(self, "allow_metrics")
|
112
101
|
|
113
102
|
@allow_metrics.setter
|
@@ -117,9 +106,6 @@ class ManagementAgentDataSourceListArgs:
|
|
117
106
|
@property
|
118
107
|
@pulumi.getter(name="compartmentId")
|
119
108
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
120
|
-
"""
|
121
|
-
Compartment owning this DataSource.
|
122
|
-
"""
|
123
109
|
return pulumi.get(self, "compartment_id")
|
124
110
|
|
125
111
|
@compartment_id.setter
|
@@ -129,9 +115,6 @@ class ManagementAgentDataSourceListArgs:
|
|
129
115
|
@property
|
130
116
|
@pulumi.getter(name="connectionTimeout")
|
131
117
|
def connection_timeout(self) -> Optional[pulumi.Input[int]]:
|
132
|
-
"""
|
133
|
-
Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
|
134
|
-
"""
|
135
118
|
return pulumi.get(self, "connection_timeout")
|
136
119
|
|
137
120
|
@connection_timeout.setter
|
@@ -141,9 +124,6 @@ class ManagementAgentDataSourceListArgs:
|
|
141
124
|
@property
|
142
125
|
@pulumi.getter(name="isDaemonSet")
|
143
126
|
def is_daemon_set(self) -> Optional[pulumi.Input[bool]]:
|
144
|
-
"""
|
145
|
-
If the Kubernetes cluster type is Daemon set then this will be set to true.
|
146
|
-
"""
|
147
127
|
return pulumi.get(self, "is_daemon_set")
|
148
128
|
|
149
129
|
@is_daemon_set.setter
|
@@ -153,9 +133,6 @@ class ManagementAgentDataSourceListArgs:
|
|
153
133
|
@property
|
154
134
|
@pulumi.getter
|
155
135
|
def key(self) -> Optional[pulumi.Input[str]]:
|
156
|
-
"""
|
157
|
-
Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
158
|
-
"""
|
159
136
|
return pulumi.get(self, "key")
|
160
137
|
|
161
138
|
@key.setter
|
@@ -165,9 +142,6 @@ class ManagementAgentDataSourceListArgs:
|
|
165
142
|
@property
|
166
143
|
@pulumi.getter(name="metricDimensions")
|
167
144
|
def metric_dimensions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagementAgentDataSourceListMetricDimensionArgs']]]]:
|
168
|
-
"""
|
169
|
-
The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
|
170
|
-
"""
|
171
145
|
return pulumi.get(self, "metric_dimensions")
|
172
146
|
|
173
147
|
@metric_dimensions.setter
|
@@ -189,9 +163,6 @@ class ManagementAgentDataSourceListArgs:
|
|
189
163
|
@property
|
190
164
|
@pulumi.getter
|
191
165
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
192
|
-
"""
|
193
|
-
The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded.
|
194
|
-
"""
|
195
166
|
return pulumi.get(self, "namespace")
|
196
167
|
|
197
168
|
@namespace.setter
|
@@ -201,9 +172,6 @@ class ManagementAgentDataSourceListArgs:
|
|
201
172
|
@property
|
202
173
|
@pulumi.getter(name="proxyUrl")
|
203
174
|
def proxy_url(self) -> Optional[pulumi.Input[str]]:
|
204
|
-
"""
|
205
|
-
The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
|
206
|
-
"""
|
207
175
|
return pulumi.get(self, "proxy_url")
|
208
176
|
|
209
177
|
@proxy_url.setter
|
@@ -326,7 +294,6 @@ class ManagementAgentDataSourceListMetricDimensionArgs:
|
|
326
294
|
value: Optional[pulumi.Input[str]] = None):
|
327
295
|
"""
|
328
296
|
:param pulumi.Input[str] name: Name of the property
|
329
|
-
:param pulumi.Input[str] value: Value of the metric dimension
|
330
297
|
"""
|
331
298
|
if name is not None:
|
332
299
|
pulumi.set(__self__, "name", name)
|
@@ -348,9 +315,6 @@ class ManagementAgentDataSourceListMetricDimensionArgs:
|
|
348
315
|
@property
|
349
316
|
@pulumi.getter
|
350
317
|
def value(self) -> Optional[pulumi.Input[str]]:
|
351
|
-
"""
|
352
|
-
Value of the metric dimension
|
353
|
-
"""
|
354
318
|
return pulumi.get(self, "value")
|
355
319
|
|
356
320
|
@value.setter
|
@@ -403,8 +367,6 @@ class ManagementAgentDataSourceSummaryListArgs:
|
|
403
367
|
name: Optional[pulumi.Input[str]] = None,
|
404
368
|
type: Optional[pulumi.Input[str]] = None):
|
405
369
|
"""
|
406
|
-
:param pulumi.Input[bool] is_daemon_set: If the Kubernetes cluster type is Daemon set then this will be set to true.
|
407
|
-
:param pulumi.Input[str] key: Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
408
370
|
:param pulumi.Input[str] name: Name of the property
|
409
371
|
:param pulumi.Input[str] type: The type of the DataSource.
|
410
372
|
"""
|
@@ -420,9 +382,6 @@ class ManagementAgentDataSourceSummaryListArgs:
|
|
420
382
|
@property
|
421
383
|
@pulumi.getter(name="isDaemonSet")
|
422
384
|
def is_daemon_set(self) -> Optional[pulumi.Input[bool]]:
|
423
|
-
"""
|
424
|
-
If the Kubernetes cluster type is Daemon set then this will be set to true.
|
425
|
-
"""
|
426
385
|
return pulumi.get(self, "is_daemon_set")
|
427
386
|
|
428
387
|
@is_daemon_set.setter
|
@@ -432,9 +391,6 @@ class ManagementAgentDataSourceSummaryListArgs:
|
|
432
391
|
@property
|
433
392
|
@pulumi.getter
|
434
393
|
def key(self) -> Optional[pulumi.Input[str]]:
|
435
|
-
"""
|
436
|
-
Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
437
|
-
"""
|
438
394
|
return pulumi.get(self, "key")
|
439
395
|
|
440
396
|
@key.setter
|
@@ -23,7 +23,7 @@ class GetManagementAgentsResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getManagementAgents.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, access_level=None, availability_status=None, compartment_id=None, compartment_id_in_subtree=None, data_source_names=None, data_source_type=None, display_name=None, filters=None, gateway_ids=None, host_id=None, id=None, install_type=None, is_customer_deployed=None, management_agents=None, platform_types=None, plugin_names=None, state=None, versions=None):
|
26
|
+
def __init__(__self__, access_level=None, availability_status=None, compartment_id=None, compartment_id_in_subtree=None, data_source_names=None, data_source_type=None, display_name=None, filters=None, gateway_ids=None, host_id=None, id=None, install_type=None, is_customer_deployed=None, management_agents=None, platform_types=None, plugin_names=None, state=None, versions=None, wait_for_host_id=None):
|
27
27
|
if access_level and not isinstance(access_level, str):
|
28
28
|
raise TypeError("Expected argument 'access_level' to be a str")
|
29
29
|
pulumi.set(__self__, "access_level", access_level)
|
@@ -78,6 +78,9 @@ class GetManagementAgentsResult:
|
|
78
78
|
if versions and not isinstance(versions, list):
|
79
79
|
raise TypeError("Expected argument 'versions' to be a list")
|
80
80
|
pulumi.set(__self__, "versions", versions)
|
81
|
+
if wait_for_host_id and not isinstance(wait_for_host_id, int):
|
82
|
+
raise TypeError("Expected argument 'wait_for_host_id' to be a int")
|
83
|
+
pulumi.set(__self__, "wait_for_host_id", wait_for_host_id)
|
81
84
|
|
82
85
|
@property
|
83
86
|
@pulumi.getter(name="accessLevel")
|
@@ -205,6 +208,11 @@ class GetManagementAgentsResult:
|
|
205
208
|
"""
|
206
209
|
return pulumi.get(self, "versions")
|
207
210
|
|
211
|
+
@property
|
212
|
+
@pulumi.getter(name="waitForHostId")
|
213
|
+
def wait_for_host_id(self) -> Optional[int]:
|
214
|
+
return pulumi.get(self, "wait_for_host_id")
|
215
|
+
|
208
216
|
|
209
217
|
class AwaitableGetManagementAgentsResult(GetManagementAgentsResult):
|
210
218
|
# pylint: disable=using-constant-test
|
@@ -229,7 +237,8 @@ class AwaitableGetManagementAgentsResult(GetManagementAgentsResult):
|
|
229
237
|
platform_types=self.platform_types,
|
230
238
|
plugin_names=self.plugin_names,
|
231
239
|
state=self.state,
|
232
|
-
versions=self.versions
|
240
|
+
versions=self.versions,
|
241
|
+
wait_for_host_id=self.wait_for_host_id)
|
233
242
|
|
234
243
|
|
235
244
|
def get_management_agents(access_level: Optional[str] = None,
|
@@ -248,6 +257,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
248
257
|
plugin_names: Optional[Sequence[str]] = None,
|
249
258
|
state: Optional[str] = None,
|
250
259
|
versions: Optional[Sequence[str]] = None,
|
260
|
+
wait_for_host_id: Optional[int] = None,
|
251
261
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagementAgentsResult:
|
252
262
|
"""
|
253
263
|
This data source provides the list of Management Agents in Oracle Cloud Infrastructure Management Agent service.
|
@@ -272,6 +282,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
272
282
|
display_name=var["management_agent_display_name"],
|
273
283
|
gateway_ids=oci_apigateway_gateway["test_gateway"]["id"],
|
274
284
|
host_id=oci_management_agent_host["test_host"]["id"],
|
285
|
+
wait_for_host_id=10,
|
275
286
|
install_type=var["management_agent_install_type"],
|
276
287
|
is_customer_deployed=var["management_agent_is_customer_deployed"],
|
277
288
|
platform_types=var["management_agent_platform_type"],
|
@@ -297,6 +308,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
297
308
|
:param Sequence[str] plugin_names: Array of pluginName to return only Management Agents having the particular Plugins installed. A special pluginName of 'None' can be provided and this will return only Management Agents having no plugin installed. Example: ["PluginA"]
|
298
309
|
:param str state: Filter to return only Management Agents in the particular lifecycle state.
|
299
310
|
:param Sequence[str] versions: Array of versions to return only Management Agents having the particular agent versions. Example: ["202020.0101","210201.0513"]
|
311
|
+
:param int wait_for_host_id: When host_id argument is set, the data source will wait for the given period of time (in minutes) for this host_id to become available. This can be used when compute instance with Management Agent has been recently created.
|
300
312
|
"""
|
301
313
|
__args__ = dict()
|
302
314
|
__args__['accessLevel'] = access_level
|
@@ -315,6 +327,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
315
327
|
__args__['pluginNames'] = plugin_names
|
316
328
|
__args__['state'] = state
|
317
329
|
__args__['versions'] = versions
|
330
|
+
__args__['waitForHostId'] = wait_for_host_id
|
318
331
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
319
332
|
__ret__ = pulumi.runtime.invoke('oci:ManagementAgent/getManagementAgents:getManagementAgents', __args__, opts=opts, typ=GetManagementAgentsResult).value
|
320
333
|
|
@@ -336,7 +349,8 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
336
349
|
platform_types=pulumi.get(__ret__, 'platform_types'),
|
337
350
|
plugin_names=pulumi.get(__ret__, 'plugin_names'),
|
338
351
|
state=pulumi.get(__ret__, 'state'),
|
339
|
-
versions=pulumi.get(__ret__, 'versions')
|
352
|
+
versions=pulumi.get(__ret__, 'versions'),
|
353
|
+
wait_for_host_id=pulumi.get(__ret__, 'wait_for_host_id'))
|
340
354
|
|
341
355
|
|
342
356
|
@_utilities.lift_output_func(get_management_agents)
|
@@ -356,6 +370,7 @@ def get_management_agents_output(access_level: Optional[pulumi.Input[Optional[st
|
|
356
370
|
plugin_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
357
371
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
358
372
|
versions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
373
|
+
wait_for_host_id: Optional[pulumi.Input[Optional[int]]] = None,
|
359
374
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagementAgentsResult]:
|
360
375
|
"""
|
361
376
|
This data source provides the list of Management Agents in Oracle Cloud Infrastructure Management Agent service.
|
@@ -380,6 +395,7 @@ def get_management_agents_output(access_level: Optional[pulumi.Input[Optional[st
|
|
380
395
|
display_name=var["management_agent_display_name"],
|
381
396
|
gateway_ids=oci_apigateway_gateway["test_gateway"]["id"],
|
382
397
|
host_id=oci_management_agent_host["test_host"]["id"],
|
398
|
+
wait_for_host_id=10,
|
383
399
|
install_type=var["management_agent_install_type"],
|
384
400
|
is_customer_deployed=var["management_agent_is_customer_deployed"],
|
385
401
|
platform_types=var["management_agent_platform_type"],
|
@@ -405,5 +421,6 @@ def get_management_agents_output(access_level: Optional[pulumi.Input[Optional[st
|
|
405
421
|
:param Sequence[str] plugin_names: Array of pluginName to return only Management Agents having the particular Plugins installed. A special pluginName of 'None' can be provided and this will return only Management Agents having no plugin installed. Example: ["PluginA"]
|
406
422
|
:param str state: Filter to return only Management Agents in the particular lifecycle state.
|
407
423
|
:param Sequence[str] versions: Array of versions to return only Management Agents having the particular agent versions. Example: ["202020.0101","210201.0513"]
|
424
|
+
:param int wait_for_host_id: When host_id argument is set, the data source will wait for the given period of time (in minutes) for this host_id to become available. This can be used when compute instance with Management Agent has been recently created.
|
408
425
|
"""
|
409
426
|
...
|