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
@@ -0,0 +1,551 @@
|
|
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__ = ['MaintenanceWindowArgs', 'MaintenanceWindow']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class MaintenanceWindowArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
compartment_id: pulumi.Input[str],
|
25
|
+
resources: pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]],
|
26
|
+
schedule: pulumi.Input['MaintenanceWindowScheduleArgs'],
|
27
|
+
description: Optional[pulumi.Input[str]] = None,
|
28
|
+
name: Optional[pulumi.Input[str]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a MaintenanceWindow resource.
|
31
|
+
:param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
|
33
|
+
:param pulumi.Input['MaintenanceWindowScheduleArgs'] schedule: (Updatable) Schedule information of the Maintenance Window
|
34
|
+
:param pulumi.Input[str] description: (Updatable) Maintenance Window description.
|
35
|
+
:param pulumi.Input[str] name: Maintenance Window name.
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
pulumi.set(__self__, "resources", resources)
|
39
|
+
pulumi.set(__self__, "schedule", schedule)
|
40
|
+
if description is not None:
|
41
|
+
pulumi.set(__self__, "description", description)
|
42
|
+
if name is not None:
|
43
|
+
pulumi.set(__self__, "name", name)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="compartmentId")
|
47
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
48
|
+
"""
|
49
|
+
Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "compartment_id")
|
52
|
+
|
53
|
+
@compartment_id.setter
|
54
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
55
|
+
pulumi.set(self, "compartment_id", value)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def resources(self) -> pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]:
|
60
|
+
"""
|
61
|
+
(Updatable) List of resource Ids which are part of the Maintenance Window
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "resources")
|
64
|
+
|
65
|
+
@resources.setter
|
66
|
+
def resources(self, value: pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]):
|
67
|
+
pulumi.set(self, "resources", value)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter
|
71
|
+
def schedule(self) -> pulumi.Input['MaintenanceWindowScheduleArgs']:
|
72
|
+
"""
|
73
|
+
(Updatable) Schedule information of the Maintenance Window
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "schedule")
|
76
|
+
|
77
|
+
@schedule.setter
|
78
|
+
def schedule(self, value: pulumi.Input['MaintenanceWindowScheduleArgs']):
|
79
|
+
pulumi.set(self, "schedule", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
84
|
+
"""
|
85
|
+
(Updatable) Maintenance Window description.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "description")
|
88
|
+
|
89
|
+
@description.setter
|
90
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
91
|
+
pulumi.set(self, "description", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
96
|
+
"""
|
97
|
+
Maintenance Window name.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "name")
|
100
|
+
|
101
|
+
@name.setter
|
102
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
103
|
+
pulumi.set(self, "name", value)
|
104
|
+
|
105
|
+
|
106
|
+
@pulumi.input_type
|
107
|
+
class _MaintenanceWindowState:
|
108
|
+
def __init__(__self__, *,
|
109
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
110
|
+
description: Optional[pulumi.Input[str]] = None,
|
111
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
112
|
+
name: Optional[pulumi.Input[str]] = None,
|
113
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]] = None,
|
114
|
+
resources_details: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]]] = None,
|
115
|
+
schedule: Optional[pulumi.Input['MaintenanceWindowScheduleArgs']] = None,
|
116
|
+
state: Optional[pulumi.Input[str]] = None,
|
117
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
118
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
119
|
+
"""
|
120
|
+
Input properties used for looking up and filtering MaintenanceWindow resources.
|
121
|
+
:param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
122
|
+
:param pulumi.Input[str] description: (Updatable) Maintenance Window description.
|
123
|
+
:param pulumi.Input[str] lifecycle_details: Lifecycle Details of the Maintenance Window.
|
124
|
+
:param pulumi.Input[str] name: Maintenance Window name.
|
125
|
+
:param pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
|
126
|
+
:param pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]] resources_details: List of resource details that are part of the Maintenance Window.
|
127
|
+
:param pulumi.Input['MaintenanceWindowScheduleArgs'] schedule: (Updatable) Schedule information of the Maintenance Window
|
128
|
+
:param pulumi.Input[str] state: Lifecycle state of the monitored resource.
|
129
|
+
:param pulumi.Input[str] time_created: The time the the maintenance window was created. An RFC3339 formatted datetime string
|
130
|
+
:param pulumi.Input[str] time_updated: The time the the mainteance window was updated. An RFC3339 formatted datetime string
|
131
|
+
"""
|
132
|
+
if compartment_id is not None:
|
133
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
134
|
+
if description is not None:
|
135
|
+
pulumi.set(__self__, "description", description)
|
136
|
+
if lifecycle_details is not None:
|
137
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
138
|
+
if name is not None:
|
139
|
+
pulumi.set(__self__, "name", name)
|
140
|
+
if resources is not None:
|
141
|
+
pulumi.set(__self__, "resources", resources)
|
142
|
+
if resources_details is not None:
|
143
|
+
pulumi.set(__self__, "resources_details", resources_details)
|
144
|
+
if schedule is not None:
|
145
|
+
pulumi.set(__self__, "schedule", schedule)
|
146
|
+
if state is not None:
|
147
|
+
pulumi.set(__self__, "state", state)
|
148
|
+
if time_created is not None:
|
149
|
+
pulumi.set(__self__, "time_created", time_created)
|
150
|
+
if time_updated is not None:
|
151
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="compartmentId")
|
155
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
156
|
+
"""
|
157
|
+
Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "compartment_id")
|
160
|
+
|
161
|
+
@compartment_id.setter
|
162
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
163
|
+
pulumi.set(self, "compartment_id", value)
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter
|
167
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
168
|
+
"""
|
169
|
+
(Updatable) Maintenance Window description.
|
170
|
+
"""
|
171
|
+
return pulumi.get(self, "description")
|
172
|
+
|
173
|
+
@description.setter
|
174
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
175
|
+
pulumi.set(self, "description", value)
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="lifecycleDetails")
|
179
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
180
|
+
"""
|
181
|
+
Lifecycle Details of the Maintenance Window.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "lifecycle_details")
|
184
|
+
|
185
|
+
@lifecycle_details.setter
|
186
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
187
|
+
pulumi.set(self, "lifecycle_details", value)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter
|
191
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
192
|
+
"""
|
193
|
+
Maintenance Window name.
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "name")
|
196
|
+
|
197
|
+
@name.setter
|
198
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
199
|
+
pulumi.set(self, "name", value)
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter
|
203
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]]:
|
204
|
+
"""
|
205
|
+
(Updatable) List of resource Ids which are part of the Maintenance Window
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "resources")
|
208
|
+
|
209
|
+
@resources.setter
|
210
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]]):
|
211
|
+
pulumi.set(self, "resources", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="resourcesDetails")
|
215
|
+
def resources_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]]]:
|
216
|
+
"""
|
217
|
+
List of resource details that are part of the Maintenance Window.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "resources_details")
|
220
|
+
|
221
|
+
@resources_details.setter
|
222
|
+
def resources_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]]]):
|
223
|
+
pulumi.set(self, "resources_details", value)
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter
|
227
|
+
def schedule(self) -> Optional[pulumi.Input['MaintenanceWindowScheduleArgs']]:
|
228
|
+
"""
|
229
|
+
(Updatable) Schedule information of the Maintenance Window
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "schedule")
|
232
|
+
|
233
|
+
@schedule.setter
|
234
|
+
def schedule(self, value: Optional[pulumi.Input['MaintenanceWindowScheduleArgs']]):
|
235
|
+
pulumi.set(self, "schedule", value)
|
236
|
+
|
237
|
+
@property
|
238
|
+
@pulumi.getter
|
239
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
240
|
+
"""
|
241
|
+
Lifecycle state of the monitored resource.
|
242
|
+
"""
|
243
|
+
return pulumi.get(self, "state")
|
244
|
+
|
245
|
+
@state.setter
|
246
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
247
|
+
pulumi.set(self, "state", value)
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter(name="timeCreated")
|
251
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
252
|
+
"""
|
253
|
+
The time the the maintenance window was created. An RFC3339 formatted datetime string
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "time_created")
|
256
|
+
|
257
|
+
@time_created.setter
|
258
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
259
|
+
pulumi.set(self, "time_created", value)
|
260
|
+
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="timeUpdated")
|
263
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
264
|
+
"""
|
265
|
+
The time the the mainteance window was updated. An RFC3339 formatted datetime string
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "time_updated")
|
268
|
+
|
269
|
+
@time_updated.setter
|
270
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
271
|
+
pulumi.set(self, "time_updated", value)
|
272
|
+
|
273
|
+
|
274
|
+
class MaintenanceWindow(pulumi.CustomResource):
|
275
|
+
@overload
|
276
|
+
def __init__(__self__,
|
277
|
+
resource_name: str,
|
278
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
279
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
280
|
+
description: Optional[pulumi.Input[str]] = None,
|
281
|
+
name: Optional[pulumi.Input[str]] = None,
|
282
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]]] = None,
|
283
|
+
schedule: Optional[pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']]] = None,
|
284
|
+
__props__=None):
|
285
|
+
"""
|
286
|
+
This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
287
|
+
|
288
|
+
Creates a new Maintenance Window for the given resources. It will create also the
|
289
|
+
Alarms Suppression for each alarm that the resource migth trigger.
|
290
|
+
|
291
|
+
## Example Usage
|
292
|
+
|
293
|
+
```python
|
294
|
+
import pulumi
|
295
|
+
import pulumi_oci as oci
|
296
|
+
|
297
|
+
test_maintenance_window = oci.stack_monitoring.MaintenanceWindow("test_maintenance_window",
|
298
|
+
compartment_id=compartment_id,
|
299
|
+
name=maintenance_window_name,
|
300
|
+
resources=[{
|
301
|
+
"resource_id": test_resource["id"],
|
302
|
+
"are_members_included": maintenance_window_resources_are_members_included,
|
303
|
+
}],
|
304
|
+
schedule={
|
305
|
+
"schedule_type": maintenance_window_schedule_schedule_type,
|
306
|
+
"maintenance_window_duration": maintenance_window_schedule_maintenance_window_duration,
|
307
|
+
"maintenance_window_recurrences": maintenance_window_schedule_maintenance_window_recurrences,
|
308
|
+
"time_maintenance_window_end": maintenance_window_schedule_time_maintenance_window_end,
|
309
|
+
"time_maintenance_window_start": maintenance_window_schedule_time_maintenance_window_start,
|
310
|
+
},
|
311
|
+
description=maintenance_window_description)
|
312
|
+
```
|
313
|
+
|
314
|
+
## Import
|
315
|
+
|
316
|
+
MaintenanceWindows can be imported using the `id`, e.g.
|
317
|
+
|
318
|
+
```sh
|
319
|
+
$ pulumi import oci:StackMonitoring/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
|
320
|
+
```
|
321
|
+
|
322
|
+
:param str resource_name: The name of the resource.
|
323
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
324
|
+
:param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
325
|
+
:param pulumi.Input[str] description: (Updatable) Maintenance Window description.
|
326
|
+
:param pulumi.Input[str] name: Maintenance Window name.
|
327
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
|
328
|
+
:param pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']] schedule: (Updatable) Schedule information of the Maintenance Window
|
329
|
+
"""
|
330
|
+
...
|
331
|
+
@overload
|
332
|
+
def __init__(__self__,
|
333
|
+
resource_name: str,
|
334
|
+
args: MaintenanceWindowArgs,
|
335
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
336
|
+
"""
|
337
|
+
This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
338
|
+
|
339
|
+
Creates a new Maintenance Window for the given resources. It will create also the
|
340
|
+
Alarms Suppression for each alarm that the resource migth trigger.
|
341
|
+
|
342
|
+
## Example Usage
|
343
|
+
|
344
|
+
```python
|
345
|
+
import pulumi
|
346
|
+
import pulumi_oci as oci
|
347
|
+
|
348
|
+
test_maintenance_window = oci.stack_monitoring.MaintenanceWindow("test_maintenance_window",
|
349
|
+
compartment_id=compartment_id,
|
350
|
+
name=maintenance_window_name,
|
351
|
+
resources=[{
|
352
|
+
"resource_id": test_resource["id"],
|
353
|
+
"are_members_included": maintenance_window_resources_are_members_included,
|
354
|
+
}],
|
355
|
+
schedule={
|
356
|
+
"schedule_type": maintenance_window_schedule_schedule_type,
|
357
|
+
"maintenance_window_duration": maintenance_window_schedule_maintenance_window_duration,
|
358
|
+
"maintenance_window_recurrences": maintenance_window_schedule_maintenance_window_recurrences,
|
359
|
+
"time_maintenance_window_end": maintenance_window_schedule_time_maintenance_window_end,
|
360
|
+
"time_maintenance_window_start": maintenance_window_schedule_time_maintenance_window_start,
|
361
|
+
},
|
362
|
+
description=maintenance_window_description)
|
363
|
+
```
|
364
|
+
|
365
|
+
## Import
|
366
|
+
|
367
|
+
MaintenanceWindows can be imported using the `id`, e.g.
|
368
|
+
|
369
|
+
```sh
|
370
|
+
$ pulumi import oci:StackMonitoring/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
|
371
|
+
```
|
372
|
+
|
373
|
+
:param str resource_name: The name of the resource.
|
374
|
+
:param MaintenanceWindowArgs args: The arguments to use to populate this resource's properties.
|
375
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
376
|
+
"""
|
377
|
+
...
|
378
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
379
|
+
resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
|
380
|
+
if resource_args is not None:
|
381
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
382
|
+
else:
|
383
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
384
|
+
|
385
|
+
def _internal_init(__self__,
|
386
|
+
resource_name: str,
|
387
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
388
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
389
|
+
description: Optional[pulumi.Input[str]] = None,
|
390
|
+
name: Optional[pulumi.Input[str]] = None,
|
391
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]]] = None,
|
392
|
+
schedule: Optional[pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']]] = None,
|
393
|
+
__props__=None):
|
394
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
395
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
396
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
397
|
+
if opts.id is None:
|
398
|
+
if __props__ is not None:
|
399
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
400
|
+
__props__ = MaintenanceWindowArgs.__new__(MaintenanceWindowArgs)
|
401
|
+
|
402
|
+
if compartment_id is None and not opts.urn:
|
403
|
+
raise TypeError("Missing required property 'compartment_id'")
|
404
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
405
|
+
__props__.__dict__["description"] = description
|
406
|
+
__props__.__dict__["name"] = name
|
407
|
+
if resources is None and not opts.urn:
|
408
|
+
raise TypeError("Missing required property 'resources'")
|
409
|
+
__props__.__dict__["resources"] = resources
|
410
|
+
if schedule is None and not opts.urn:
|
411
|
+
raise TypeError("Missing required property 'schedule'")
|
412
|
+
__props__.__dict__["schedule"] = schedule
|
413
|
+
__props__.__dict__["lifecycle_details"] = None
|
414
|
+
__props__.__dict__["resources_details"] = None
|
415
|
+
__props__.__dict__["state"] = None
|
416
|
+
__props__.__dict__["time_created"] = None
|
417
|
+
__props__.__dict__["time_updated"] = None
|
418
|
+
super(MaintenanceWindow, __self__).__init__(
|
419
|
+
'oci:StackMonitoring/maintenanceWindow:MaintenanceWindow',
|
420
|
+
resource_name,
|
421
|
+
__props__,
|
422
|
+
opts)
|
423
|
+
|
424
|
+
@staticmethod
|
425
|
+
def get(resource_name: str,
|
426
|
+
id: pulumi.Input[str],
|
427
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
428
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
429
|
+
description: Optional[pulumi.Input[str]] = None,
|
430
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
431
|
+
name: Optional[pulumi.Input[str]] = None,
|
432
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]]] = None,
|
433
|
+
resources_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourcesDetailArgs', 'MaintenanceWindowResourcesDetailArgsDict']]]]] = None,
|
434
|
+
schedule: Optional[pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']]] = None,
|
435
|
+
state: Optional[pulumi.Input[str]] = None,
|
436
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
437
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindow':
|
438
|
+
"""
|
439
|
+
Get an existing MaintenanceWindow resource's state with the given name, id, and optional extra
|
440
|
+
properties used to qualify the lookup.
|
441
|
+
|
442
|
+
:param str resource_name: The unique name of the resulting resource.
|
443
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
444
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
445
|
+
:param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
446
|
+
:param pulumi.Input[str] description: (Updatable) Maintenance Window description.
|
447
|
+
:param pulumi.Input[str] lifecycle_details: Lifecycle Details of the Maintenance Window.
|
448
|
+
:param pulumi.Input[str] name: Maintenance Window name.
|
449
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
|
450
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourcesDetailArgs', 'MaintenanceWindowResourcesDetailArgsDict']]]] resources_details: List of resource details that are part of the Maintenance Window.
|
451
|
+
:param pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']] schedule: (Updatable) Schedule information of the Maintenance Window
|
452
|
+
:param pulumi.Input[str] state: Lifecycle state of the monitored resource.
|
453
|
+
:param pulumi.Input[str] time_created: The time the the maintenance window was created. An RFC3339 formatted datetime string
|
454
|
+
:param pulumi.Input[str] time_updated: The time the the mainteance window was updated. An RFC3339 formatted datetime string
|
455
|
+
"""
|
456
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
457
|
+
|
458
|
+
__props__ = _MaintenanceWindowState.__new__(_MaintenanceWindowState)
|
459
|
+
|
460
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
461
|
+
__props__.__dict__["description"] = description
|
462
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
463
|
+
__props__.__dict__["name"] = name
|
464
|
+
__props__.__dict__["resources"] = resources
|
465
|
+
__props__.__dict__["resources_details"] = resources_details
|
466
|
+
__props__.__dict__["schedule"] = schedule
|
467
|
+
__props__.__dict__["state"] = state
|
468
|
+
__props__.__dict__["time_created"] = time_created
|
469
|
+
__props__.__dict__["time_updated"] = time_updated
|
470
|
+
return MaintenanceWindow(resource_name, opts=opts, __props__=__props__)
|
471
|
+
|
472
|
+
@property
|
473
|
+
@pulumi.getter(name="compartmentId")
|
474
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
475
|
+
"""
|
476
|
+
Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
477
|
+
"""
|
478
|
+
return pulumi.get(self, "compartment_id")
|
479
|
+
|
480
|
+
@property
|
481
|
+
@pulumi.getter
|
482
|
+
def description(self) -> pulumi.Output[str]:
|
483
|
+
"""
|
484
|
+
(Updatable) Maintenance Window description.
|
485
|
+
"""
|
486
|
+
return pulumi.get(self, "description")
|
487
|
+
|
488
|
+
@property
|
489
|
+
@pulumi.getter(name="lifecycleDetails")
|
490
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
491
|
+
"""
|
492
|
+
Lifecycle Details of the Maintenance Window.
|
493
|
+
"""
|
494
|
+
return pulumi.get(self, "lifecycle_details")
|
495
|
+
|
496
|
+
@property
|
497
|
+
@pulumi.getter
|
498
|
+
def name(self) -> pulumi.Output[str]:
|
499
|
+
"""
|
500
|
+
Maintenance Window name.
|
501
|
+
"""
|
502
|
+
return pulumi.get(self, "name")
|
503
|
+
|
504
|
+
@property
|
505
|
+
@pulumi.getter
|
506
|
+
def resources(self) -> pulumi.Output[Sequence['outputs.MaintenanceWindowResource']]:
|
507
|
+
"""
|
508
|
+
(Updatable) List of resource Ids which are part of the Maintenance Window
|
509
|
+
"""
|
510
|
+
return pulumi.get(self, "resources")
|
511
|
+
|
512
|
+
@property
|
513
|
+
@pulumi.getter(name="resourcesDetails")
|
514
|
+
def resources_details(self) -> pulumi.Output[Sequence['outputs.MaintenanceWindowResourcesDetail']]:
|
515
|
+
"""
|
516
|
+
List of resource details that are part of the Maintenance Window.
|
517
|
+
"""
|
518
|
+
return pulumi.get(self, "resources_details")
|
519
|
+
|
520
|
+
@property
|
521
|
+
@pulumi.getter
|
522
|
+
def schedule(self) -> pulumi.Output['outputs.MaintenanceWindowSchedule']:
|
523
|
+
"""
|
524
|
+
(Updatable) Schedule information of the Maintenance Window
|
525
|
+
"""
|
526
|
+
return pulumi.get(self, "schedule")
|
527
|
+
|
528
|
+
@property
|
529
|
+
@pulumi.getter
|
530
|
+
def state(self) -> pulumi.Output[str]:
|
531
|
+
"""
|
532
|
+
Lifecycle state of the monitored resource.
|
533
|
+
"""
|
534
|
+
return pulumi.get(self, "state")
|
535
|
+
|
536
|
+
@property
|
537
|
+
@pulumi.getter(name="timeCreated")
|
538
|
+
def time_created(self) -> pulumi.Output[str]:
|
539
|
+
"""
|
540
|
+
The time the the maintenance window was created. An RFC3339 formatted datetime string
|
541
|
+
"""
|
542
|
+
return pulumi.get(self, "time_created")
|
543
|
+
|
544
|
+
@property
|
545
|
+
@pulumi.getter(name="timeUpdated")
|
546
|
+
def time_updated(self) -> pulumi.Output[str]:
|
547
|
+
"""
|
548
|
+
The time the the mainteance window was updated. An RFC3339 formatted datetime string
|
549
|
+
"""
|
550
|
+
return pulumi.get(self, "time_updated")
|
551
|
+
|