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,935 @@
|
|
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__ = ['MaintenanceWindowArgs', 'MaintenanceWindow']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class MaintenanceWindowArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
compartment_id: pulumi.Input[str],
|
23
|
+
duration: pulumi.Input[str],
|
24
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
25
|
+
description: Optional[pulumi.Input[str]] = None,
|
26
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
27
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
+
is_outage: Optional[pulumi.Input[bool]] = None,
|
29
|
+
is_recurring: Optional[pulumi.Input[bool]] = None,
|
30
|
+
maintenance_window_type: Optional[pulumi.Input[str]] = None,
|
31
|
+
recurrences: Optional[pulumi.Input[str]] = None,
|
32
|
+
task_initiation_cutoff: Optional[pulumi.Input[int]] = None,
|
33
|
+
time_schedule_start: Optional[pulumi.Input[str]] = None):
|
34
|
+
"""
|
35
|
+
The set of arguments for constructing a MaintenanceWindow resource.
|
36
|
+
:param pulumi.Input[str] compartment_id: Tenancy OCID
|
37
|
+
:param pulumi.Input[str] duration: (Updatable) Duration if schedule type is Custom
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
39
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
40
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
41
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
42
|
+
:param pulumi.Input[bool] is_outage: (Updatable) Does the maintenenace window cause outage?
|
43
|
+
:param pulumi.Input[bool] is_recurring: (Updatable) Is this is a recurring maintenance window
|
44
|
+
:param pulumi.Input[str] maintenance_window_type: (Updatable) Type of maintenenace window
|
45
|
+
:param pulumi.Input[str] recurrences: (Updatable) Recurrence rule specification if recurring
|
46
|
+
:param pulumi.Input[int] task_initiation_cutoff: (Updatable) Task initiation cutoff
|
47
|
+
:param pulumi.Input[str] time_schedule_start: (Updatable) Start time of schedule
|
48
|
+
|
49
|
+
|
50
|
+
** IMPORTANT **
|
51
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
52
|
+
"""
|
53
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
54
|
+
pulumi.set(__self__, "duration", duration)
|
55
|
+
if defined_tags is not None:
|
56
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
57
|
+
if description is not None:
|
58
|
+
pulumi.set(__self__, "description", description)
|
59
|
+
if display_name is not None:
|
60
|
+
pulumi.set(__self__, "display_name", display_name)
|
61
|
+
if freeform_tags is not None:
|
62
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
63
|
+
if is_outage is not None:
|
64
|
+
pulumi.set(__self__, "is_outage", is_outage)
|
65
|
+
if is_recurring is not None:
|
66
|
+
pulumi.set(__self__, "is_recurring", is_recurring)
|
67
|
+
if maintenance_window_type is not None:
|
68
|
+
pulumi.set(__self__, "maintenance_window_type", maintenance_window_type)
|
69
|
+
if recurrences is not None:
|
70
|
+
pulumi.set(__self__, "recurrences", recurrences)
|
71
|
+
if task_initiation_cutoff is not None:
|
72
|
+
pulumi.set(__self__, "task_initiation_cutoff", task_initiation_cutoff)
|
73
|
+
if time_schedule_start is not None:
|
74
|
+
pulumi.set(__self__, "time_schedule_start", time_schedule_start)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="compartmentId")
|
78
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
79
|
+
"""
|
80
|
+
Tenancy OCID
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "compartment_id")
|
83
|
+
|
84
|
+
@compartment_id.setter
|
85
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
86
|
+
pulumi.set(self, "compartment_id", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def duration(self) -> pulumi.Input[str]:
|
91
|
+
"""
|
92
|
+
(Updatable) Duration if schedule type is Custom
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "duration")
|
95
|
+
|
96
|
+
@duration.setter
|
97
|
+
def duration(self, value: pulumi.Input[str]):
|
98
|
+
pulumi.set(self, "duration", value)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="definedTags")
|
102
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
103
|
+
"""
|
104
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "defined_tags")
|
107
|
+
|
108
|
+
@defined_tags.setter
|
109
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
110
|
+
pulumi.set(self, "defined_tags", value)
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter
|
114
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
115
|
+
"""
|
116
|
+
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "description")
|
119
|
+
|
120
|
+
@description.setter
|
121
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
122
|
+
pulumi.set(self, "description", value)
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="displayName")
|
126
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
127
|
+
"""
|
128
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "display_name")
|
131
|
+
|
132
|
+
@display_name.setter
|
133
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
134
|
+
pulumi.set(self, "display_name", value)
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter(name="freeformTags")
|
138
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
139
|
+
"""
|
140
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "freeform_tags")
|
143
|
+
|
144
|
+
@freeform_tags.setter
|
145
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
146
|
+
pulumi.set(self, "freeform_tags", value)
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="isOutage")
|
150
|
+
def is_outage(self) -> Optional[pulumi.Input[bool]]:
|
151
|
+
"""
|
152
|
+
(Updatable) Does the maintenenace window cause outage?
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "is_outage")
|
155
|
+
|
156
|
+
@is_outage.setter
|
157
|
+
def is_outage(self, value: Optional[pulumi.Input[bool]]):
|
158
|
+
pulumi.set(self, "is_outage", value)
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter(name="isRecurring")
|
162
|
+
def is_recurring(self) -> Optional[pulumi.Input[bool]]:
|
163
|
+
"""
|
164
|
+
(Updatable) Is this is a recurring maintenance window
|
165
|
+
"""
|
166
|
+
return pulumi.get(self, "is_recurring")
|
167
|
+
|
168
|
+
@is_recurring.setter
|
169
|
+
def is_recurring(self, value: Optional[pulumi.Input[bool]]):
|
170
|
+
pulumi.set(self, "is_recurring", value)
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter(name="maintenanceWindowType")
|
174
|
+
def maintenance_window_type(self) -> Optional[pulumi.Input[str]]:
|
175
|
+
"""
|
176
|
+
(Updatable) Type of maintenenace window
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "maintenance_window_type")
|
179
|
+
|
180
|
+
@maintenance_window_type.setter
|
181
|
+
def maintenance_window_type(self, value: Optional[pulumi.Input[str]]):
|
182
|
+
pulumi.set(self, "maintenance_window_type", value)
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter
|
186
|
+
def recurrences(self) -> Optional[pulumi.Input[str]]:
|
187
|
+
"""
|
188
|
+
(Updatable) Recurrence rule specification if recurring
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "recurrences")
|
191
|
+
|
192
|
+
@recurrences.setter
|
193
|
+
def recurrences(self, value: Optional[pulumi.Input[str]]):
|
194
|
+
pulumi.set(self, "recurrences", value)
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="taskInitiationCutoff")
|
198
|
+
def task_initiation_cutoff(self) -> Optional[pulumi.Input[int]]:
|
199
|
+
"""
|
200
|
+
(Updatable) Task initiation cutoff
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "task_initiation_cutoff")
|
203
|
+
|
204
|
+
@task_initiation_cutoff.setter
|
205
|
+
def task_initiation_cutoff(self, value: Optional[pulumi.Input[int]]):
|
206
|
+
pulumi.set(self, "task_initiation_cutoff", value)
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter(name="timeScheduleStart")
|
210
|
+
def time_schedule_start(self) -> Optional[pulumi.Input[str]]:
|
211
|
+
"""
|
212
|
+
(Updatable) Start time of schedule
|
213
|
+
|
214
|
+
|
215
|
+
** IMPORTANT **
|
216
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "time_schedule_start")
|
219
|
+
|
220
|
+
@time_schedule_start.setter
|
221
|
+
def time_schedule_start(self, value: Optional[pulumi.Input[str]]):
|
222
|
+
pulumi.set(self, "time_schedule_start", value)
|
223
|
+
|
224
|
+
|
225
|
+
@pulumi.input_type
|
226
|
+
class _MaintenanceWindowState:
|
227
|
+
def __init__(__self__, *,
|
228
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
229
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
230
|
+
description: Optional[pulumi.Input[str]] = None,
|
231
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
232
|
+
duration: Optional[pulumi.Input[str]] = None,
|
233
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
234
|
+
is_outage: Optional[pulumi.Input[bool]] = None,
|
235
|
+
is_recurring: Optional[pulumi.Input[bool]] = None,
|
236
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
237
|
+
maintenance_window_type: Optional[pulumi.Input[str]] = None,
|
238
|
+
recurrences: Optional[pulumi.Input[str]] = None,
|
239
|
+
resource_region: Optional[pulumi.Input[str]] = None,
|
240
|
+
state: Optional[pulumi.Input[str]] = None,
|
241
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
242
|
+
task_initiation_cutoff: Optional[pulumi.Input[int]] = None,
|
243
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
244
|
+
time_schedule_start: Optional[pulumi.Input[str]] = None,
|
245
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
246
|
+
"""
|
247
|
+
Input properties used for looking up and filtering MaintenanceWindow resources.
|
248
|
+
:param pulumi.Input[str] compartment_id: Tenancy OCID
|
249
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
250
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
251
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
252
|
+
:param pulumi.Input[str] duration: (Updatable) Duration if schedule type is Custom
|
253
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
254
|
+
:param pulumi.Input[bool] is_outage: (Updatable) Does the maintenenace window cause outage?
|
255
|
+
:param pulumi.Input[bool] is_recurring: (Updatable) Is this is a recurring maintenance window
|
256
|
+
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
257
|
+
:param pulumi.Input[str] maintenance_window_type: (Updatable) Type of maintenenace window
|
258
|
+
:param pulumi.Input[str] recurrences: (Updatable) Recurrence rule specification if recurring
|
259
|
+
:param pulumi.Input[str] resource_region: Associated region
|
260
|
+
:param pulumi.Input[str] state: The current state of the MaintenanceWindow.
|
261
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
262
|
+
:param pulumi.Input[int] task_initiation_cutoff: (Updatable) Task initiation cutoff
|
263
|
+
:param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
|
264
|
+
:param pulumi.Input[str] time_schedule_start: (Updatable) Start time of schedule
|
265
|
+
|
266
|
+
|
267
|
+
** IMPORTANT **
|
268
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
269
|
+
:param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
|
270
|
+
"""
|
271
|
+
if compartment_id is not None:
|
272
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
273
|
+
if defined_tags is not None:
|
274
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
275
|
+
if description is not None:
|
276
|
+
pulumi.set(__self__, "description", description)
|
277
|
+
if display_name is not None:
|
278
|
+
pulumi.set(__self__, "display_name", display_name)
|
279
|
+
if duration is not None:
|
280
|
+
pulumi.set(__self__, "duration", duration)
|
281
|
+
if freeform_tags is not None:
|
282
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
283
|
+
if is_outage is not None:
|
284
|
+
pulumi.set(__self__, "is_outage", is_outage)
|
285
|
+
if is_recurring is not None:
|
286
|
+
pulumi.set(__self__, "is_recurring", is_recurring)
|
287
|
+
if lifecycle_details is not None:
|
288
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
289
|
+
if maintenance_window_type is not None:
|
290
|
+
pulumi.set(__self__, "maintenance_window_type", maintenance_window_type)
|
291
|
+
if recurrences is not None:
|
292
|
+
pulumi.set(__self__, "recurrences", recurrences)
|
293
|
+
if resource_region is not None:
|
294
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
295
|
+
if state is not None:
|
296
|
+
pulumi.set(__self__, "state", state)
|
297
|
+
if system_tags is not None:
|
298
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
299
|
+
if task_initiation_cutoff is not None:
|
300
|
+
pulumi.set(__self__, "task_initiation_cutoff", task_initiation_cutoff)
|
301
|
+
if time_created is not None:
|
302
|
+
pulumi.set(__self__, "time_created", time_created)
|
303
|
+
if time_schedule_start is not None:
|
304
|
+
pulumi.set(__self__, "time_schedule_start", time_schedule_start)
|
305
|
+
if time_updated is not None:
|
306
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
307
|
+
|
308
|
+
@property
|
309
|
+
@pulumi.getter(name="compartmentId")
|
310
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
311
|
+
"""
|
312
|
+
Tenancy OCID
|
313
|
+
"""
|
314
|
+
return pulumi.get(self, "compartment_id")
|
315
|
+
|
316
|
+
@compartment_id.setter
|
317
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
318
|
+
pulumi.set(self, "compartment_id", value)
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter(name="definedTags")
|
322
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
323
|
+
"""
|
324
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
325
|
+
"""
|
326
|
+
return pulumi.get(self, "defined_tags")
|
327
|
+
|
328
|
+
@defined_tags.setter
|
329
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
330
|
+
pulumi.set(self, "defined_tags", value)
|
331
|
+
|
332
|
+
@property
|
333
|
+
@pulumi.getter
|
334
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
335
|
+
"""
|
336
|
+
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
337
|
+
"""
|
338
|
+
return pulumi.get(self, "description")
|
339
|
+
|
340
|
+
@description.setter
|
341
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
342
|
+
pulumi.set(self, "description", value)
|
343
|
+
|
344
|
+
@property
|
345
|
+
@pulumi.getter(name="displayName")
|
346
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
347
|
+
"""
|
348
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
349
|
+
"""
|
350
|
+
return pulumi.get(self, "display_name")
|
351
|
+
|
352
|
+
@display_name.setter
|
353
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
354
|
+
pulumi.set(self, "display_name", value)
|
355
|
+
|
356
|
+
@property
|
357
|
+
@pulumi.getter
|
358
|
+
def duration(self) -> Optional[pulumi.Input[str]]:
|
359
|
+
"""
|
360
|
+
(Updatable) Duration if schedule type is Custom
|
361
|
+
"""
|
362
|
+
return pulumi.get(self, "duration")
|
363
|
+
|
364
|
+
@duration.setter
|
365
|
+
def duration(self, value: Optional[pulumi.Input[str]]):
|
366
|
+
pulumi.set(self, "duration", value)
|
367
|
+
|
368
|
+
@property
|
369
|
+
@pulumi.getter(name="freeformTags")
|
370
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
371
|
+
"""
|
372
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
373
|
+
"""
|
374
|
+
return pulumi.get(self, "freeform_tags")
|
375
|
+
|
376
|
+
@freeform_tags.setter
|
377
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
378
|
+
pulumi.set(self, "freeform_tags", value)
|
379
|
+
|
380
|
+
@property
|
381
|
+
@pulumi.getter(name="isOutage")
|
382
|
+
def is_outage(self) -> Optional[pulumi.Input[bool]]:
|
383
|
+
"""
|
384
|
+
(Updatable) Does the maintenenace window cause outage?
|
385
|
+
"""
|
386
|
+
return pulumi.get(self, "is_outage")
|
387
|
+
|
388
|
+
@is_outage.setter
|
389
|
+
def is_outage(self, value: Optional[pulumi.Input[bool]]):
|
390
|
+
pulumi.set(self, "is_outage", value)
|
391
|
+
|
392
|
+
@property
|
393
|
+
@pulumi.getter(name="isRecurring")
|
394
|
+
def is_recurring(self) -> Optional[pulumi.Input[bool]]:
|
395
|
+
"""
|
396
|
+
(Updatable) Is this is a recurring maintenance window
|
397
|
+
"""
|
398
|
+
return pulumi.get(self, "is_recurring")
|
399
|
+
|
400
|
+
@is_recurring.setter
|
401
|
+
def is_recurring(self, value: Optional[pulumi.Input[bool]]):
|
402
|
+
pulumi.set(self, "is_recurring", value)
|
403
|
+
|
404
|
+
@property
|
405
|
+
@pulumi.getter(name="lifecycleDetails")
|
406
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
407
|
+
"""
|
408
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
409
|
+
"""
|
410
|
+
return pulumi.get(self, "lifecycle_details")
|
411
|
+
|
412
|
+
@lifecycle_details.setter
|
413
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
414
|
+
pulumi.set(self, "lifecycle_details", value)
|
415
|
+
|
416
|
+
@property
|
417
|
+
@pulumi.getter(name="maintenanceWindowType")
|
418
|
+
def maintenance_window_type(self) -> Optional[pulumi.Input[str]]:
|
419
|
+
"""
|
420
|
+
(Updatable) Type of maintenenace window
|
421
|
+
"""
|
422
|
+
return pulumi.get(self, "maintenance_window_type")
|
423
|
+
|
424
|
+
@maintenance_window_type.setter
|
425
|
+
def maintenance_window_type(self, value: Optional[pulumi.Input[str]]):
|
426
|
+
pulumi.set(self, "maintenance_window_type", value)
|
427
|
+
|
428
|
+
@property
|
429
|
+
@pulumi.getter
|
430
|
+
def recurrences(self) -> Optional[pulumi.Input[str]]:
|
431
|
+
"""
|
432
|
+
(Updatable) Recurrence rule specification if recurring
|
433
|
+
"""
|
434
|
+
return pulumi.get(self, "recurrences")
|
435
|
+
|
436
|
+
@recurrences.setter
|
437
|
+
def recurrences(self, value: Optional[pulumi.Input[str]]):
|
438
|
+
pulumi.set(self, "recurrences", value)
|
439
|
+
|
440
|
+
@property
|
441
|
+
@pulumi.getter(name="resourceRegion")
|
442
|
+
def resource_region(self) -> Optional[pulumi.Input[str]]:
|
443
|
+
"""
|
444
|
+
Associated region
|
445
|
+
"""
|
446
|
+
return pulumi.get(self, "resource_region")
|
447
|
+
|
448
|
+
@resource_region.setter
|
449
|
+
def resource_region(self, value: Optional[pulumi.Input[str]]):
|
450
|
+
pulumi.set(self, "resource_region", value)
|
451
|
+
|
452
|
+
@property
|
453
|
+
@pulumi.getter
|
454
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
455
|
+
"""
|
456
|
+
The current state of the MaintenanceWindow.
|
457
|
+
"""
|
458
|
+
return pulumi.get(self, "state")
|
459
|
+
|
460
|
+
@state.setter
|
461
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
462
|
+
pulumi.set(self, "state", value)
|
463
|
+
|
464
|
+
@property
|
465
|
+
@pulumi.getter(name="systemTags")
|
466
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
467
|
+
"""
|
468
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
469
|
+
"""
|
470
|
+
return pulumi.get(self, "system_tags")
|
471
|
+
|
472
|
+
@system_tags.setter
|
473
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
474
|
+
pulumi.set(self, "system_tags", value)
|
475
|
+
|
476
|
+
@property
|
477
|
+
@pulumi.getter(name="taskInitiationCutoff")
|
478
|
+
def task_initiation_cutoff(self) -> Optional[pulumi.Input[int]]:
|
479
|
+
"""
|
480
|
+
(Updatable) Task initiation cutoff
|
481
|
+
"""
|
482
|
+
return pulumi.get(self, "task_initiation_cutoff")
|
483
|
+
|
484
|
+
@task_initiation_cutoff.setter
|
485
|
+
def task_initiation_cutoff(self, value: Optional[pulumi.Input[int]]):
|
486
|
+
pulumi.set(self, "task_initiation_cutoff", value)
|
487
|
+
|
488
|
+
@property
|
489
|
+
@pulumi.getter(name="timeCreated")
|
490
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
491
|
+
"""
|
492
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
493
|
+
"""
|
494
|
+
return pulumi.get(self, "time_created")
|
495
|
+
|
496
|
+
@time_created.setter
|
497
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
498
|
+
pulumi.set(self, "time_created", value)
|
499
|
+
|
500
|
+
@property
|
501
|
+
@pulumi.getter(name="timeScheduleStart")
|
502
|
+
def time_schedule_start(self) -> Optional[pulumi.Input[str]]:
|
503
|
+
"""
|
504
|
+
(Updatable) Start time of schedule
|
505
|
+
|
506
|
+
|
507
|
+
** IMPORTANT **
|
508
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
509
|
+
"""
|
510
|
+
return pulumi.get(self, "time_schedule_start")
|
511
|
+
|
512
|
+
@time_schedule_start.setter
|
513
|
+
def time_schedule_start(self, value: Optional[pulumi.Input[str]]):
|
514
|
+
pulumi.set(self, "time_schedule_start", value)
|
515
|
+
|
516
|
+
@property
|
517
|
+
@pulumi.getter(name="timeUpdated")
|
518
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
519
|
+
"""
|
520
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
521
|
+
"""
|
522
|
+
return pulumi.get(self, "time_updated")
|
523
|
+
|
524
|
+
@time_updated.setter
|
525
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
526
|
+
pulumi.set(self, "time_updated", value)
|
527
|
+
|
528
|
+
|
529
|
+
class MaintenanceWindow(pulumi.CustomResource):
|
530
|
+
@overload
|
531
|
+
def __init__(__self__,
|
532
|
+
resource_name: str,
|
533
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
534
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
535
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
536
|
+
description: Optional[pulumi.Input[str]] = None,
|
537
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
538
|
+
duration: Optional[pulumi.Input[str]] = None,
|
539
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
540
|
+
is_outage: Optional[pulumi.Input[bool]] = None,
|
541
|
+
is_recurring: Optional[pulumi.Input[bool]] = None,
|
542
|
+
maintenance_window_type: Optional[pulumi.Input[str]] = None,
|
543
|
+
recurrences: Optional[pulumi.Input[str]] = None,
|
544
|
+
task_initiation_cutoff: Optional[pulumi.Input[int]] = None,
|
545
|
+
time_schedule_start: Optional[pulumi.Input[str]] = None,
|
546
|
+
__props__=None):
|
547
|
+
"""
|
548
|
+
This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
549
|
+
|
550
|
+
Creates a new MaintenanceWindow.
|
551
|
+
|
552
|
+
## Example Usage
|
553
|
+
|
554
|
+
```python
|
555
|
+
import pulumi
|
556
|
+
import pulumi_oci as oci
|
557
|
+
|
558
|
+
test_maintenance_window = oci.fleet_apps_management.MaintenanceWindow("test_maintenance_window",
|
559
|
+
compartment_id=compartment_id,
|
560
|
+
duration=maintenance_window_duration,
|
561
|
+
defined_tags={
|
562
|
+
"foo-namespace.bar-key": "value",
|
563
|
+
},
|
564
|
+
description=maintenance_window_description,
|
565
|
+
display_name=maintenance_window_display_name,
|
566
|
+
freeform_tags={
|
567
|
+
"bar-key": "value",
|
568
|
+
},
|
569
|
+
is_outage=maintenance_window_is_outage,
|
570
|
+
is_recurring=maintenance_window_is_recurring,
|
571
|
+
maintenance_window_type=maintenance_window_maintenance_window_type,
|
572
|
+
recurrences=maintenance_window_recurrences,
|
573
|
+
task_initiation_cutoff=maintenance_window_task_initiation_cutoff,
|
574
|
+
time_schedule_start=maintenance_window_time_schedule_start)
|
575
|
+
```
|
576
|
+
|
577
|
+
## Import
|
578
|
+
|
579
|
+
MaintenanceWindows can be imported using the `id`, e.g.
|
580
|
+
|
581
|
+
```sh
|
582
|
+
$ pulumi import oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
|
583
|
+
```
|
584
|
+
|
585
|
+
:param str resource_name: The name of the resource.
|
586
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
587
|
+
:param pulumi.Input[str] compartment_id: Tenancy OCID
|
588
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
589
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
590
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
591
|
+
:param pulumi.Input[str] duration: (Updatable) Duration if schedule type is Custom
|
592
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
593
|
+
:param pulumi.Input[bool] is_outage: (Updatable) Does the maintenenace window cause outage?
|
594
|
+
:param pulumi.Input[bool] is_recurring: (Updatable) Is this is a recurring maintenance window
|
595
|
+
:param pulumi.Input[str] maintenance_window_type: (Updatable) Type of maintenenace window
|
596
|
+
:param pulumi.Input[str] recurrences: (Updatable) Recurrence rule specification if recurring
|
597
|
+
:param pulumi.Input[int] task_initiation_cutoff: (Updatable) Task initiation cutoff
|
598
|
+
:param pulumi.Input[str] time_schedule_start: (Updatable) Start time of schedule
|
599
|
+
|
600
|
+
|
601
|
+
** IMPORTANT **
|
602
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
603
|
+
"""
|
604
|
+
...
|
605
|
+
@overload
|
606
|
+
def __init__(__self__,
|
607
|
+
resource_name: str,
|
608
|
+
args: MaintenanceWindowArgs,
|
609
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
610
|
+
"""
|
611
|
+
This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
612
|
+
|
613
|
+
Creates a new MaintenanceWindow.
|
614
|
+
|
615
|
+
## Example Usage
|
616
|
+
|
617
|
+
```python
|
618
|
+
import pulumi
|
619
|
+
import pulumi_oci as oci
|
620
|
+
|
621
|
+
test_maintenance_window = oci.fleet_apps_management.MaintenanceWindow("test_maintenance_window",
|
622
|
+
compartment_id=compartment_id,
|
623
|
+
duration=maintenance_window_duration,
|
624
|
+
defined_tags={
|
625
|
+
"foo-namespace.bar-key": "value",
|
626
|
+
},
|
627
|
+
description=maintenance_window_description,
|
628
|
+
display_name=maintenance_window_display_name,
|
629
|
+
freeform_tags={
|
630
|
+
"bar-key": "value",
|
631
|
+
},
|
632
|
+
is_outage=maintenance_window_is_outage,
|
633
|
+
is_recurring=maintenance_window_is_recurring,
|
634
|
+
maintenance_window_type=maintenance_window_maintenance_window_type,
|
635
|
+
recurrences=maintenance_window_recurrences,
|
636
|
+
task_initiation_cutoff=maintenance_window_task_initiation_cutoff,
|
637
|
+
time_schedule_start=maintenance_window_time_schedule_start)
|
638
|
+
```
|
639
|
+
|
640
|
+
## Import
|
641
|
+
|
642
|
+
MaintenanceWindows can be imported using the `id`, e.g.
|
643
|
+
|
644
|
+
```sh
|
645
|
+
$ pulumi import oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
|
646
|
+
```
|
647
|
+
|
648
|
+
:param str resource_name: The name of the resource.
|
649
|
+
:param MaintenanceWindowArgs args: The arguments to use to populate this resource's properties.
|
650
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
651
|
+
"""
|
652
|
+
...
|
653
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
654
|
+
resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
|
655
|
+
if resource_args is not None:
|
656
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
657
|
+
else:
|
658
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
659
|
+
|
660
|
+
def _internal_init(__self__,
|
661
|
+
resource_name: str,
|
662
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
663
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
664
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
665
|
+
description: Optional[pulumi.Input[str]] = None,
|
666
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
667
|
+
duration: Optional[pulumi.Input[str]] = None,
|
668
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
669
|
+
is_outage: Optional[pulumi.Input[bool]] = None,
|
670
|
+
is_recurring: Optional[pulumi.Input[bool]] = None,
|
671
|
+
maintenance_window_type: Optional[pulumi.Input[str]] = None,
|
672
|
+
recurrences: Optional[pulumi.Input[str]] = None,
|
673
|
+
task_initiation_cutoff: Optional[pulumi.Input[int]] = None,
|
674
|
+
time_schedule_start: Optional[pulumi.Input[str]] = None,
|
675
|
+
__props__=None):
|
676
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
677
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
678
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
679
|
+
if opts.id is None:
|
680
|
+
if __props__ is not None:
|
681
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
682
|
+
__props__ = MaintenanceWindowArgs.__new__(MaintenanceWindowArgs)
|
683
|
+
|
684
|
+
if compartment_id is None and not opts.urn:
|
685
|
+
raise TypeError("Missing required property 'compartment_id'")
|
686
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
687
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
688
|
+
__props__.__dict__["description"] = description
|
689
|
+
__props__.__dict__["display_name"] = display_name
|
690
|
+
if duration is None and not opts.urn:
|
691
|
+
raise TypeError("Missing required property 'duration'")
|
692
|
+
__props__.__dict__["duration"] = duration
|
693
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
694
|
+
__props__.__dict__["is_outage"] = is_outage
|
695
|
+
__props__.__dict__["is_recurring"] = is_recurring
|
696
|
+
__props__.__dict__["maintenance_window_type"] = maintenance_window_type
|
697
|
+
__props__.__dict__["recurrences"] = recurrences
|
698
|
+
__props__.__dict__["task_initiation_cutoff"] = task_initiation_cutoff
|
699
|
+
__props__.__dict__["time_schedule_start"] = time_schedule_start
|
700
|
+
__props__.__dict__["lifecycle_details"] = None
|
701
|
+
__props__.__dict__["resource_region"] = None
|
702
|
+
__props__.__dict__["state"] = None
|
703
|
+
__props__.__dict__["system_tags"] = None
|
704
|
+
__props__.__dict__["time_created"] = None
|
705
|
+
__props__.__dict__["time_updated"] = None
|
706
|
+
super(MaintenanceWindow, __self__).__init__(
|
707
|
+
'oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow',
|
708
|
+
resource_name,
|
709
|
+
__props__,
|
710
|
+
opts)
|
711
|
+
|
712
|
+
@staticmethod
|
713
|
+
def get(resource_name: str,
|
714
|
+
id: pulumi.Input[str],
|
715
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
716
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
717
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
718
|
+
description: Optional[pulumi.Input[str]] = None,
|
719
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
720
|
+
duration: Optional[pulumi.Input[str]] = None,
|
721
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
722
|
+
is_outage: Optional[pulumi.Input[bool]] = None,
|
723
|
+
is_recurring: Optional[pulumi.Input[bool]] = None,
|
724
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
725
|
+
maintenance_window_type: Optional[pulumi.Input[str]] = None,
|
726
|
+
recurrences: Optional[pulumi.Input[str]] = None,
|
727
|
+
resource_region: Optional[pulumi.Input[str]] = None,
|
728
|
+
state: Optional[pulumi.Input[str]] = None,
|
729
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
730
|
+
task_initiation_cutoff: Optional[pulumi.Input[int]] = None,
|
731
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
732
|
+
time_schedule_start: Optional[pulumi.Input[str]] = None,
|
733
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindow':
|
734
|
+
"""
|
735
|
+
Get an existing MaintenanceWindow resource's state with the given name, id, and optional extra
|
736
|
+
properties used to qualify the lookup.
|
737
|
+
|
738
|
+
:param str resource_name: The unique name of the resulting resource.
|
739
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
740
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
741
|
+
:param pulumi.Input[str] compartment_id: Tenancy OCID
|
742
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
743
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
744
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
745
|
+
:param pulumi.Input[str] duration: (Updatable) Duration if schedule type is Custom
|
746
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
747
|
+
:param pulumi.Input[bool] is_outage: (Updatable) Does the maintenenace window cause outage?
|
748
|
+
:param pulumi.Input[bool] is_recurring: (Updatable) Is this is a recurring maintenance window
|
749
|
+
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
750
|
+
:param pulumi.Input[str] maintenance_window_type: (Updatable) Type of maintenenace window
|
751
|
+
:param pulumi.Input[str] recurrences: (Updatable) Recurrence rule specification if recurring
|
752
|
+
:param pulumi.Input[str] resource_region: Associated region
|
753
|
+
:param pulumi.Input[str] state: The current state of the MaintenanceWindow.
|
754
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
755
|
+
:param pulumi.Input[int] task_initiation_cutoff: (Updatable) Task initiation cutoff
|
756
|
+
:param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
|
757
|
+
:param pulumi.Input[str] time_schedule_start: (Updatable) Start time of schedule
|
758
|
+
|
759
|
+
|
760
|
+
** IMPORTANT **
|
761
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
762
|
+
:param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
|
763
|
+
"""
|
764
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
765
|
+
|
766
|
+
__props__ = _MaintenanceWindowState.__new__(_MaintenanceWindowState)
|
767
|
+
|
768
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
769
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
770
|
+
__props__.__dict__["description"] = description
|
771
|
+
__props__.__dict__["display_name"] = display_name
|
772
|
+
__props__.__dict__["duration"] = duration
|
773
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
774
|
+
__props__.__dict__["is_outage"] = is_outage
|
775
|
+
__props__.__dict__["is_recurring"] = is_recurring
|
776
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
777
|
+
__props__.__dict__["maintenance_window_type"] = maintenance_window_type
|
778
|
+
__props__.__dict__["recurrences"] = recurrences
|
779
|
+
__props__.__dict__["resource_region"] = resource_region
|
780
|
+
__props__.__dict__["state"] = state
|
781
|
+
__props__.__dict__["system_tags"] = system_tags
|
782
|
+
__props__.__dict__["task_initiation_cutoff"] = task_initiation_cutoff
|
783
|
+
__props__.__dict__["time_created"] = time_created
|
784
|
+
__props__.__dict__["time_schedule_start"] = time_schedule_start
|
785
|
+
__props__.__dict__["time_updated"] = time_updated
|
786
|
+
return MaintenanceWindow(resource_name, opts=opts, __props__=__props__)
|
787
|
+
|
788
|
+
@property
|
789
|
+
@pulumi.getter(name="compartmentId")
|
790
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
791
|
+
"""
|
792
|
+
Tenancy OCID
|
793
|
+
"""
|
794
|
+
return pulumi.get(self, "compartment_id")
|
795
|
+
|
796
|
+
@property
|
797
|
+
@pulumi.getter(name="definedTags")
|
798
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
799
|
+
"""
|
800
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
801
|
+
"""
|
802
|
+
return pulumi.get(self, "defined_tags")
|
803
|
+
|
804
|
+
@property
|
805
|
+
@pulumi.getter
|
806
|
+
def description(self) -> pulumi.Output[str]:
|
807
|
+
"""
|
808
|
+
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
809
|
+
"""
|
810
|
+
return pulumi.get(self, "description")
|
811
|
+
|
812
|
+
@property
|
813
|
+
@pulumi.getter(name="displayName")
|
814
|
+
def display_name(self) -> pulumi.Output[str]:
|
815
|
+
"""
|
816
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
817
|
+
"""
|
818
|
+
return pulumi.get(self, "display_name")
|
819
|
+
|
820
|
+
@property
|
821
|
+
@pulumi.getter
|
822
|
+
def duration(self) -> pulumi.Output[str]:
|
823
|
+
"""
|
824
|
+
(Updatable) Duration if schedule type is Custom
|
825
|
+
"""
|
826
|
+
return pulumi.get(self, "duration")
|
827
|
+
|
828
|
+
@property
|
829
|
+
@pulumi.getter(name="freeformTags")
|
830
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
831
|
+
"""
|
832
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
833
|
+
"""
|
834
|
+
return pulumi.get(self, "freeform_tags")
|
835
|
+
|
836
|
+
@property
|
837
|
+
@pulumi.getter(name="isOutage")
|
838
|
+
def is_outage(self) -> pulumi.Output[bool]:
|
839
|
+
"""
|
840
|
+
(Updatable) Does the maintenenace window cause outage?
|
841
|
+
"""
|
842
|
+
return pulumi.get(self, "is_outage")
|
843
|
+
|
844
|
+
@property
|
845
|
+
@pulumi.getter(name="isRecurring")
|
846
|
+
def is_recurring(self) -> pulumi.Output[bool]:
|
847
|
+
"""
|
848
|
+
(Updatable) Is this is a recurring maintenance window
|
849
|
+
"""
|
850
|
+
return pulumi.get(self, "is_recurring")
|
851
|
+
|
852
|
+
@property
|
853
|
+
@pulumi.getter(name="lifecycleDetails")
|
854
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
855
|
+
"""
|
856
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
857
|
+
"""
|
858
|
+
return pulumi.get(self, "lifecycle_details")
|
859
|
+
|
860
|
+
@property
|
861
|
+
@pulumi.getter(name="maintenanceWindowType")
|
862
|
+
def maintenance_window_type(self) -> pulumi.Output[str]:
|
863
|
+
"""
|
864
|
+
(Updatable) Type of maintenenace window
|
865
|
+
"""
|
866
|
+
return pulumi.get(self, "maintenance_window_type")
|
867
|
+
|
868
|
+
@property
|
869
|
+
@pulumi.getter
|
870
|
+
def recurrences(self) -> pulumi.Output[str]:
|
871
|
+
"""
|
872
|
+
(Updatable) Recurrence rule specification if recurring
|
873
|
+
"""
|
874
|
+
return pulumi.get(self, "recurrences")
|
875
|
+
|
876
|
+
@property
|
877
|
+
@pulumi.getter(name="resourceRegion")
|
878
|
+
def resource_region(self) -> pulumi.Output[str]:
|
879
|
+
"""
|
880
|
+
Associated region
|
881
|
+
"""
|
882
|
+
return pulumi.get(self, "resource_region")
|
883
|
+
|
884
|
+
@property
|
885
|
+
@pulumi.getter
|
886
|
+
def state(self) -> pulumi.Output[str]:
|
887
|
+
"""
|
888
|
+
The current state of the MaintenanceWindow.
|
889
|
+
"""
|
890
|
+
return pulumi.get(self, "state")
|
891
|
+
|
892
|
+
@property
|
893
|
+
@pulumi.getter(name="systemTags")
|
894
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
895
|
+
"""
|
896
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
897
|
+
"""
|
898
|
+
return pulumi.get(self, "system_tags")
|
899
|
+
|
900
|
+
@property
|
901
|
+
@pulumi.getter(name="taskInitiationCutoff")
|
902
|
+
def task_initiation_cutoff(self) -> pulumi.Output[int]:
|
903
|
+
"""
|
904
|
+
(Updatable) Task initiation cutoff
|
905
|
+
"""
|
906
|
+
return pulumi.get(self, "task_initiation_cutoff")
|
907
|
+
|
908
|
+
@property
|
909
|
+
@pulumi.getter(name="timeCreated")
|
910
|
+
def time_created(self) -> pulumi.Output[str]:
|
911
|
+
"""
|
912
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
913
|
+
"""
|
914
|
+
return pulumi.get(self, "time_created")
|
915
|
+
|
916
|
+
@property
|
917
|
+
@pulumi.getter(name="timeScheduleStart")
|
918
|
+
def time_schedule_start(self) -> pulumi.Output[str]:
|
919
|
+
"""
|
920
|
+
(Updatable) Start time of schedule
|
921
|
+
|
922
|
+
|
923
|
+
** IMPORTANT **
|
924
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
925
|
+
"""
|
926
|
+
return pulumi.get(self, "time_schedule_start")
|
927
|
+
|
928
|
+
@property
|
929
|
+
@pulumi.getter(name="timeUpdated")
|
930
|
+
def time_updated(self) -> pulumi.Output[str]:
|
931
|
+
"""
|
932
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
933
|
+
"""
|
934
|
+
return pulumi.get(self, "time_updated")
|
935
|
+
|