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
pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py
ADDED
@@ -0,0 +1,253 @@
|
|
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
|
+
|
17
|
+
__all__ = ['MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs', 'MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
enable_monitoring_template_on_given_resources: pulumi.Input[bool],
|
23
|
+
monitoring_template_id: pulumi.Input[str]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resource.
|
26
|
+
:param pulumi.Input[bool] enable_monitoring_template_on_given_resources: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
27
|
+
|
28
|
+
|
29
|
+
** IMPORTANT **
|
30
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
31
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "enable_monitoring_template_on_given_resources", enable_monitoring_template_on_given_resources)
|
34
|
+
pulumi.set(__self__, "monitoring_template_id", monitoring_template_id)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter(name="enableMonitoringTemplateOnGivenResources")
|
38
|
+
def enable_monitoring_template_on_given_resources(self) -> pulumi.Input[bool]:
|
39
|
+
"""
|
40
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
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
|
+
"""
|
46
|
+
return pulumi.get(self, "enable_monitoring_template_on_given_resources")
|
47
|
+
|
48
|
+
@enable_monitoring_template_on_given_resources.setter
|
49
|
+
def enable_monitoring_template_on_given_resources(self, value: pulumi.Input[bool]):
|
50
|
+
pulumi.set(self, "enable_monitoring_template_on_given_resources", value)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="monitoringTemplateId")
|
54
|
+
def monitoring_template_id(self) -> pulumi.Input[str]:
|
55
|
+
"""
|
56
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "monitoring_template_id")
|
59
|
+
|
60
|
+
@monitoring_template_id.setter
|
61
|
+
def monitoring_template_id(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "monitoring_template_id", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None,
|
69
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resources.
|
72
|
+
:param pulumi.Input[bool] enable_monitoring_template_on_given_resources: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
73
|
+
|
74
|
+
|
75
|
+
** IMPORTANT **
|
76
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
77
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
78
|
+
"""
|
79
|
+
if enable_monitoring_template_on_given_resources is not None:
|
80
|
+
pulumi.set(__self__, "enable_monitoring_template_on_given_resources", enable_monitoring_template_on_given_resources)
|
81
|
+
if monitoring_template_id is not None:
|
82
|
+
pulumi.set(__self__, "monitoring_template_id", monitoring_template_id)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="enableMonitoringTemplateOnGivenResources")
|
86
|
+
def enable_monitoring_template_on_given_resources(self) -> Optional[pulumi.Input[bool]]:
|
87
|
+
"""
|
88
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
89
|
+
|
90
|
+
|
91
|
+
** IMPORTANT **
|
92
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "enable_monitoring_template_on_given_resources")
|
95
|
+
|
96
|
+
@enable_monitoring_template_on_given_resources.setter
|
97
|
+
def enable_monitoring_template_on_given_resources(self, value: Optional[pulumi.Input[bool]]):
|
98
|
+
pulumi.set(self, "enable_monitoring_template_on_given_resources", value)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="monitoringTemplateId")
|
102
|
+
def monitoring_template_id(self) -> Optional[pulumi.Input[str]]:
|
103
|
+
"""
|
104
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "monitoring_template_id")
|
107
|
+
|
108
|
+
@monitoring_template_id.setter
|
109
|
+
def monitoring_template_id(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
pulumi.set(self, "monitoring_template_id", value)
|
111
|
+
|
112
|
+
|
113
|
+
class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None,
|
119
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
123
|
+
|
124
|
+
Apply the Monitoring Template identified by the id
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_monitoring_template_monitoring_template_on_given_resources_management = oci.stack_monitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("test_monitoring_template_monitoring_template_on_given_resources_management",
|
133
|
+
monitoring_template_id=test_monitoring_template["id"],
|
134
|
+
enable_monitoring_template_on_given_resources=enable_monitoring_template_on_given_resources)
|
135
|
+
```
|
136
|
+
|
137
|
+
:param str resource_name: The name of the resource.
|
138
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
139
|
+
:param pulumi.Input[bool] enable_monitoring_template_on_given_resources: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
140
|
+
|
141
|
+
|
142
|
+
** IMPORTANT **
|
143
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
144
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
145
|
+
"""
|
146
|
+
...
|
147
|
+
@overload
|
148
|
+
def __init__(__self__,
|
149
|
+
resource_name: str,
|
150
|
+
args: MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs,
|
151
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
152
|
+
"""
|
153
|
+
This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
154
|
+
|
155
|
+
Apply the Monitoring Template identified by the id
|
156
|
+
|
157
|
+
## Example Usage
|
158
|
+
|
159
|
+
```python
|
160
|
+
import pulumi
|
161
|
+
import pulumi_oci as oci
|
162
|
+
|
163
|
+
test_monitoring_template_monitoring_template_on_given_resources_management = oci.stack_monitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("test_monitoring_template_monitoring_template_on_given_resources_management",
|
164
|
+
monitoring_template_id=test_monitoring_template["id"],
|
165
|
+
enable_monitoring_template_on_given_resources=enable_monitoring_template_on_given_resources)
|
166
|
+
```
|
167
|
+
|
168
|
+
:param str resource_name: The name of the resource.
|
169
|
+
:param MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs args: The arguments to use to populate this resource's properties.
|
170
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
171
|
+
"""
|
172
|
+
...
|
173
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
174
|
+
resource_args, opts = _utilities.get_resource_args_opts(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
175
|
+
if resource_args is not None:
|
176
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
177
|
+
else:
|
178
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
179
|
+
|
180
|
+
def _internal_init(__self__,
|
181
|
+
resource_name: str,
|
182
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
183
|
+
enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None,
|
184
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None,
|
185
|
+
__props__=None):
|
186
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
187
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
188
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
189
|
+
if opts.id is None:
|
190
|
+
if __props__ is not None:
|
191
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
192
|
+
__props__ = MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.__new__(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs)
|
193
|
+
|
194
|
+
if enable_monitoring_template_on_given_resources is None and not opts.urn:
|
195
|
+
raise TypeError("Missing required property 'enable_monitoring_template_on_given_resources'")
|
196
|
+
__props__.__dict__["enable_monitoring_template_on_given_resources"] = enable_monitoring_template_on_given_resources
|
197
|
+
if monitoring_template_id is None and not opts.urn:
|
198
|
+
raise TypeError("Missing required property 'monitoring_template_id'")
|
199
|
+
__props__.__dict__["monitoring_template_id"] = monitoring_template_id
|
200
|
+
super(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement, __self__).__init__(
|
201
|
+
'oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement',
|
202
|
+
resource_name,
|
203
|
+
__props__,
|
204
|
+
opts)
|
205
|
+
|
206
|
+
@staticmethod
|
207
|
+
def get(resource_name: str,
|
208
|
+
id: pulumi.Input[str],
|
209
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
210
|
+
enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None,
|
211
|
+
monitoring_template_id: Optional[pulumi.Input[str]] = None) -> 'MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement':
|
212
|
+
"""
|
213
|
+
Get an existing MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resource's state with the given name, id, and optional extra
|
214
|
+
properties used to qualify the lookup.
|
215
|
+
|
216
|
+
:param str resource_name: The unique name of the resulting resource.
|
217
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
218
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
219
|
+
:param pulumi.Input[bool] enable_monitoring_template_on_given_resources: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
220
|
+
|
221
|
+
|
222
|
+
** IMPORTANT **
|
223
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
224
|
+
:param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
225
|
+
"""
|
226
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
227
|
+
|
228
|
+
__props__ = _MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState.__new__(_MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState)
|
229
|
+
|
230
|
+
__props__.__dict__["enable_monitoring_template_on_given_resources"] = enable_monitoring_template_on_given_resources
|
231
|
+
__props__.__dict__["monitoring_template_id"] = monitoring_template_id
|
232
|
+
return MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(resource_name, opts=opts, __props__=__props__)
|
233
|
+
|
234
|
+
@property
|
235
|
+
@pulumi.getter(name="enableMonitoringTemplateOnGivenResources")
|
236
|
+
def enable_monitoring_template_on_given_resources(self) -> pulumi.Output[bool]:
|
237
|
+
"""
|
238
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
239
|
+
|
240
|
+
|
241
|
+
** IMPORTANT **
|
242
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
243
|
+
"""
|
244
|
+
return pulumi.get(self, "enable_monitoring_template_on_given_resources")
|
245
|
+
|
246
|
+
@property
|
247
|
+
@pulumi.getter(name="monitoringTemplateId")
|
248
|
+
def monitoring_template_id(self) -> pulumi.Output[str]:
|
249
|
+
"""
|
250
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
251
|
+
"""
|
252
|
+
return pulumi.get(self, "monitoring_template_id")
|
253
|
+
|