pulumi-oci 2.25.0a1740032973__py3-none-any.whl → 2.26.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 +102 -0
- pulumi_oci/config/__init__.pyi +2 -0
- pulumi_oci/config/vars.py +4 -0
- pulumi_oci/containerengine/_inputs.py +74 -35
- pulumi_oci/containerengine/cluster.py +4 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +180 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +1246 -57
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_container_database.py +92 -0
- pulumi_oci/database/autonomous_database.py +90 -22
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/backup_destination.py +84 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/db_system.py +111 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_container_database.py +43 -1
- pulumi_oci/database/get_autonomous_database.py +29 -1
- pulumi_oci/database/get_autonomous_databases.py +0 -26
- pulumi_oci/database/get_backup_destination.py +43 -1
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_maintenance_runs.py +20 -1
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +2260 -87
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +133 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/filesystem_snapshot_policy.py +28 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +15 -1
- pulumi_oci/filestorage/get_outbound_connector.py +15 -1
- pulumi_oci/filestorage/get_replication.py +15 -1
- pulumi_oci/filestorage/get_replication_target.py +15 -1
- pulumi_oci/filestorage/get_snapshot.py +15 -1
- pulumi_oci/filestorage/mount_target.py +28 -0
- pulumi_oci/filestorage/outbound_connector.py +28 -0
- pulumi_oci/filestorage/outputs.py +263 -0
- pulumi_oci/filestorage/replication.py +28 -0
- pulumi_oci/filestorage/snapshot.py +28 -0
- pulumi_oci/goldengate/connection.py +561 -162
- pulumi_oci/goldengate/database_registration.py +14 -14
- pulumi_oci/goldengate/get_connection.py +117 -6
- pulumi_oci/goldengate/outputs.py +96 -10
- pulumi_oci/jms/__init__.py +4 -0
- pulumi_oci/jms/_inputs.py +196 -0
- pulumi_oci/jms/get_fleet_error_analytics.py +163 -0
- pulumi_oci/jms/get_fleet_errors.py +264 -0
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +23 -1
- pulumi_oci/jms/get_jms_plugins.py +23 -1
- pulumi_oci/jms/get_plugin_error_analytics.py +163 -0
- pulumi_oci/jms/get_plugin_errors.py +264 -0
- pulumi_oci/jms/outputs.py +566 -6
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/provider.py +20 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- pulumi_oci/stackmonitoring/__init__.py +8 -0
- pulumi_oci/stackmonitoring/_inputs.py +372 -1
- pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py +185 -0
- pulumi_oci/stackmonitoring/get_metric_extension.py +1 -1
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +15 -1
- pulumi_oci/stackmonitoring/get_monitoring_template.py +380 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py +318 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py +262 -0
- pulumi_oci/stackmonitoring/get_monitoring_templates.py +289 -0
- pulumi_oci/stackmonitoring/metric_extension.py +4 -4
- pulumi_oci/stackmonitoring/monitored_resource_type.py +30 -0
- pulumi_oci/stackmonitoring/monitoring_template.py +954 -0
- pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py +780 -0
- pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py +253 -0
- pulumi_oci/stackmonitoring/outputs.py +1305 -118
- pulumi_oci/tenantmanagercontrolplane/__init__.py +33 -0
- pulumi_oci/tenantmanagercontrolplane/_inputs.py +685 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription.py +478 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain.py +253 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py +281 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_domains.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_link.py +197 -0
- pulumi_oci/tenantmanagercontrolplane/get_links.py +191 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py +233 -0
- pulumi_oci/tenantmanagercontrolplane/get_organizations.py +147 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.py +213 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py +235 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription.py +464 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.py +210 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/outputs.py +3257 -0
- pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py +409 -0
- pulumi_oci/vault/__init__.py +1 -1
- pulumi_oci/vault/_inputs.py +92 -0
- pulumi_oci/vault/get_secret.py +40 -1
- pulumi_oci/vault/{get_secret_version.py → get_secret_version_sdk_v2.py} +32 -77
- pulumi_oci/vault/outputs.py +210 -0
- pulumi_oci/vault/secret.py +122 -0
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/RECORD +218 -150
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,780 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['MonitoringTemplateAlarmConditionArgs', 'MonitoringTemplateAlarmCondition']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class MonitoringTemplateAlarmConditionArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
condition_type: pulumi.Input[str],
|
25
|
+
conditions: pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]],
|
26
|
+
metric_name: pulumi.Input[str],
|
27
|
+
monitoring_template_id: pulumi.Input[str],
|
28
|
+
namespace: pulumi.Input[str],
|
29
|
+
resource_type: pulumi.Input[str],
|
30
|
+
composite_type: Optional[pulumi.Input[str]] = None,
|
31
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
32
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
33
|
+
"""
|
34
|
+
The set of arguments for constructing a MonitoringTemplateAlarmCondition resource.
|
35
|
+
:param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template.
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]] conditions: (Updatable) Monitoring template conditions.
|
37
|
+
:param pulumi.Input[str] metric_name: (Updatable) The metric name.
|
38
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
39
|
+
:param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
40
|
+
:param pulumi.Input[str] resource_type: (Updatable) The resource group OCID.
|
41
|
+
|
42
|
+
|
43
|
+
** IMPORTANT **
|
44
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
45
|
+
:param pulumi.Input[str] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
46
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
47
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
48
|
+
"""
|
49
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
50
|
+
pulumi.set(__self__, "conditions", conditions)
|
51
|
+
pulumi.set(__self__, "metric_name", metric_name)
|
52
|
+
pulumi.set(__self__, "monitoring_template_id", monitoring_template_id)
|
53
|
+
pulumi.set(__self__, "namespace", namespace)
|
54
|
+
pulumi.set(__self__, "resource_type", resource_type)
|
55
|
+
if composite_type is not None:
|
56
|
+
pulumi.set(__self__, "composite_type", composite_type)
|
57
|
+
if defined_tags is not None:
|
58
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
59
|
+
if freeform_tags is not None:
|
60
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="conditionType")
|
64
|
+
def condition_type(self) -> pulumi.Input[str]:
|
65
|
+
"""
|
66
|
+
(Updatable) Type of defined monitoring template.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "condition_type")
|
69
|
+
|
70
|
+
@condition_type.setter
|
71
|
+
def condition_type(self, value: pulumi.Input[str]):
|
72
|
+
pulumi.set(self, "condition_type", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]:
|
77
|
+
"""
|
78
|
+
(Updatable) Monitoring template conditions.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "conditions")
|
81
|
+
|
82
|
+
@conditions.setter
|
83
|
+
def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]):
|
84
|
+
pulumi.set(self, "conditions", value)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="metricName")
|
88
|
+
def metric_name(self) -> pulumi.Input[str]:
|
89
|
+
"""
|
90
|
+
(Updatable) The metric name.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "metric_name")
|
93
|
+
|
94
|
+
@metric_name.setter
|
95
|
+
def metric_name(self, value: pulumi.Input[str]):
|
96
|
+
pulumi.set(self, "metric_name", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="monitoringTemplateId")
|
100
|
+
def monitoring_template_id(self) -> pulumi.Input[str]:
|
101
|
+
"""
|
102
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "monitoring_template_id")
|
105
|
+
|
106
|
+
@monitoring_template_id.setter
|
107
|
+
def monitoring_template_id(self, value: pulumi.Input[str]):
|
108
|
+
pulumi.set(self, "monitoring_template_id", value)
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def namespace(self) -> pulumi.Input[str]:
|
113
|
+
"""
|
114
|
+
(Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "namespace")
|
117
|
+
|
118
|
+
@namespace.setter
|
119
|
+
def namespace(self, value: pulumi.Input[str]):
|
120
|
+
pulumi.set(self, "namespace", value)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="resourceType")
|
124
|
+
def resource_type(self) -> pulumi.Input[str]:
|
125
|
+
"""
|
126
|
+
(Updatable) The resource group OCID.
|
127
|
+
|
128
|
+
|
129
|
+
** IMPORTANT **
|
130
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "resource_type")
|
133
|
+
|
134
|
+
@resource_type.setter
|
135
|
+
def resource_type(self, value: pulumi.Input[str]):
|
136
|
+
pulumi.set(self, "resource_type", value)
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter(name="compositeType")
|
140
|
+
def composite_type(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
"""
|
142
|
+
(Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
143
|
+
"""
|
144
|
+
return pulumi.get(self, "composite_type")
|
145
|
+
|
146
|
+
@composite_type.setter
|
147
|
+
def composite_type(self, value: Optional[pulumi.Input[str]]):
|
148
|
+
pulumi.set(self, "composite_type", value)
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter(name="definedTags")
|
152
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
153
|
+
"""
|
154
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "defined_tags")
|
157
|
+
|
158
|
+
@defined_tags.setter
|
159
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
160
|
+
pulumi.set(self, "defined_tags", value)
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="freeformTags")
|
164
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
165
|
+
"""
|
166
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "freeform_tags")
|
169
|
+
|
170
|
+
@freeform_tags.setter
|
171
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
172
|
+
pulumi.set(self, "freeform_tags", value)
|
173
|
+
|
174
|
+
|
175
|
+
@pulumi.input_type
|
176
|
+
class _MonitoringTemplateAlarmConditionState:
|
177
|
+
def __init__(__self__, *,
|
178
|
+
composite_type: Optional[pulumi.Input[str]] = None,
|
179
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
180
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]] = None,
|
181
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
182
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
183
|
+
metric_name: Optional[pulumi.Input[str]] = None,
|
184
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None,
|
185
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
186
|
+
resource_type: Optional[pulumi.Input[str]] = None,
|
187
|
+
state: Optional[pulumi.Input[str]] = None,
|
188
|
+
status: Optional[pulumi.Input[str]] = None,
|
189
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
190
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
191
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
192
|
+
"""
|
193
|
+
Input properties used for looking up and filtering MonitoringTemplateAlarmCondition resources.
|
194
|
+
:param pulumi.Input[str] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
195
|
+
:param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template.
|
196
|
+
:param pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]] conditions: (Updatable) Monitoring template conditions.
|
197
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
198
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
199
|
+
:param pulumi.Input[str] metric_name: (Updatable) The metric name.
|
200
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
201
|
+
:param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
202
|
+
:param pulumi.Input[str] resource_type: (Updatable) The resource group OCID.
|
203
|
+
|
204
|
+
|
205
|
+
** IMPORTANT **
|
206
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
207
|
+
:param pulumi.Input[str] state: The current lifecycle state of the monitoring template
|
208
|
+
:param pulumi.Input[str] status: The current status of the monitoring template i.e. whether it is Published or Unpublished
|
209
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
210
|
+
:param pulumi.Input[str] time_created: The date and time the alarm condition was created. Format defined by RFC3339.
|
211
|
+
:param pulumi.Input[str] time_updated: The date and time the alarm condition was updated. Format defined by RFC3339.
|
212
|
+
"""
|
213
|
+
if composite_type is not None:
|
214
|
+
pulumi.set(__self__, "composite_type", composite_type)
|
215
|
+
if condition_type is not None:
|
216
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
217
|
+
if conditions is not None:
|
218
|
+
pulumi.set(__self__, "conditions", conditions)
|
219
|
+
if defined_tags is not None:
|
220
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
221
|
+
if freeform_tags is not None:
|
222
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
223
|
+
if metric_name is not None:
|
224
|
+
pulumi.set(__self__, "metric_name", metric_name)
|
225
|
+
if monitoring_template_id is not None:
|
226
|
+
pulumi.set(__self__, "monitoring_template_id", monitoring_template_id)
|
227
|
+
if namespace is not None:
|
228
|
+
pulumi.set(__self__, "namespace", namespace)
|
229
|
+
if resource_type is not None:
|
230
|
+
pulumi.set(__self__, "resource_type", resource_type)
|
231
|
+
if state is not None:
|
232
|
+
pulumi.set(__self__, "state", state)
|
233
|
+
if status is not None:
|
234
|
+
pulumi.set(__self__, "status", status)
|
235
|
+
if system_tags is not None:
|
236
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
237
|
+
if time_created is not None:
|
238
|
+
pulumi.set(__self__, "time_created", time_created)
|
239
|
+
if time_updated is not None:
|
240
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter(name="compositeType")
|
244
|
+
def composite_type(self) -> Optional[pulumi.Input[str]]:
|
245
|
+
"""
|
246
|
+
(Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "composite_type")
|
249
|
+
|
250
|
+
@composite_type.setter
|
251
|
+
def composite_type(self, value: Optional[pulumi.Input[str]]):
|
252
|
+
pulumi.set(self, "composite_type", value)
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="conditionType")
|
256
|
+
def condition_type(self) -> Optional[pulumi.Input[str]]:
|
257
|
+
"""
|
258
|
+
(Updatable) Type of defined monitoring template.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "condition_type")
|
261
|
+
|
262
|
+
@condition_type.setter
|
263
|
+
def condition_type(self, value: Optional[pulumi.Input[str]]):
|
264
|
+
pulumi.set(self, "condition_type", value)
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter
|
268
|
+
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]]:
|
269
|
+
"""
|
270
|
+
(Updatable) Monitoring template conditions.
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "conditions")
|
273
|
+
|
274
|
+
@conditions.setter
|
275
|
+
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]]):
|
276
|
+
pulumi.set(self, "conditions", value)
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="definedTags")
|
280
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
281
|
+
"""
|
282
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "defined_tags")
|
285
|
+
|
286
|
+
@defined_tags.setter
|
287
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
288
|
+
pulumi.set(self, "defined_tags", value)
|
289
|
+
|
290
|
+
@property
|
291
|
+
@pulumi.getter(name="freeformTags")
|
292
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
293
|
+
"""
|
294
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "freeform_tags")
|
297
|
+
|
298
|
+
@freeform_tags.setter
|
299
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
300
|
+
pulumi.set(self, "freeform_tags", value)
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter(name="metricName")
|
304
|
+
def metric_name(self) -> Optional[pulumi.Input[str]]:
|
305
|
+
"""
|
306
|
+
(Updatable) The metric name.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "metric_name")
|
309
|
+
|
310
|
+
@metric_name.setter
|
311
|
+
def metric_name(self, value: Optional[pulumi.Input[str]]):
|
312
|
+
pulumi.set(self, "metric_name", value)
|
313
|
+
|
314
|
+
@property
|
315
|
+
@pulumi.getter(name="monitoringTemplateId")
|
316
|
+
def monitoring_template_id(self) -> Optional[pulumi.Input[str]]:
|
317
|
+
"""
|
318
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
319
|
+
"""
|
320
|
+
return pulumi.get(self, "monitoring_template_id")
|
321
|
+
|
322
|
+
@monitoring_template_id.setter
|
323
|
+
def monitoring_template_id(self, value: Optional[pulumi.Input[str]]):
|
324
|
+
pulumi.set(self, "monitoring_template_id", value)
|
325
|
+
|
326
|
+
@property
|
327
|
+
@pulumi.getter
|
328
|
+
def namespace(self) -> Optional[pulumi.Input[str]]:
|
329
|
+
"""
|
330
|
+
(Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
331
|
+
"""
|
332
|
+
return pulumi.get(self, "namespace")
|
333
|
+
|
334
|
+
@namespace.setter
|
335
|
+
def namespace(self, value: Optional[pulumi.Input[str]]):
|
336
|
+
pulumi.set(self, "namespace", value)
|
337
|
+
|
338
|
+
@property
|
339
|
+
@pulumi.getter(name="resourceType")
|
340
|
+
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
341
|
+
"""
|
342
|
+
(Updatable) The resource group OCID.
|
343
|
+
|
344
|
+
|
345
|
+
** IMPORTANT **
|
346
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
347
|
+
"""
|
348
|
+
return pulumi.get(self, "resource_type")
|
349
|
+
|
350
|
+
@resource_type.setter
|
351
|
+
def resource_type(self, value: Optional[pulumi.Input[str]]):
|
352
|
+
pulumi.set(self, "resource_type", value)
|
353
|
+
|
354
|
+
@property
|
355
|
+
@pulumi.getter
|
356
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
357
|
+
"""
|
358
|
+
The current lifecycle state of the monitoring template
|
359
|
+
"""
|
360
|
+
return pulumi.get(self, "state")
|
361
|
+
|
362
|
+
@state.setter
|
363
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
364
|
+
pulumi.set(self, "state", value)
|
365
|
+
|
366
|
+
@property
|
367
|
+
@pulumi.getter
|
368
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
369
|
+
"""
|
370
|
+
The current status of the monitoring template i.e. whether it is Published or Unpublished
|
371
|
+
"""
|
372
|
+
return pulumi.get(self, "status")
|
373
|
+
|
374
|
+
@status.setter
|
375
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
376
|
+
pulumi.set(self, "status", value)
|
377
|
+
|
378
|
+
@property
|
379
|
+
@pulumi.getter(name="systemTags")
|
380
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
381
|
+
"""
|
382
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
383
|
+
"""
|
384
|
+
return pulumi.get(self, "system_tags")
|
385
|
+
|
386
|
+
@system_tags.setter
|
387
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
388
|
+
pulumi.set(self, "system_tags", value)
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter(name="timeCreated")
|
392
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
393
|
+
"""
|
394
|
+
The date and time the alarm condition was created. Format defined by RFC3339.
|
395
|
+
"""
|
396
|
+
return pulumi.get(self, "time_created")
|
397
|
+
|
398
|
+
@time_created.setter
|
399
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
400
|
+
pulumi.set(self, "time_created", value)
|
401
|
+
|
402
|
+
@property
|
403
|
+
@pulumi.getter(name="timeUpdated")
|
404
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
405
|
+
"""
|
406
|
+
The date and time the alarm condition was updated. Format defined by RFC3339.
|
407
|
+
"""
|
408
|
+
return pulumi.get(self, "time_updated")
|
409
|
+
|
410
|
+
@time_updated.setter
|
411
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
412
|
+
pulumi.set(self, "time_updated", value)
|
413
|
+
|
414
|
+
|
415
|
+
class MonitoringTemplateAlarmCondition(pulumi.CustomResource):
|
416
|
+
@overload
|
417
|
+
def __init__(__self__,
|
418
|
+
resource_name: str,
|
419
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
420
|
+
composite_type: Optional[pulumi.Input[str]] = None,
|
421
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
422
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]]] = None,
|
423
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
424
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
425
|
+
metric_name: Optional[pulumi.Input[str]] = None,
|
426
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None,
|
427
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
428
|
+
resource_type: Optional[pulumi.Input[str]] = None,
|
429
|
+
__props__=None):
|
430
|
+
"""
|
431
|
+
This resource provides the Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
432
|
+
|
433
|
+
Create a new alarm condition in same monitoringTemplate compartment.
|
434
|
+
|
435
|
+
## Example Usage
|
436
|
+
|
437
|
+
```python
|
438
|
+
import pulumi
|
439
|
+
import pulumi_oci as oci
|
440
|
+
|
441
|
+
test_monitoring_template_alarm_condition = oci.stack_monitoring.MonitoringTemplateAlarmCondition("test_monitoring_template_alarm_condition",
|
442
|
+
condition_type=monitoring_template_alarm_condition_condition_type,
|
443
|
+
conditions=[{
|
444
|
+
"query": monitoring_template_alarm_condition_conditions_query,
|
445
|
+
"severity": monitoring_template_alarm_condition_conditions_severity,
|
446
|
+
"body": monitoring_template_alarm_condition_conditions_body,
|
447
|
+
"should_append_note": monitoring_template_alarm_condition_conditions_should_append_note,
|
448
|
+
"should_append_url": monitoring_template_alarm_condition_conditions_should_append_url,
|
449
|
+
"trigger_delay": monitoring_template_alarm_condition_conditions_trigger_delay,
|
450
|
+
}],
|
451
|
+
metric_name=test_metric["name"],
|
452
|
+
monitoring_template_id=test_monitoring_template["id"],
|
453
|
+
namespace=monitoring_template_alarm_condition_namespace,
|
454
|
+
resource_type=monitoring_template_alarm_condition_resource_type,
|
455
|
+
composite_type=monitoring_template_alarm_condition_composite_type,
|
456
|
+
defined_tags={
|
457
|
+
"foo-namespace.bar-key": "value",
|
458
|
+
},
|
459
|
+
freeform_tags={
|
460
|
+
"bar-key": "value",
|
461
|
+
})
|
462
|
+
```
|
463
|
+
|
464
|
+
## Import
|
465
|
+
|
466
|
+
MonitoringTemplateAlarmConditions can be imported using the `id`, e.g.
|
467
|
+
|
468
|
+
```sh
|
469
|
+
$ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}"
|
470
|
+
```
|
471
|
+
|
472
|
+
:param str resource_name: The name of the resource.
|
473
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
474
|
+
:param pulumi.Input[str] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
475
|
+
:param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template.
|
476
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]] conditions: (Updatable) Monitoring template conditions.
|
477
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
478
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
479
|
+
:param pulumi.Input[str] metric_name: (Updatable) The metric name.
|
480
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
481
|
+
:param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
482
|
+
:param pulumi.Input[str] resource_type: (Updatable) The resource group OCID.
|
483
|
+
|
484
|
+
|
485
|
+
** IMPORTANT **
|
486
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
487
|
+
"""
|
488
|
+
...
|
489
|
+
@overload
|
490
|
+
def __init__(__self__,
|
491
|
+
resource_name: str,
|
492
|
+
args: MonitoringTemplateAlarmConditionArgs,
|
493
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
494
|
+
"""
|
495
|
+
This resource provides the Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
496
|
+
|
497
|
+
Create a new alarm condition in same monitoringTemplate compartment.
|
498
|
+
|
499
|
+
## Example Usage
|
500
|
+
|
501
|
+
```python
|
502
|
+
import pulumi
|
503
|
+
import pulumi_oci as oci
|
504
|
+
|
505
|
+
test_monitoring_template_alarm_condition = oci.stack_monitoring.MonitoringTemplateAlarmCondition("test_monitoring_template_alarm_condition",
|
506
|
+
condition_type=monitoring_template_alarm_condition_condition_type,
|
507
|
+
conditions=[{
|
508
|
+
"query": monitoring_template_alarm_condition_conditions_query,
|
509
|
+
"severity": monitoring_template_alarm_condition_conditions_severity,
|
510
|
+
"body": monitoring_template_alarm_condition_conditions_body,
|
511
|
+
"should_append_note": monitoring_template_alarm_condition_conditions_should_append_note,
|
512
|
+
"should_append_url": monitoring_template_alarm_condition_conditions_should_append_url,
|
513
|
+
"trigger_delay": monitoring_template_alarm_condition_conditions_trigger_delay,
|
514
|
+
}],
|
515
|
+
metric_name=test_metric["name"],
|
516
|
+
monitoring_template_id=test_monitoring_template["id"],
|
517
|
+
namespace=monitoring_template_alarm_condition_namespace,
|
518
|
+
resource_type=monitoring_template_alarm_condition_resource_type,
|
519
|
+
composite_type=monitoring_template_alarm_condition_composite_type,
|
520
|
+
defined_tags={
|
521
|
+
"foo-namespace.bar-key": "value",
|
522
|
+
},
|
523
|
+
freeform_tags={
|
524
|
+
"bar-key": "value",
|
525
|
+
})
|
526
|
+
```
|
527
|
+
|
528
|
+
## Import
|
529
|
+
|
530
|
+
MonitoringTemplateAlarmConditions can be imported using the `id`, e.g.
|
531
|
+
|
532
|
+
```sh
|
533
|
+
$ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}"
|
534
|
+
```
|
535
|
+
|
536
|
+
:param str resource_name: The name of the resource.
|
537
|
+
:param MonitoringTemplateAlarmConditionArgs args: The arguments to use to populate this resource's properties.
|
538
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
539
|
+
"""
|
540
|
+
...
|
541
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
542
|
+
resource_args, opts = _utilities.get_resource_args_opts(MonitoringTemplateAlarmConditionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
543
|
+
if resource_args is not None:
|
544
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
545
|
+
else:
|
546
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
547
|
+
|
548
|
+
def _internal_init(__self__,
|
549
|
+
resource_name: str,
|
550
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
551
|
+
composite_type: Optional[pulumi.Input[str]] = None,
|
552
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
553
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]]] = None,
|
554
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
555
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
556
|
+
metric_name: Optional[pulumi.Input[str]] = None,
|
557
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None,
|
558
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
559
|
+
resource_type: Optional[pulumi.Input[str]] = None,
|
560
|
+
__props__=None):
|
561
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
562
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
563
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
564
|
+
if opts.id is None:
|
565
|
+
if __props__ is not None:
|
566
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
567
|
+
__props__ = MonitoringTemplateAlarmConditionArgs.__new__(MonitoringTemplateAlarmConditionArgs)
|
568
|
+
|
569
|
+
__props__.__dict__["composite_type"] = composite_type
|
570
|
+
if condition_type is None and not opts.urn:
|
571
|
+
raise TypeError("Missing required property 'condition_type'")
|
572
|
+
__props__.__dict__["condition_type"] = condition_type
|
573
|
+
if conditions is None and not opts.urn:
|
574
|
+
raise TypeError("Missing required property 'conditions'")
|
575
|
+
__props__.__dict__["conditions"] = conditions
|
576
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
577
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
578
|
+
if metric_name is None and not opts.urn:
|
579
|
+
raise TypeError("Missing required property 'metric_name'")
|
580
|
+
__props__.__dict__["metric_name"] = metric_name
|
581
|
+
if monitoring_template_id is None and not opts.urn:
|
582
|
+
raise TypeError("Missing required property 'monitoring_template_id'")
|
583
|
+
__props__.__dict__["monitoring_template_id"] = monitoring_template_id
|
584
|
+
if namespace is None and not opts.urn:
|
585
|
+
raise TypeError("Missing required property 'namespace'")
|
586
|
+
__props__.__dict__["namespace"] = namespace
|
587
|
+
if resource_type is None and not opts.urn:
|
588
|
+
raise TypeError("Missing required property 'resource_type'")
|
589
|
+
__props__.__dict__["resource_type"] = resource_type
|
590
|
+
__props__.__dict__["state"] = None
|
591
|
+
__props__.__dict__["status"] = None
|
592
|
+
__props__.__dict__["system_tags"] = None
|
593
|
+
__props__.__dict__["time_created"] = None
|
594
|
+
__props__.__dict__["time_updated"] = None
|
595
|
+
super(MonitoringTemplateAlarmCondition, __self__).__init__(
|
596
|
+
'oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition',
|
597
|
+
resource_name,
|
598
|
+
__props__,
|
599
|
+
opts)
|
600
|
+
|
601
|
+
@staticmethod
|
602
|
+
def get(resource_name: str,
|
603
|
+
id: pulumi.Input[str],
|
604
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
605
|
+
composite_type: Optional[pulumi.Input[str]] = None,
|
606
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
607
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]]] = None,
|
608
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
609
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
610
|
+
metric_name: Optional[pulumi.Input[str]] = None,
|
611
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None,
|
612
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
613
|
+
resource_type: Optional[pulumi.Input[str]] = None,
|
614
|
+
state: Optional[pulumi.Input[str]] = None,
|
615
|
+
status: Optional[pulumi.Input[str]] = None,
|
616
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
617
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
618
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'MonitoringTemplateAlarmCondition':
|
619
|
+
"""
|
620
|
+
Get an existing MonitoringTemplateAlarmCondition resource's state with the given name, id, and optional extra
|
621
|
+
properties used to qualify the lookup.
|
622
|
+
|
623
|
+
:param str resource_name: The unique name of the resulting resource.
|
624
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
625
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
626
|
+
:param pulumi.Input[str] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
627
|
+
:param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template.
|
628
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]] conditions: (Updatable) Monitoring template conditions.
|
629
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
630
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
631
|
+
:param pulumi.Input[str] metric_name: (Updatable) The metric name.
|
632
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
633
|
+
:param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
634
|
+
:param pulumi.Input[str] resource_type: (Updatable) The resource group OCID.
|
635
|
+
|
636
|
+
|
637
|
+
** IMPORTANT **
|
638
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
639
|
+
:param pulumi.Input[str] state: The current lifecycle state of the monitoring template
|
640
|
+
:param pulumi.Input[str] status: The current status of the monitoring template i.e. whether it is Published or Unpublished
|
641
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
642
|
+
:param pulumi.Input[str] time_created: The date and time the alarm condition was created. Format defined by RFC3339.
|
643
|
+
:param pulumi.Input[str] time_updated: The date and time the alarm condition was updated. Format defined by RFC3339.
|
644
|
+
"""
|
645
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
646
|
+
|
647
|
+
__props__ = _MonitoringTemplateAlarmConditionState.__new__(_MonitoringTemplateAlarmConditionState)
|
648
|
+
|
649
|
+
__props__.__dict__["composite_type"] = composite_type
|
650
|
+
__props__.__dict__["condition_type"] = condition_type
|
651
|
+
__props__.__dict__["conditions"] = conditions
|
652
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
653
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
654
|
+
__props__.__dict__["metric_name"] = metric_name
|
655
|
+
__props__.__dict__["monitoring_template_id"] = monitoring_template_id
|
656
|
+
__props__.__dict__["namespace"] = namespace
|
657
|
+
__props__.__dict__["resource_type"] = resource_type
|
658
|
+
__props__.__dict__["state"] = state
|
659
|
+
__props__.__dict__["status"] = status
|
660
|
+
__props__.__dict__["system_tags"] = system_tags
|
661
|
+
__props__.__dict__["time_created"] = time_created
|
662
|
+
__props__.__dict__["time_updated"] = time_updated
|
663
|
+
return MonitoringTemplateAlarmCondition(resource_name, opts=opts, __props__=__props__)
|
664
|
+
|
665
|
+
@property
|
666
|
+
@pulumi.getter(name="compositeType")
|
667
|
+
def composite_type(self) -> pulumi.Output[str]:
|
668
|
+
"""
|
669
|
+
(Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
670
|
+
"""
|
671
|
+
return pulumi.get(self, "composite_type")
|
672
|
+
|
673
|
+
@property
|
674
|
+
@pulumi.getter(name="conditionType")
|
675
|
+
def condition_type(self) -> pulumi.Output[str]:
|
676
|
+
"""
|
677
|
+
(Updatable) Type of defined monitoring template.
|
678
|
+
"""
|
679
|
+
return pulumi.get(self, "condition_type")
|
680
|
+
|
681
|
+
@property
|
682
|
+
@pulumi.getter
|
683
|
+
def conditions(self) -> pulumi.Output[Sequence['outputs.MonitoringTemplateAlarmConditionCondition']]:
|
684
|
+
"""
|
685
|
+
(Updatable) Monitoring template conditions.
|
686
|
+
"""
|
687
|
+
return pulumi.get(self, "conditions")
|
688
|
+
|
689
|
+
@property
|
690
|
+
@pulumi.getter(name="definedTags")
|
691
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
692
|
+
"""
|
693
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
694
|
+
"""
|
695
|
+
return pulumi.get(self, "defined_tags")
|
696
|
+
|
697
|
+
@property
|
698
|
+
@pulumi.getter(name="freeformTags")
|
699
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
700
|
+
"""
|
701
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
702
|
+
"""
|
703
|
+
return pulumi.get(self, "freeform_tags")
|
704
|
+
|
705
|
+
@property
|
706
|
+
@pulumi.getter(name="metricName")
|
707
|
+
def metric_name(self) -> pulumi.Output[str]:
|
708
|
+
"""
|
709
|
+
(Updatable) The metric name.
|
710
|
+
"""
|
711
|
+
return pulumi.get(self, "metric_name")
|
712
|
+
|
713
|
+
@property
|
714
|
+
@pulumi.getter(name="monitoringTemplateId")
|
715
|
+
def monitoring_template_id(self) -> pulumi.Output[str]:
|
716
|
+
"""
|
717
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "monitoring_template_id")
|
720
|
+
|
721
|
+
@property
|
722
|
+
@pulumi.getter
|
723
|
+
def namespace(self) -> pulumi.Output[str]:
|
724
|
+
"""
|
725
|
+
(Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
726
|
+
"""
|
727
|
+
return pulumi.get(self, "namespace")
|
728
|
+
|
729
|
+
@property
|
730
|
+
@pulumi.getter(name="resourceType")
|
731
|
+
def resource_type(self) -> pulumi.Output[str]:
|
732
|
+
"""
|
733
|
+
(Updatable) The resource group OCID.
|
734
|
+
|
735
|
+
|
736
|
+
** IMPORTANT **
|
737
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
738
|
+
"""
|
739
|
+
return pulumi.get(self, "resource_type")
|
740
|
+
|
741
|
+
@property
|
742
|
+
@pulumi.getter
|
743
|
+
def state(self) -> pulumi.Output[str]:
|
744
|
+
"""
|
745
|
+
The current lifecycle state of the monitoring template
|
746
|
+
"""
|
747
|
+
return pulumi.get(self, "state")
|
748
|
+
|
749
|
+
@property
|
750
|
+
@pulumi.getter
|
751
|
+
def status(self) -> pulumi.Output[str]:
|
752
|
+
"""
|
753
|
+
The current status of the monitoring template i.e. whether it is Published or Unpublished
|
754
|
+
"""
|
755
|
+
return pulumi.get(self, "status")
|
756
|
+
|
757
|
+
@property
|
758
|
+
@pulumi.getter(name="systemTags")
|
759
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
760
|
+
"""
|
761
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
762
|
+
"""
|
763
|
+
return pulumi.get(self, "system_tags")
|
764
|
+
|
765
|
+
@property
|
766
|
+
@pulumi.getter(name="timeCreated")
|
767
|
+
def time_created(self) -> pulumi.Output[str]:
|
768
|
+
"""
|
769
|
+
The date and time the alarm condition was created. Format defined by RFC3339.
|
770
|
+
"""
|
771
|
+
return pulumi.get(self, "time_created")
|
772
|
+
|
773
|
+
@property
|
774
|
+
@pulumi.getter(name="timeUpdated")
|
775
|
+
def time_updated(self) -> pulumi.Output[str]:
|
776
|
+
"""
|
777
|
+
The date and time the alarm condition was updated. Format defined by RFC3339.
|
778
|
+
"""
|
779
|
+
return pulumi.get(self, "time_updated")
|
780
|
+
|