pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.13.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 +169 -19
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +947 -196
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/get_volume.py +18 -4
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +1282 -153
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +13 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +395 -17
- pulumi_oci/desktops/desktop_pool.py +253 -21
- pulumi_oci/desktops/get_desktop_pool.py +62 -5
- pulumi_oci/desktops/outputs.py +807 -25
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/{globallydistributeddatabase → zpr}/__init__.py +5 -6
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/RECORD +212 -142
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/WHEEL +1 -1
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/top_level.txt +0 -0
@@ -28,13 +28,19 @@ class GetAlarmSuppressionsResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getAlarmSuppressions.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, alarm_id=None, alarm_suppression_collections=None, display_name=None, filters=None, id=None, state=None):
|
31
|
+
def __init__(__self__, alarm_id=None, alarm_suppression_collections=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, is_all_suppressions=None, level=None, state=None, target_type=None):
|
32
32
|
if alarm_id and not isinstance(alarm_id, str):
|
33
33
|
raise TypeError("Expected argument 'alarm_id' to be a str")
|
34
34
|
pulumi.set(__self__, "alarm_id", alarm_id)
|
35
35
|
if alarm_suppression_collections and not isinstance(alarm_suppression_collections, list):
|
36
36
|
raise TypeError("Expected argument 'alarm_suppression_collections' to be a list")
|
37
37
|
pulumi.set(__self__, "alarm_suppression_collections", alarm_suppression_collections)
|
38
|
+
if compartment_id and not isinstance(compartment_id, str):
|
39
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
40
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
42
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
43
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
38
44
|
if display_name and not isinstance(display_name, str):
|
39
45
|
raise TypeError("Expected argument 'display_name' to be a str")
|
40
46
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -44,13 +50,22 @@ class GetAlarmSuppressionsResult:
|
|
44
50
|
if id and not isinstance(id, str):
|
45
51
|
raise TypeError("Expected argument 'id' to be a str")
|
46
52
|
pulumi.set(__self__, "id", id)
|
53
|
+
if is_all_suppressions and not isinstance(is_all_suppressions, bool):
|
54
|
+
raise TypeError("Expected argument 'is_all_suppressions' to be a bool")
|
55
|
+
pulumi.set(__self__, "is_all_suppressions", is_all_suppressions)
|
56
|
+
if level and not isinstance(level, str):
|
57
|
+
raise TypeError("Expected argument 'level' to be a str")
|
58
|
+
pulumi.set(__self__, "level", level)
|
47
59
|
if state and not isinstance(state, str):
|
48
60
|
raise TypeError("Expected argument 'state' to be a str")
|
49
61
|
pulumi.set(__self__, "state", state)
|
62
|
+
if target_type and not isinstance(target_type, str):
|
63
|
+
raise TypeError("Expected argument 'target_type' to be a str")
|
64
|
+
pulumi.set(__self__, "target_type", target_type)
|
50
65
|
|
51
66
|
@property
|
52
67
|
@pulumi.getter(name="alarmId")
|
53
|
-
def alarm_id(self) -> str:
|
68
|
+
def alarm_id(self) -> Optional[str]:
|
54
69
|
"""
|
55
70
|
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
|
56
71
|
"""
|
@@ -64,6 +79,22 @@ class GetAlarmSuppressionsResult:
|
|
64
79
|
"""
|
65
80
|
return pulumi.get(self, "alarm_suppression_collections")
|
66
81
|
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="compartmentId")
|
84
|
+
def compartment_id(self) -> Optional[str]:
|
85
|
+
"""
|
86
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "compartment_id")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
92
|
+
def compartment_id_in_subtree(self) -> Optional[bool]:
|
93
|
+
"""
|
94
|
+
When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
97
|
+
|
67
98
|
@property
|
68
99
|
@pulumi.getter(name="displayName")
|
69
100
|
def display_name(self) -> Optional[str]:
|
@@ -85,6 +116,19 @@ class GetAlarmSuppressionsResult:
|
|
85
116
|
"""
|
86
117
|
return pulumi.get(self, "id")
|
87
118
|
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="isAllSuppressions")
|
121
|
+
def is_all_suppressions(self) -> Optional[bool]:
|
122
|
+
return pulumi.get(self, "is_all_suppressions")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def level(self) -> Optional[str]:
|
127
|
+
"""
|
128
|
+
The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "level")
|
131
|
+
|
88
132
|
@property
|
89
133
|
@pulumi.getter
|
90
134
|
def state(self) -> Optional[str]:
|
@@ -93,6 +137,14 @@ class GetAlarmSuppressionsResult:
|
|
93
137
|
"""
|
94
138
|
return pulumi.get(self, "state")
|
95
139
|
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="targetType")
|
142
|
+
def target_type(self) -> Optional[str]:
|
143
|
+
"""
|
144
|
+
The type of the alarm suppression target.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "target_type")
|
147
|
+
|
96
148
|
|
97
149
|
class AwaitableGetAlarmSuppressionsResult(GetAlarmSuppressionsResult):
|
98
150
|
# pylint: disable=using-constant-test
|
@@ -102,22 +154,32 @@ class AwaitableGetAlarmSuppressionsResult(GetAlarmSuppressionsResult):
|
|
102
154
|
return GetAlarmSuppressionsResult(
|
103
155
|
alarm_id=self.alarm_id,
|
104
156
|
alarm_suppression_collections=self.alarm_suppression_collections,
|
157
|
+
compartment_id=self.compartment_id,
|
158
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
105
159
|
display_name=self.display_name,
|
106
160
|
filters=self.filters,
|
107
161
|
id=self.id,
|
108
|
-
|
162
|
+
is_all_suppressions=self.is_all_suppressions,
|
163
|
+
level=self.level,
|
164
|
+
state=self.state,
|
165
|
+
target_type=self.target_type)
|
109
166
|
|
110
167
|
|
111
168
|
def get_alarm_suppressions(alarm_id: Optional[str] = None,
|
169
|
+
compartment_id: Optional[str] = None,
|
170
|
+
compartment_id_in_subtree: Optional[bool] = None,
|
112
171
|
display_name: Optional[str] = None,
|
113
172
|
filters: Optional[Sequence[Union['GetAlarmSuppressionsFilterArgs', 'GetAlarmSuppressionsFilterArgsDict']]] = None,
|
173
|
+
is_all_suppressions: Optional[bool] = None,
|
174
|
+
level: Optional[str] = None,
|
114
175
|
state: Optional[str] = None,
|
176
|
+
target_type: Optional[str] = None,
|
115
177
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlarmSuppressionsResult:
|
116
178
|
"""
|
117
179
|
This data source provides the list of Alarm Suppressions in Oracle Cloud Infrastructure Monitoring service.
|
118
180
|
|
119
|
-
Lists alarm suppressions for the specified alarm.
|
120
|
-
|
181
|
+
Lists alarm suppressions for the specified alarm. For more information, see
|
182
|
+
[Listing Alarm Suppressions](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-suppression.htm).
|
121
183
|
|
122
184
|
For important limits information, see
|
123
185
|
[Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
|
@@ -133,40 +195,73 @@ def get_alarm_suppressions(alarm_id: Optional[str] = None,
|
|
133
195
|
import pulumi_oci as oci
|
134
196
|
|
135
197
|
test_alarm_suppressions = oci.Monitoring.get_alarm_suppressions(alarm_id=test_alarm["id"],
|
198
|
+
compartment_id=compartment_id,
|
199
|
+
compartment_id_in_subtree=alarm_suppression_compartment_id_in_subtree,
|
136
200
|
display_name=alarm_suppression_display_name,
|
137
|
-
|
201
|
+
is_all_suppressions=alarm_suppression_is_all_suppressions,
|
202
|
+
level=alarm_suppression_level,
|
203
|
+
state=alarm_suppression_state,
|
204
|
+
target_type=alarm_suppression_target_type)
|
138
205
|
```
|
139
206
|
|
140
207
|
|
141
208
|
:param str alarm_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
|
142
|
-
:param str
|
209
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment.
|
210
|
+
|
211
|
+
If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only.
|
212
|
+
|
213
|
+
Example: `ocid1.compartment.oc1..exampleuniqueID`
|
214
|
+
:param bool compartment_id_in_subtree: When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.
|
215
|
+
:param str display_name: A filter to return only resources that match the given display name exactly. Use this filter to list an alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation.
|
216
|
+
:param bool is_all_suppressions: Setting this parameter to true requires the query to specify the alarm (`alarmId`).
|
217
|
+
|
218
|
+
When true, lists all alarm suppressions that affect the specified alarm, including suppressions that target the corresponding compartment or tenancy. When false, lists only the alarm suppressions that target the specified alarm.
|
219
|
+
|
220
|
+
Default is false.
|
221
|
+
:param str level: The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions.
|
143
222
|
:param str state: A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed.
|
223
|
+
:param str target_type: The target type to use when listing alarm suppressions. `ALARM` lists all suppression records for the specified alarm. `COMPARTMENT` lists all suppression records for the specified compartment or tenancy.
|
144
224
|
"""
|
145
225
|
__args__ = dict()
|
146
226
|
__args__['alarmId'] = alarm_id
|
227
|
+
__args__['compartmentId'] = compartment_id
|
228
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
147
229
|
__args__['displayName'] = display_name
|
148
230
|
__args__['filters'] = filters
|
231
|
+
__args__['isAllSuppressions'] = is_all_suppressions
|
232
|
+
__args__['level'] = level
|
149
233
|
__args__['state'] = state
|
234
|
+
__args__['targetType'] = target_type
|
150
235
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
151
236
|
__ret__ = pulumi.runtime.invoke('oci:Monitoring/getAlarmSuppressions:getAlarmSuppressions', __args__, opts=opts, typ=GetAlarmSuppressionsResult).value
|
152
237
|
|
153
238
|
return AwaitableGetAlarmSuppressionsResult(
|
154
239
|
alarm_id=pulumi.get(__ret__, 'alarm_id'),
|
155
240
|
alarm_suppression_collections=pulumi.get(__ret__, 'alarm_suppression_collections'),
|
241
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
242
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
156
243
|
display_name=pulumi.get(__ret__, 'display_name'),
|
157
244
|
filters=pulumi.get(__ret__, 'filters'),
|
158
245
|
id=pulumi.get(__ret__, 'id'),
|
159
|
-
|
160
|
-
|
246
|
+
is_all_suppressions=pulumi.get(__ret__, 'is_all_suppressions'),
|
247
|
+
level=pulumi.get(__ret__, 'level'),
|
248
|
+
state=pulumi.get(__ret__, 'state'),
|
249
|
+
target_type=pulumi.get(__ret__, 'target_type'))
|
250
|
+
def get_alarm_suppressions_output(alarm_id: Optional[pulumi.Input[Optional[str]]] = None,
|
251
|
+
compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
252
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
161
253
|
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
162
254
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAlarmSuppressionsFilterArgs', 'GetAlarmSuppressionsFilterArgsDict']]]]] = None,
|
255
|
+
is_all_suppressions: Optional[pulumi.Input[Optional[bool]]] = None,
|
256
|
+
level: Optional[pulumi.Input[Optional[str]]] = None,
|
163
257
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
258
|
+
target_type: Optional[pulumi.Input[Optional[str]]] = None,
|
164
259
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlarmSuppressionsResult]:
|
165
260
|
"""
|
166
261
|
This data source provides the list of Alarm Suppressions in Oracle Cloud Infrastructure Monitoring service.
|
167
262
|
|
168
|
-
Lists alarm suppressions for the specified alarm.
|
169
|
-
|
263
|
+
Lists alarm suppressions for the specified alarm. For more information, see
|
264
|
+
[Listing Alarm Suppressions](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-suppression.htm).
|
170
265
|
|
171
266
|
For important limits information, see
|
172
267
|
[Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
|
@@ -182,26 +277,54 @@ def get_alarm_suppressions_output(alarm_id: Optional[pulumi.Input[str]] = None,
|
|
182
277
|
import pulumi_oci as oci
|
183
278
|
|
184
279
|
test_alarm_suppressions = oci.Monitoring.get_alarm_suppressions(alarm_id=test_alarm["id"],
|
280
|
+
compartment_id=compartment_id,
|
281
|
+
compartment_id_in_subtree=alarm_suppression_compartment_id_in_subtree,
|
185
282
|
display_name=alarm_suppression_display_name,
|
186
|
-
|
283
|
+
is_all_suppressions=alarm_suppression_is_all_suppressions,
|
284
|
+
level=alarm_suppression_level,
|
285
|
+
state=alarm_suppression_state,
|
286
|
+
target_type=alarm_suppression_target_type)
|
187
287
|
```
|
188
288
|
|
189
289
|
|
190
290
|
:param str alarm_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
|
191
|
-
:param str
|
291
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment.
|
292
|
+
|
293
|
+
If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only.
|
294
|
+
|
295
|
+
Example: `ocid1.compartment.oc1..exampleuniqueID`
|
296
|
+
:param bool compartment_id_in_subtree: When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.
|
297
|
+
:param str display_name: A filter to return only resources that match the given display name exactly. Use this filter to list an alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation.
|
298
|
+
:param bool is_all_suppressions: Setting this parameter to true requires the query to specify the alarm (`alarmId`).
|
299
|
+
|
300
|
+
When true, lists all alarm suppressions that affect the specified alarm, including suppressions that target the corresponding compartment or tenancy. When false, lists only the alarm suppressions that target the specified alarm.
|
301
|
+
|
302
|
+
Default is false.
|
303
|
+
:param str level: The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions.
|
192
304
|
:param str state: A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed.
|
305
|
+
:param str target_type: The target type to use when listing alarm suppressions. `ALARM` lists all suppression records for the specified alarm. `COMPARTMENT` lists all suppression records for the specified compartment or tenancy.
|
193
306
|
"""
|
194
307
|
__args__ = dict()
|
195
308
|
__args__['alarmId'] = alarm_id
|
309
|
+
__args__['compartmentId'] = compartment_id
|
310
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
196
311
|
__args__['displayName'] = display_name
|
197
312
|
__args__['filters'] = filters
|
313
|
+
__args__['isAllSuppressions'] = is_all_suppressions
|
314
|
+
__args__['level'] = level
|
198
315
|
__args__['state'] = state
|
316
|
+
__args__['targetType'] = target_type
|
199
317
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
200
318
|
__ret__ = pulumi.runtime.invoke_output('oci:Monitoring/getAlarmSuppressions:getAlarmSuppressions', __args__, opts=opts, typ=GetAlarmSuppressionsResult)
|
201
319
|
return __ret__.apply(lambda __response__: GetAlarmSuppressionsResult(
|
202
320
|
alarm_id=pulumi.get(__response__, 'alarm_id'),
|
203
321
|
alarm_suppression_collections=pulumi.get(__response__, 'alarm_suppression_collections'),
|
322
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
323
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
204
324
|
display_name=pulumi.get(__response__, 'display_name'),
|
205
325
|
filters=pulumi.get(__response__, 'filters'),
|
206
326
|
id=pulumi.get(__response__, 'id'),
|
207
|
-
|
327
|
+
is_all_suppressions=pulumi.get(__response__, 'is_all_suppressions'),
|
328
|
+
level=pulumi.get(__response__, 'level'),
|
329
|
+
state=pulumi.get(__response__, 'state'),
|
330
|
+
target_type=pulumi.get(__response__, 'target_type')))
|