pulumi-oci 2.5.0a1722062014__py3-none-any.whl → 2.6.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 +91 -32
- pulumi_oci/bigdataservice/_inputs.py +157 -14
- pulumi_oci/bigdataservice/bds_instance.py +175 -0
- pulumi_oci/bigdataservice/bds_instance_patch_action.py +64 -3
- pulumi_oci/bigdataservice/get_bds_instance.py +41 -1
- pulumi_oci/bigdataservice/outputs.py +264 -30
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +40 -0
- pulumi_oci/core/get_instance_maintenance_event.py +414 -0
- pulumi_oci/core/get_instance_maintenance_events.py +250 -0
- pulumi_oci/core/instance_maintenance_event.py +1022 -0
- pulumi_oci/core/outputs.py +314 -0
- pulumi_oci/database/autonomous_database.py +28 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/outputs.py +22 -0
- pulumi_oci/databasemigration/_inputs.py +184 -0
- pulumi_oci/databasemigration/job.py +99 -24
- pulumi_oci/databasemigration/outputs.py +171 -0
- pulumi_oci/datasafe/__init__.py +2 -4
- pulumi_oci/datasafe/_inputs.py +55 -0
- pulumi_oci/datasafe/alert.py +56 -0
- pulumi_oci/datasafe/alert_policy.py +745 -0
- pulumi_oci/datasafe/alert_policy_rule.py +446 -0
- pulumi_oci/datasafe/get_alert.py +27 -1
- pulumi_oci/datasafe/get_alert_policy.py +26 -2
- pulumi_oci/datasafe/get_alert_policy_rule.py +94 -18
- pulumi_oci/datasafe/get_report.py +14 -1
- pulumi_oci/datasafe/get_report_definition.py +14 -1
- pulumi_oci/datasafe/get_target_alert_policy_association.py +15 -2
- pulumi_oci/datasafe/outputs.py +231 -27
- pulumi_oci/datasafe/report.py +28 -0
- pulumi_oci/datasafe/report_definition.py +28 -0
- pulumi_oci/datasafe/target_alert_policy_association.py +28 -0
- pulumi_oci/devops/__init__.py +6 -0
- pulumi_oci/devops/_inputs.py +531 -32
- pulumi_oci/devops/get_build_runs.py +0 -5
- pulumi_oci/devops/get_project_repository_setting.py +129 -0
- pulumi_oci/devops/get_repositories.py +1 -1
- pulumi_oci/devops/get_repository.py +17 -4
- pulumi_oci/devops/get_repository_diffs.py +20 -3
- pulumi_oci/devops/get_repository_protected_branches.py +150 -0
- pulumi_oci/devops/get_repository_ref.py +2 -2
- pulumi_oci/devops/get_repository_setting.py +142 -0
- pulumi_oci/devops/get_triggers.py +0 -5
- pulumi_oci/devops/outputs.py +1216 -180
- pulumi_oci/devops/project_repository_setting.py +338 -0
- pulumi_oci/devops/repository.py +66 -75
- pulumi_oci/devops/repository_protected_branch_management.py +333 -0
- pulumi_oci/devops/repository_ref.py +2 -2
- pulumi_oci/devops/repository_setting.py +391 -0
- pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +3 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +3 -0
- pulumi_oci/generativeai/get_endpoint.py +6 -9
- pulumi_oci/generativeai/get_endpoints.py +3 -3
- pulumi_oci/generativeai/get_model.py +36 -6
- pulumi_oci/generativeai/get_models.py +6 -0
- pulumi_oci/generativeai/outputs.py +228 -16
- pulumi_oci/identity/__init__.py +3 -0
- pulumi_oci/identity/_inputs.py +1029 -0
- pulumi_oci/identity/domains_social_identity_provider.py +4628 -0
- pulumi_oci/identity/get_domains_social_identity_provider.py +664 -0
- pulumi_oci/identity/get_domains_social_identity_providers.py +276 -0
- pulumi_oci/identity/outputs.py +19544 -17378
- pulumi_oci/jms/__init__.py +4 -0
- pulumi_oci/jms/_inputs.py +80 -0
- pulumi_oci/jms/get_agent_installers.py +190 -0
- pulumi_oci/jms/get_fleet_blocklists.py +2 -2
- pulumi_oci/jms/get_fleet_crypto_analysis_result.py +29 -3
- pulumi_oci/jms/get_fleet_crypto_analysis_results.py +97 -3
- pulumi_oci/jms/get_fleet_export_setting.py +3 -3
- pulumi_oci/jms/get_fleet_export_status.py +2 -2
- pulumi_oci/jms/get_fleet_java_migration_analysis_result.py +2 -2
- pulumi_oci/jms/get_fleet_java_migration_analysis_results.py +45 -5
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py +4 -4
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +25 -5
- pulumi_oci/jms/get_fleets.py +2 -2
- pulumi_oci/jms/get_installation_site.py +4 -4
- pulumi_oci/jms/get_installation_sites.py +4 -4
- pulumi_oci/jms/get_java_downloads_java_download_tokens.py +2 -2
- pulumi_oci/jms/get_java_downloads_java_license_acceptance_records.py +2 -2
- pulumi_oci/jms/get_java_family.py +14 -1
- pulumi_oci/jms/get_jms_plugin.py +313 -0
- pulumi_oci/jms/get_jms_plugins.py +291 -0
- pulumi_oci/jms/jms_plugin.py +731 -0
- pulumi_oci/jms/outputs.py +488 -32
- pulumi_oci/networkfirewall/__init__.py +3 -0
- pulumi_oci/networkfirewall/_inputs.py +150 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rule.py +227 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rules.py +167 -0
- pulumi_oci/networkfirewall/network_firewall_policy_tunnel_inspection_rule.py +605 -0
- pulumi_oci/networkfirewall/outputs.py +457 -0
- pulumi_oci/osmanagementhub/get_software_source.py +19 -1
- pulumi_oci/osmanagementhub/software_source.py +82 -0
- pulumi_oci/psql/_inputs.py +8 -4
- pulumi_oci/psql/backup.py +4 -4
- pulumi_oci/psql/configuration.py +141 -38
- pulumi_oci/psql/db_system.py +53 -55
- pulumi_oci/psql/get_backup.py +1 -1
- pulumi_oci/psql/get_configuration.py +27 -1
- pulumi_oci/psql/get_configurations.py +2 -2
- pulumi_oci/psql/get_default_configuration.py +15 -2
- pulumi_oci/psql/get_default_configurations.py +2 -2
- pulumi_oci/psql/outputs.py +176 -13
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/get_redis_cluster.py +1 -1
- pulumi_oci/redis/outputs.py +2 -2
- pulumi_oci/redis/redis_cluster.py +7 -7
- pulumi_oci/stackmonitoring/_inputs.py +2 -2
- pulumi_oci/stackmonitoring/baselineable_metric.py +76 -28
- pulumi_oci/stackmonitoring/get_baselineable_metric.py +14 -1
- pulumi_oci/stackmonitoring/get_baselineable_metrics.py +45 -5
- pulumi_oci/stackmonitoring/outputs.py +19 -8
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/RECORD +125 -99
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/WHEEL +1 -1
- pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1022 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['InstanceMaintenanceEventArgs', 'InstanceMaintenanceEvent']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class InstanceMaintenanceEventArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
instance_maintenance_event_id: pulumi.Input[str],
|
18
|
+
alternative_resolution_action: Optional[pulumi.Input[str]] = None,
|
19
|
+
can_delete_local_storage: Optional[pulumi.Input[bool]] = None,
|
20
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
21
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
22
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
23
|
+
time_window_start: Optional[pulumi.Input[str]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a InstanceMaintenanceEvent resource.
|
26
|
+
:param pulumi.Input[str] instance_maintenance_event_id: The OCID of the instance maintenance event.
|
27
|
+
:param pulumi.Input[str] alternative_resolution_action: (Updatable) One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
|
28
|
+
:param pulumi.Input[bool] can_delete_local_storage: (Updatable) This field is only applicable when setting the alternativeResolutionAction.
|
29
|
+
|
30
|
+
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
|
31
|
+
|
32
|
+
In cases where the local storage will be lost, this parameter must be set or the request will fail.
|
33
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
34
|
+
: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.
|
35
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
36
|
+
:param pulumi.Input[str] time_window_start: (Updatable) The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
37
|
+
|
38
|
+
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
|
39
|
+
|
40
|
+
|
41
|
+
** IMPORTANT **
|
42
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
43
|
+
"""
|
44
|
+
pulumi.set(__self__, "instance_maintenance_event_id", instance_maintenance_event_id)
|
45
|
+
if alternative_resolution_action is not None:
|
46
|
+
pulumi.set(__self__, "alternative_resolution_action", alternative_resolution_action)
|
47
|
+
if can_delete_local_storage is not None:
|
48
|
+
pulumi.set(__self__, "can_delete_local_storage", can_delete_local_storage)
|
49
|
+
if defined_tags is not None:
|
50
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
51
|
+
if display_name is not None:
|
52
|
+
pulumi.set(__self__, "display_name", display_name)
|
53
|
+
if freeform_tags is not None:
|
54
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
55
|
+
if time_window_start is not None:
|
56
|
+
pulumi.set(__self__, "time_window_start", time_window_start)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="instanceMaintenanceEventId")
|
60
|
+
def instance_maintenance_event_id(self) -> pulumi.Input[str]:
|
61
|
+
"""
|
62
|
+
The OCID of the instance maintenance event.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "instance_maintenance_event_id")
|
65
|
+
|
66
|
+
@instance_maintenance_event_id.setter
|
67
|
+
def instance_maintenance_event_id(self, value: pulumi.Input[str]):
|
68
|
+
pulumi.set(self, "instance_maintenance_event_id", value)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="alternativeResolutionAction")
|
72
|
+
def alternative_resolution_action(self) -> Optional[pulumi.Input[str]]:
|
73
|
+
"""
|
74
|
+
(Updatable) One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "alternative_resolution_action")
|
77
|
+
|
78
|
+
@alternative_resolution_action.setter
|
79
|
+
def alternative_resolution_action(self, value: Optional[pulumi.Input[str]]):
|
80
|
+
pulumi.set(self, "alternative_resolution_action", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="canDeleteLocalStorage")
|
84
|
+
def can_delete_local_storage(self) -> Optional[pulumi.Input[bool]]:
|
85
|
+
"""
|
86
|
+
(Updatable) This field is only applicable when setting the alternativeResolutionAction.
|
87
|
+
|
88
|
+
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
|
89
|
+
|
90
|
+
In cases where the local storage will be lost, this parameter must be set or the request will fail.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "can_delete_local_storage")
|
93
|
+
|
94
|
+
@can_delete_local_storage.setter
|
95
|
+
def can_delete_local_storage(self, value: Optional[pulumi.Input[bool]]):
|
96
|
+
pulumi.set(self, "can_delete_local_storage", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="definedTags")
|
100
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
101
|
+
"""
|
102
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "defined_tags")
|
105
|
+
|
106
|
+
@defined_tags.setter
|
107
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
108
|
+
pulumi.set(self, "defined_tags", value)
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="displayName")
|
112
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
113
|
+
"""
|
114
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "display_name")
|
117
|
+
|
118
|
+
@display_name.setter
|
119
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
120
|
+
pulumi.set(self, "display_name", value)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="freeformTags")
|
124
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
125
|
+
"""
|
126
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "freeform_tags")
|
129
|
+
|
130
|
+
@freeform_tags.setter
|
131
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
132
|
+
pulumi.set(self, "freeform_tags", value)
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="timeWindowStart")
|
136
|
+
def time_window_start(self) -> Optional[pulumi.Input[str]]:
|
137
|
+
"""
|
138
|
+
(Updatable) The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
139
|
+
|
140
|
+
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
|
141
|
+
|
142
|
+
|
143
|
+
** IMPORTANT **
|
144
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "time_window_start")
|
147
|
+
|
148
|
+
@time_window_start.setter
|
149
|
+
def time_window_start(self, value: Optional[pulumi.Input[str]]):
|
150
|
+
pulumi.set(self, "time_window_start", value)
|
151
|
+
|
152
|
+
|
153
|
+
@pulumi.input_type
|
154
|
+
class _InstanceMaintenanceEventState:
|
155
|
+
def __init__(__self__, *,
|
156
|
+
additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
157
|
+
alternative_resolution_action: Optional[pulumi.Input[str]] = None,
|
158
|
+
alternative_resolution_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
159
|
+
can_delete_local_storage: Optional[pulumi.Input[bool]] = None,
|
160
|
+
can_reschedule: Optional[pulumi.Input[bool]] = None,
|
161
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
162
|
+
correlation_token: Optional[pulumi.Input[str]] = None,
|
163
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
164
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
165
|
+
description: Optional[pulumi.Input[str]] = None,
|
166
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
167
|
+
estimated_duration: Optional[pulumi.Input[str]] = None,
|
168
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
169
|
+
instance_action: Optional[pulumi.Input[str]] = None,
|
170
|
+
instance_id: Optional[pulumi.Input[str]] = None,
|
171
|
+
instance_maintenance_event_id: Optional[pulumi.Input[str]] = None,
|
172
|
+
maintenance_category: Optional[pulumi.Input[str]] = None,
|
173
|
+
maintenance_reason: Optional[pulumi.Input[str]] = None,
|
174
|
+
start_window_duration: Optional[pulumi.Input[str]] = None,
|
175
|
+
state: Optional[pulumi.Input[str]] = None,
|
176
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
177
|
+
time_finished: Optional[pulumi.Input[str]] = None,
|
178
|
+
time_hard_due_date: Optional[pulumi.Input[str]] = None,
|
179
|
+
time_started: Optional[pulumi.Input[str]] = None,
|
180
|
+
time_window_start: Optional[pulumi.Input[str]] = None):
|
181
|
+
"""
|
182
|
+
Input properties used for looking up and filtering InstanceMaintenanceEvent resources.
|
183
|
+
:param pulumi.Input[Mapping[str, Any]] additional_details: Additional details of the maintenance in the form of json.
|
184
|
+
:param pulumi.Input[str] alternative_resolution_action: (Updatable) One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
|
185
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] alternative_resolution_actions: These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
|
186
|
+
:param pulumi.Input[bool] can_delete_local_storage: (Updatable) This field is only applicable when setting the alternativeResolutionAction.
|
187
|
+
|
188
|
+
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
|
189
|
+
|
190
|
+
In cases where the local storage will be lost, this parameter must be set or the request will fail.
|
191
|
+
:param pulumi.Input[bool] can_reschedule: Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
|
192
|
+
:param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the instance.
|
193
|
+
:param pulumi.Input[str] correlation_token: A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
|
194
|
+
:param pulumi.Input[str] created_by: The creator of the maintenance event.
|
195
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
196
|
+
:param pulumi.Input[str] description: It is the descriptive information about the maintenance taking place on the customer instance.
|
197
|
+
: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.
|
198
|
+
:param pulumi.Input[str] estimated_duration: This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
|
199
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
200
|
+
:param pulumi.Input[str] instance_action: This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
|
201
|
+
:param pulumi.Input[str] instance_id: The OCID of the instance.
|
202
|
+
:param pulumi.Input[str] instance_maintenance_event_id: The OCID of the instance maintenance event.
|
203
|
+
:param pulumi.Input[str] maintenance_category: This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
204
|
+
:param pulumi.Input[str] maintenance_reason: This is the reason that Maintenance is being performed. See [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
205
|
+
:param pulumi.Input[str] start_window_duration: The duration of the time window Maintenance is scheduled to begin within.
|
206
|
+
:param pulumi.Input[str] state: The current state of the maintenance event.
|
207
|
+
:param pulumi.Input[str] time_created: The date and time the maintenance event was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
208
|
+
:param pulumi.Input[str] time_finished: The time at which the Maintenance actually finished.
|
209
|
+
:param pulumi.Input[str] time_hard_due_date: It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
|
210
|
+
:param pulumi.Input[str] time_started: The time at which the Maintenance actually started.
|
211
|
+
:param pulumi.Input[str] time_window_start: (Updatable) The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
212
|
+
|
213
|
+
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
|
214
|
+
|
215
|
+
|
216
|
+
** IMPORTANT **
|
217
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
218
|
+
"""
|
219
|
+
if additional_details is not None:
|
220
|
+
pulumi.set(__self__, "additional_details", additional_details)
|
221
|
+
if alternative_resolution_action is not None:
|
222
|
+
pulumi.set(__self__, "alternative_resolution_action", alternative_resolution_action)
|
223
|
+
if alternative_resolution_actions is not None:
|
224
|
+
pulumi.set(__self__, "alternative_resolution_actions", alternative_resolution_actions)
|
225
|
+
if can_delete_local_storage is not None:
|
226
|
+
pulumi.set(__self__, "can_delete_local_storage", can_delete_local_storage)
|
227
|
+
if can_reschedule is not None:
|
228
|
+
pulumi.set(__self__, "can_reschedule", can_reschedule)
|
229
|
+
if compartment_id is not None:
|
230
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
231
|
+
if correlation_token is not None:
|
232
|
+
pulumi.set(__self__, "correlation_token", correlation_token)
|
233
|
+
if created_by is not None:
|
234
|
+
pulumi.set(__self__, "created_by", created_by)
|
235
|
+
if defined_tags is not None:
|
236
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
237
|
+
if description is not None:
|
238
|
+
pulumi.set(__self__, "description", description)
|
239
|
+
if display_name is not None:
|
240
|
+
pulumi.set(__self__, "display_name", display_name)
|
241
|
+
if estimated_duration is not None:
|
242
|
+
pulumi.set(__self__, "estimated_duration", estimated_duration)
|
243
|
+
if freeform_tags is not None:
|
244
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
245
|
+
if instance_action is not None:
|
246
|
+
pulumi.set(__self__, "instance_action", instance_action)
|
247
|
+
if instance_id is not None:
|
248
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
249
|
+
if instance_maintenance_event_id is not None:
|
250
|
+
pulumi.set(__self__, "instance_maintenance_event_id", instance_maintenance_event_id)
|
251
|
+
if maintenance_category is not None:
|
252
|
+
pulumi.set(__self__, "maintenance_category", maintenance_category)
|
253
|
+
if maintenance_reason is not None:
|
254
|
+
pulumi.set(__self__, "maintenance_reason", maintenance_reason)
|
255
|
+
if start_window_duration is not None:
|
256
|
+
pulumi.set(__self__, "start_window_duration", start_window_duration)
|
257
|
+
if state is not None:
|
258
|
+
pulumi.set(__self__, "state", state)
|
259
|
+
if time_created is not None:
|
260
|
+
pulumi.set(__self__, "time_created", time_created)
|
261
|
+
if time_finished is not None:
|
262
|
+
pulumi.set(__self__, "time_finished", time_finished)
|
263
|
+
if time_hard_due_date is not None:
|
264
|
+
pulumi.set(__self__, "time_hard_due_date", time_hard_due_date)
|
265
|
+
if time_started is not None:
|
266
|
+
pulumi.set(__self__, "time_started", time_started)
|
267
|
+
if time_window_start is not None:
|
268
|
+
pulumi.set(__self__, "time_window_start", time_window_start)
|
269
|
+
|
270
|
+
@property
|
271
|
+
@pulumi.getter(name="additionalDetails")
|
272
|
+
def additional_details(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
273
|
+
"""
|
274
|
+
Additional details of the maintenance in the form of json.
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "additional_details")
|
277
|
+
|
278
|
+
@additional_details.setter
|
279
|
+
def additional_details(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
280
|
+
pulumi.set(self, "additional_details", value)
|
281
|
+
|
282
|
+
@property
|
283
|
+
@pulumi.getter(name="alternativeResolutionAction")
|
284
|
+
def alternative_resolution_action(self) -> Optional[pulumi.Input[str]]:
|
285
|
+
"""
|
286
|
+
(Updatable) One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "alternative_resolution_action")
|
289
|
+
|
290
|
+
@alternative_resolution_action.setter
|
291
|
+
def alternative_resolution_action(self, value: Optional[pulumi.Input[str]]):
|
292
|
+
pulumi.set(self, "alternative_resolution_action", value)
|
293
|
+
|
294
|
+
@property
|
295
|
+
@pulumi.getter(name="alternativeResolutionActions")
|
296
|
+
def alternative_resolution_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
297
|
+
"""
|
298
|
+
These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
|
299
|
+
"""
|
300
|
+
return pulumi.get(self, "alternative_resolution_actions")
|
301
|
+
|
302
|
+
@alternative_resolution_actions.setter
|
303
|
+
def alternative_resolution_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
304
|
+
pulumi.set(self, "alternative_resolution_actions", value)
|
305
|
+
|
306
|
+
@property
|
307
|
+
@pulumi.getter(name="canDeleteLocalStorage")
|
308
|
+
def can_delete_local_storage(self) -> Optional[pulumi.Input[bool]]:
|
309
|
+
"""
|
310
|
+
(Updatable) This field is only applicable when setting the alternativeResolutionAction.
|
311
|
+
|
312
|
+
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
|
313
|
+
|
314
|
+
In cases where the local storage will be lost, this parameter must be set or the request will fail.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "can_delete_local_storage")
|
317
|
+
|
318
|
+
@can_delete_local_storage.setter
|
319
|
+
def can_delete_local_storage(self, value: Optional[pulumi.Input[bool]]):
|
320
|
+
pulumi.set(self, "can_delete_local_storage", value)
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter(name="canReschedule")
|
324
|
+
def can_reschedule(self) -> Optional[pulumi.Input[bool]]:
|
325
|
+
"""
|
326
|
+
Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "can_reschedule")
|
329
|
+
|
330
|
+
@can_reschedule.setter
|
331
|
+
def can_reschedule(self, value: Optional[pulumi.Input[bool]]):
|
332
|
+
pulumi.set(self, "can_reschedule", value)
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter(name="compartmentId")
|
336
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
337
|
+
"""
|
338
|
+
The OCID of the compartment that contains the instance.
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "compartment_id")
|
341
|
+
|
342
|
+
@compartment_id.setter
|
343
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
344
|
+
pulumi.set(self, "compartment_id", value)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter(name="correlationToken")
|
348
|
+
def correlation_token(self) -> Optional[pulumi.Input[str]]:
|
349
|
+
"""
|
350
|
+
A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "correlation_token")
|
353
|
+
|
354
|
+
@correlation_token.setter
|
355
|
+
def correlation_token(self, value: Optional[pulumi.Input[str]]):
|
356
|
+
pulumi.set(self, "correlation_token", value)
|
357
|
+
|
358
|
+
@property
|
359
|
+
@pulumi.getter(name="createdBy")
|
360
|
+
def created_by(self) -> Optional[pulumi.Input[str]]:
|
361
|
+
"""
|
362
|
+
The creator of the maintenance event.
|
363
|
+
"""
|
364
|
+
return pulumi.get(self, "created_by")
|
365
|
+
|
366
|
+
@created_by.setter
|
367
|
+
def created_by(self, value: Optional[pulumi.Input[str]]):
|
368
|
+
pulumi.set(self, "created_by", value)
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter(name="definedTags")
|
372
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
373
|
+
"""
|
374
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "defined_tags")
|
377
|
+
|
378
|
+
@defined_tags.setter
|
379
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
380
|
+
pulumi.set(self, "defined_tags", value)
|
381
|
+
|
382
|
+
@property
|
383
|
+
@pulumi.getter
|
384
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
385
|
+
"""
|
386
|
+
It is the descriptive information about the maintenance taking place on the customer instance.
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "description")
|
389
|
+
|
390
|
+
@description.setter
|
391
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
392
|
+
pulumi.set(self, "description", value)
|
393
|
+
|
394
|
+
@property
|
395
|
+
@pulumi.getter(name="displayName")
|
396
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
397
|
+
"""
|
398
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "display_name")
|
401
|
+
|
402
|
+
@display_name.setter
|
403
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
404
|
+
pulumi.set(self, "display_name", value)
|
405
|
+
|
406
|
+
@property
|
407
|
+
@pulumi.getter(name="estimatedDuration")
|
408
|
+
def estimated_duration(self) -> Optional[pulumi.Input[str]]:
|
409
|
+
"""
|
410
|
+
This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
|
411
|
+
"""
|
412
|
+
return pulumi.get(self, "estimated_duration")
|
413
|
+
|
414
|
+
@estimated_duration.setter
|
415
|
+
def estimated_duration(self, value: Optional[pulumi.Input[str]]):
|
416
|
+
pulumi.set(self, "estimated_duration", value)
|
417
|
+
|
418
|
+
@property
|
419
|
+
@pulumi.getter(name="freeformTags")
|
420
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
421
|
+
"""
|
422
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
423
|
+
"""
|
424
|
+
return pulumi.get(self, "freeform_tags")
|
425
|
+
|
426
|
+
@freeform_tags.setter
|
427
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
428
|
+
pulumi.set(self, "freeform_tags", value)
|
429
|
+
|
430
|
+
@property
|
431
|
+
@pulumi.getter(name="instanceAction")
|
432
|
+
def instance_action(self) -> Optional[pulumi.Input[str]]:
|
433
|
+
"""
|
434
|
+
This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
|
435
|
+
"""
|
436
|
+
return pulumi.get(self, "instance_action")
|
437
|
+
|
438
|
+
@instance_action.setter
|
439
|
+
def instance_action(self, value: Optional[pulumi.Input[str]]):
|
440
|
+
pulumi.set(self, "instance_action", value)
|
441
|
+
|
442
|
+
@property
|
443
|
+
@pulumi.getter(name="instanceId")
|
444
|
+
def instance_id(self) -> Optional[pulumi.Input[str]]:
|
445
|
+
"""
|
446
|
+
The OCID of the instance.
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "instance_id")
|
449
|
+
|
450
|
+
@instance_id.setter
|
451
|
+
def instance_id(self, value: Optional[pulumi.Input[str]]):
|
452
|
+
pulumi.set(self, "instance_id", value)
|
453
|
+
|
454
|
+
@property
|
455
|
+
@pulumi.getter(name="instanceMaintenanceEventId")
|
456
|
+
def instance_maintenance_event_id(self) -> Optional[pulumi.Input[str]]:
|
457
|
+
"""
|
458
|
+
The OCID of the instance maintenance event.
|
459
|
+
"""
|
460
|
+
return pulumi.get(self, "instance_maintenance_event_id")
|
461
|
+
|
462
|
+
@instance_maintenance_event_id.setter
|
463
|
+
def instance_maintenance_event_id(self, value: Optional[pulumi.Input[str]]):
|
464
|
+
pulumi.set(self, "instance_maintenance_event_id", value)
|
465
|
+
|
466
|
+
@property
|
467
|
+
@pulumi.getter(name="maintenanceCategory")
|
468
|
+
def maintenance_category(self) -> Optional[pulumi.Input[str]]:
|
469
|
+
"""
|
470
|
+
This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
471
|
+
"""
|
472
|
+
return pulumi.get(self, "maintenance_category")
|
473
|
+
|
474
|
+
@maintenance_category.setter
|
475
|
+
def maintenance_category(self, value: Optional[pulumi.Input[str]]):
|
476
|
+
pulumi.set(self, "maintenance_category", value)
|
477
|
+
|
478
|
+
@property
|
479
|
+
@pulumi.getter(name="maintenanceReason")
|
480
|
+
def maintenance_reason(self) -> Optional[pulumi.Input[str]]:
|
481
|
+
"""
|
482
|
+
This is the reason that Maintenance is being performed. See [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
483
|
+
"""
|
484
|
+
return pulumi.get(self, "maintenance_reason")
|
485
|
+
|
486
|
+
@maintenance_reason.setter
|
487
|
+
def maintenance_reason(self, value: Optional[pulumi.Input[str]]):
|
488
|
+
pulumi.set(self, "maintenance_reason", value)
|
489
|
+
|
490
|
+
@property
|
491
|
+
@pulumi.getter(name="startWindowDuration")
|
492
|
+
def start_window_duration(self) -> Optional[pulumi.Input[str]]:
|
493
|
+
"""
|
494
|
+
The duration of the time window Maintenance is scheduled to begin within.
|
495
|
+
"""
|
496
|
+
return pulumi.get(self, "start_window_duration")
|
497
|
+
|
498
|
+
@start_window_duration.setter
|
499
|
+
def start_window_duration(self, value: Optional[pulumi.Input[str]]):
|
500
|
+
pulumi.set(self, "start_window_duration", value)
|
501
|
+
|
502
|
+
@property
|
503
|
+
@pulumi.getter
|
504
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
505
|
+
"""
|
506
|
+
The current state of the maintenance event.
|
507
|
+
"""
|
508
|
+
return pulumi.get(self, "state")
|
509
|
+
|
510
|
+
@state.setter
|
511
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
512
|
+
pulumi.set(self, "state", value)
|
513
|
+
|
514
|
+
@property
|
515
|
+
@pulumi.getter(name="timeCreated")
|
516
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
517
|
+
"""
|
518
|
+
The date and time the maintenance event was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
519
|
+
"""
|
520
|
+
return pulumi.get(self, "time_created")
|
521
|
+
|
522
|
+
@time_created.setter
|
523
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
524
|
+
pulumi.set(self, "time_created", value)
|
525
|
+
|
526
|
+
@property
|
527
|
+
@pulumi.getter(name="timeFinished")
|
528
|
+
def time_finished(self) -> Optional[pulumi.Input[str]]:
|
529
|
+
"""
|
530
|
+
The time at which the Maintenance actually finished.
|
531
|
+
"""
|
532
|
+
return pulumi.get(self, "time_finished")
|
533
|
+
|
534
|
+
@time_finished.setter
|
535
|
+
def time_finished(self, value: Optional[pulumi.Input[str]]):
|
536
|
+
pulumi.set(self, "time_finished", value)
|
537
|
+
|
538
|
+
@property
|
539
|
+
@pulumi.getter(name="timeHardDueDate")
|
540
|
+
def time_hard_due_date(self) -> Optional[pulumi.Input[str]]:
|
541
|
+
"""
|
542
|
+
It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
|
543
|
+
"""
|
544
|
+
return pulumi.get(self, "time_hard_due_date")
|
545
|
+
|
546
|
+
@time_hard_due_date.setter
|
547
|
+
def time_hard_due_date(self, value: Optional[pulumi.Input[str]]):
|
548
|
+
pulumi.set(self, "time_hard_due_date", value)
|
549
|
+
|
550
|
+
@property
|
551
|
+
@pulumi.getter(name="timeStarted")
|
552
|
+
def time_started(self) -> Optional[pulumi.Input[str]]:
|
553
|
+
"""
|
554
|
+
The time at which the Maintenance actually started.
|
555
|
+
"""
|
556
|
+
return pulumi.get(self, "time_started")
|
557
|
+
|
558
|
+
@time_started.setter
|
559
|
+
def time_started(self, value: Optional[pulumi.Input[str]]):
|
560
|
+
pulumi.set(self, "time_started", value)
|
561
|
+
|
562
|
+
@property
|
563
|
+
@pulumi.getter(name="timeWindowStart")
|
564
|
+
def time_window_start(self) -> Optional[pulumi.Input[str]]:
|
565
|
+
"""
|
566
|
+
(Updatable) The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
567
|
+
|
568
|
+
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
|
569
|
+
|
570
|
+
|
571
|
+
** IMPORTANT **
|
572
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
573
|
+
"""
|
574
|
+
return pulumi.get(self, "time_window_start")
|
575
|
+
|
576
|
+
@time_window_start.setter
|
577
|
+
def time_window_start(self, value: Optional[pulumi.Input[str]]):
|
578
|
+
pulumi.set(self, "time_window_start", value)
|
579
|
+
|
580
|
+
|
581
|
+
class InstanceMaintenanceEvent(pulumi.CustomResource):
|
582
|
+
@overload
|
583
|
+
def __init__(__self__,
|
584
|
+
resource_name: str,
|
585
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
586
|
+
alternative_resolution_action: Optional[pulumi.Input[str]] = None,
|
587
|
+
can_delete_local_storage: Optional[pulumi.Input[bool]] = None,
|
588
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
589
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
590
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
591
|
+
instance_maintenance_event_id: Optional[pulumi.Input[str]] = None,
|
592
|
+
time_window_start: Optional[pulumi.Input[str]] = None,
|
593
|
+
__props__=None):
|
594
|
+
"""
|
595
|
+
This resource provides the Instance Maintenance Event resource in Oracle Cloud Infrastructure Core service.
|
596
|
+
|
597
|
+
Updates the maintenance event for the given instance.
|
598
|
+
|
599
|
+
## Import
|
600
|
+
|
601
|
+
InstanceMaintenanceEvents can be imported using the `id`, e.g.
|
602
|
+
|
603
|
+
```sh
|
604
|
+
$ pulumi import oci:Core/instanceMaintenanceEvent:InstanceMaintenanceEvent test_instance_maintenance_event "id"
|
605
|
+
```
|
606
|
+
|
607
|
+
:param str resource_name: The name of the resource.
|
608
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
609
|
+
:param pulumi.Input[str] alternative_resolution_action: (Updatable) One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
|
610
|
+
:param pulumi.Input[bool] can_delete_local_storage: (Updatable) This field is only applicable when setting the alternativeResolutionAction.
|
611
|
+
|
612
|
+
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
|
613
|
+
|
614
|
+
In cases where the local storage will be lost, this parameter must be set or the request will fail.
|
615
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
616
|
+
: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.
|
617
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
618
|
+
:param pulumi.Input[str] instance_maintenance_event_id: The OCID of the instance maintenance event.
|
619
|
+
:param pulumi.Input[str] time_window_start: (Updatable) The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
620
|
+
|
621
|
+
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
|
622
|
+
|
623
|
+
|
624
|
+
** IMPORTANT **
|
625
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
626
|
+
"""
|
627
|
+
...
|
628
|
+
@overload
|
629
|
+
def __init__(__self__,
|
630
|
+
resource_name: str,
|
631
|
+
args: InstanceMaintenanceEventArgs,
|
632
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
633
|
+
"""
|
634
|
+
This resource provides the Instance Maintenance Event resource in Oracle Cloud Infrastructure Core service.
|
635
|
+
|
636
|
+
Updates the maintenance event for the given instance.
|
637
|
+
|
638
|
+
## Import
|
639
|
+
|
640
|
+
InstanceMaintenanceEvents can be imported using the `id`, e.g.
|
641
|
+
|
642
|
+
```sh
|
643
|
+
$ pulumi import oci:Core/instanceMaintenanceEvent:InstanceMaintenanceEvent test_instance_maintenance_event "id"
|
644
|
+
```
|
645
|
+
|
646
|
+
:param str resource_name: The name of the resource.
|
647
|
+
:param InstanceMaintenanceEventArgs args: The arguments to use to populate this resource's properties.
|
648
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
649
|
+
"""
|
650
|
+
...
|
651
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
652
|
+
resource_args, opts = _utilities.get_resource_args_opts(InstanceMaintenanceEventArgs, pulumi.ResourceOptions, *args, **kwargs)
|
653
|
+
if resource_args is not None:
|
654
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
655
|
+
else:
|
656
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
657
|
+
|
658
|
+
def _internal_init(__self__,
|
659
|
+
resource_name: str,
|
660
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
661
|
+
alternative_resolution_action: Optional[pulumi.Input[str]] = None,
|
662
|
+
can_delete_local_storage: Optional[pulumi.Input[bool]] = None,
|
663
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
664
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
665
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
666
|
+
instance_maintenance_event_id: Optional[pulumi.Input[str]] = None,
|
667
|
+
time_window_start: Optional[pulumi.Input[str]] = None,
|
668
|
+
__props__=None):
|
669
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
670
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
671
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
672
|
+
if opts.id is None:
|
673
|
+
if __props__ is not None:
|
674
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
675
|
+
__props__ = InstanceMaintenanceEventArgs.__new__(InstanceMaintenanceEventArgs)
|
676
|
+
|
677
|
+
__props__.__dict__["alternative_resolution_action"] = alternative_resolution_action
|
678
|
+
__props__.__dict__["can_delete_local_storage"] = can_delete_local_storage
|
679
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
680
|
+
__props__.__dict__["display_name"] = display_name
|
681
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
682
|
+
if instance_maintenance_event_id is None and not opts.urn:
|
683
|
+
raise TypeError("Missing required property 'instance_maintenance_event_id'")
|
684
|
+
__props__.__dict__["instance_maintenance_event_id"] = instance_maintenance_event_id
|
685
|
+
__props__.__dict__["time_window_start"] = time_window_start
|
686
|
+
__props__.__dict__["additional_details"] = None
|
687
|
+
__props__.__dict__["alternative_resolution_actions"] = None
|
688
|
+
__props__.__dict__["can_reschedule"] = None
|
689
|
+
__props__.__dict__["compartment_id"] = None
|
690
|
+
__props__.__dict__["correlation_token"] = None
|
691
|
+
__props__.__dict__["created_by"] = None
|
692
|
+
__props__.__dict__["description"] = None
|
693
|
+
__props__.__dict__["estimated_duration"] = None
|
694
|
+
__props__.__dict__["instance_action"] = None
|
695
|
+
__props__.__dict__["instance_id"] = None
|
696
|
+
__props__.__dict__["maintenance_category"] = None
|
697
|
+
__props__.__dict__["maintenance_reason"] = None
|
698
|
+
__props__.__dict__["start_window_duration"] = None
|
699
|
+
__props__.__dict__["state"] = None
|
700
|
+
__props__.__dict__["time_created"] = None
|
701
|
+
__props__.__dict__["time_finished"] = None
|
702
|
+
__props__.__dict__["time_hard_due_date"] = None
|
703
|
+
__props__.__dict__["time_started"] = None
|
704
|
+
super(InstanceMaintenanceEvent, __self__).__init__(
|
705
|
+
'oci:Core/instanceMaintenanceEvent:InstanceMaintenanceEvent',
|
706
|
+
resource_name,
|
707
|
+
__props__,
|
708
|
+
opts)
|
709
|
+
|
710
|
+
@staticmethod
|
711
|
+
def get(resource_name: str,
|
712
|
+
id: pulumi.Input[str],
|
713
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
714
|
+
additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
715
|
+
alternative_resolution_action: Optional[pulumi.Input[str]] = None,
|
716
|
+
alternative_resolution_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
717
|
+
can_delete_local_storage: Optional[pulumi.Input[bool]] = None,
|
718
|
+
can_reschedule: Optional[pulumi.Input[bool]] = None,
|
719
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
720
|
+
correlation_token: Optional[pulumi.Input[str]] = None,
|
721
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
722
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
723
|
+
description: Optional[pulumi.Input[str]] = None,
|
724
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
725
|
+
estimated_duration: Optional[pulumi.Input[str]] = None,
|
726
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
727
|
+
instance_action: Optional[pulumi.Input[str]] = None,
|
728
|
+
instance_id: Optional[pulumi.Input[str]] = None,
|
729
|
+
instance_maintenance_event_id: Optional[pulumi.Input[str]] = None,
|
730
|
+
maintenance_category: Optional[pulumi.Input[str]] = None,
|
731
|
+
maintenance_reason: Optional[pulumi.Input[str]] = None,
|
732
|
+
start_window_duration: Optional[pulumi.Input[str]] = None,
|
733
|
+
state: Optional[pulumi.Input[str]] = None,
|
734
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
735
|
+
time_finished: Optional[pulumi.Input[str]] = None,
|
736
|
+
time_hard_due_date: Optional[pulumi.Input[str]] = None,
|
737
|
+
time_started: Optional[pulumi.Input[str]] = None,
|
738
|
+
time_window_start: Optional[pulumi.Input[str]] = None) -> 'InstanceMaintenanceEvent':
|
739
|
+
"""
|
740
|
+
Get an existing InstanceMaintenanceEvent resource's state with the given name, id, and optional extra
|
741
|
+
properties used to qualify the lookup.
|
742
|
+
|
743
|
+
:param str resource_name: The unique name of the resulting resource.
|
744
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
745
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
746
|
+
:param pulumi.Input[Mapping[str, Any]] additional_details: Additional details of the maintenance in the form of json.
|
747
|
+
:param pulumi.Input[str] alternative_resolution_action: (Updatable) One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
|
748
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] alternative_resolution_actions: These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
|
749
|
+
:param pulumi.Input[bool] can_delete_local_storage: (Updatable) This field is only applicable when setting the alternativeResolutionAction.
|
750
|
+
|
751
|
+
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
|
752
|
+
|
753
|
+
In cases where the local storage will be lost, this parameter must be set or the request will fail.
|
754
|
+
:param pulumi.Input[bool] can_reschedule: Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
|
755
|
+
:param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the instance.
|
756
|
+
:param pulumi.Input[str] correlation_token: A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
|
757
|
+
:param pulumi.Input[str] created_by: The creator of the maintenance event.
|
758
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
759
|
+
:param pulumi.Input[str] description: It is the descriptive information about the maintenance taking place on the customer instance.
|
760
|
+
: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.
|
761
|
+
:param pulumi.Input[str] estimated_duration: This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
|
762
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
763
|
+
:param pulumi.Input[str] instance_action: This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
|
764
|
+
:param pulumi.Input[str] instance_id: The OCID of the instance.
|
765
|
+
:param pulumi.Input[str] instance_maintenance_event_id: The OCID of the instance maintenance event.
|
766
|
+
:param pulumi.Input[str] maintenance_category: This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
767
|
+
:param pulumi.Input[str] maintenance_reason: This is the reason that Maintenance is being performed. See [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
768
|
+
:param pulumi.Input[str] start_window_duration: The duration of the time window Maintenance is scheduled to begin within.
|
769
|
+
:param pulumi.Input[str] state: The current state of the maintenance event.
|
770
|
+
:param pulumi.Input[str] time_created: The date and time the maintenance event was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
771
|
+
:param pulumi.Input[str] time_finished: The time at which the Maintenance actually finished.
|
772
|
+
:param pulumi.Input[str] time_hard_due_date: It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
|
773
|
+
:param pulumi.Input[str] time_started: The time at which the Maintenance actually started.
|
774
|
+
:param pulumi.Input[str] time_window_start: (Updatable) The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
775
|
+
|
776
|
+
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
|
777
|
+
|
778
|
+
|
779
|
+
** IMPORTANT **
|
780
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
781
|
+
"""
|
782
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
783
|
+
|
784
|
+
__props__ = _InstanceMaintenanceEventState.__new__(_InstanceMaintenanceEventState)
|
785
|
+
|
786
|
+
__props__.__dict__["additional_details"] = additional_details
|
787
|
+
__props__.__dict__["alternative_resolution_action"] = alternative_resolution_action
|
788
|
+
__props__.__dict__["alternative_resolution_actions"] = alternative_resolution_actions
|
789
|
+
__props__.__dict__["can_delete_local_storage"] = can_delete_local_storage
|
790
|
+
__props__.__dict__["can_reschedule"] = can_reschedule
|
791
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
792
|
+
__props__.__dict__["correlation_token"] = correlation_token
|
793
|
+
__props__.__dict__["created_by"] = created_by
|
794
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
795
|
+
__props__.__dict__["description"] = description
|
796
|
+
__props__.__dict__["display_name"] = display_name
|
797
|
+
__props__.__dict__["estimated_duration"] = estimated_duration
|
798
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
799
|
+
__props__.__dict__["instance_action"] = instance_action
|
800
|
+
__props__.__dict__["instance_id"] = instance_id
|
801
|
+
__props__.__dict__["instance_maintenance_event_id"] = instance_maintenance_event_id
|
802
|
+
__props__.__dict__["maintenance_category"] = maintenance_category
|
803
|
+
__props__.__dict__["maintenance_reason"] = maintenance_reason
|
804
|
+
__props__.__dict__["start_window_duration"] = start_window_duration
|
805
|
+
__props__.__dict__["state"] = state
|
806
|
+
__props__.__dict__["time_created"] = time_created
|
807
|
+
__props__.__dict__["time_finished"] = time_finished
|
808
|
+
__props__.__dict__["time_hard_due_date"] = time_hard_due_date
|
809
|
+
__props__.__dict__["time_started"] = time_started
|
810
|
+
__props__.__dict__["time_window_start"] = time_window_start
|
811
|
+
return InstanceMaintenanceEvent(resource_name, opts=opts, __props__=__props__)
|
812
|
+
|
813
|
+
@property
|
814
|
+
@pulumi.getter(name="additionalDetails")
|
815
|
+
def additional_details(self) -> pulumi.Output[Mapping[str, Any]]:
|
816
|
+
"""
|
817
|
+
Additional details of the maintenance in the form of json.
|
818
|
+
"""
|
819
|
+
return pulumi.get(self, "additional_details")
|
820
|
+
|
821
|
+
@property
|
822
|
+
@pulumi.getter(name="alternativeResolutionAction")
|
823
|
+
def alternative_resolution_action(self) -> pulumi.Output[str]:
|
824
|
+
"""
|
825
|
+
(Updatable) One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
|
826
|
+
"""
|
827
|
+
return pulumi.get(self, "alternative_resolution_action")
|
828
|
+
|
829
|
+
@property
|
830
|
+
@pulumi.getter(name="alternativeResolutionActions")
|
831
|
+
def alternative_resolution_actions(self) -> pulumi.Output[Sequence[str]]:
|
832
|
+
"""
|
833
|
+
These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
|
834
|
+
"""
|
835
|
+
return pulumi.get(self, "alternative_resolution_actions")
|
836
|
+
|
837
|
+
@property
|
838
|
+
@pulumi.getter(name="canDeleteLocalStorage")
|
839
|
+
def can_delete_local_storage(self) -> pulumi.Output[bool]:
|
840
|
+
"""
|
841
|
+
(Updatable) This field is only applicable when setting the alternativeResolutionAction.
|
842
|
+
|
843
|
+
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
|
844
|
+
|
845
|
+
In cases where the local storage will be lost, this parameter must be set or the request will fail.
|
846
|
+
"""
|
847
|
+
return pulumi.get(self, "can_delete_local_storage")
|
848
|
+
|
849
|
+
@property
|
850
|
+
@pulumi.getter(name="canReschedule")
|
851
|
+
def can_reschedule(self) -> pulumi.Output[bool]:
|
852
|
+
"""
|
853
|
+
Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
|
854
|
+
"""
|
855
|
+
return pulumi.get(self, "can_reschedule")
|
856
|
+
|
857
|
+
@property
|
858
|
+
@pulumi.getter(name="compartmentId")
|
859
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
860
|
+
"""
|
861
|
+
The OCID of the compartment that contains the instance.
|
862
|
+
"""
|
863
|
+
return pulumi.get(self, "compartment_id")
|
864
|
+
|
865
|
+
@property
|
866
|
+
@pulumi.getter(name="correlationToken")
|
867
|
+
def correlation_token(self) -> pulumi.Output[str]:
|
868
|
+
"""
|
869
|
+
A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
|
870
|
+
"""
|
871
|
+
return pulumi.get(self, "correlation_token")
|
872
|
+
|
873
|
+
@property
|
874
|
+
@pulumi.getter(name="createdBy")
|
875
|
+
def created_by(self) -> pulumi.Output[str]:
|
876
|
+
"""
|
877
|
+
The creator of the maintenance event.
|
878
|
+
"""
|
879
|
+
return pulumi.get(self, "created_by")
|
880
|
+
|
881
|
+
@property
|
882
|
+
@pulumi.getter(name="definedTags")
|
883
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
884
|
+
"""
|
885
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
886
|
+
"""
|
887
|
+
return pulumi.get(self, "defined_tags")
|
888
|
+
|
889
|
+
@property
|
890
|
+
@pulumi.getter
|
891
|
+
def description(self) -> pulumi.Output[str]:
|
892
|
+
"""
|
893
|
+
It is the descriptive information about the maintenance taking place on the customer instance.
|
894
|
+
"""
|
895
|
+
return pulumi.get(self, "description")
|
896
|
+
|
897
|
+
@property
|
898
|
+
@pulumi.getter(name="displayName")
|
899
|
+
def display_name(self) -> pulumi.Output[str]:
|
900
|
+
"""
|
901
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
902
|
+
"""
|
903
|
+
return pulumi.get(self, "display_name")
|
904
|
+
|
905
|
+
@property
|
906
|
+
@pulumi.getter(name="estimatedDuration")
|
907
|
+
def estimated_duration(self) -> pulumi.Output[str]:
|
908
|
+
"""
|
909
|
+
This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
|
910
|
+
"""
|
911
|
+
return pulumi.get(self, "estimated_duration")
|
912
|
+
|
913
|
+
@property
|
914
|
+
@pulumi.getter(name="freeformTags")
|
915
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
916
|
+
"""
|
917
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
918
|
+
"""
|
919
|
+
return pulumi.get(self, "freeform_tags")
|
920
|
+
|
921
|
+
@property
|
922
|
+
@pulumi.getter(name="instanceAction")
|
923
|
+
def instance_action(self) -> pulumi.Output[str]:
|
924
|
+
"""
|
925
|
+
This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
|
926
|
+
"""
|
927
|
+
return pulumi.get(self, "instance_action")
|
928
|
+
|
929
|
+
@property
|
930
|
+
@pulumi.getter(name="instanceId")
|
931
|
+
def instance_id(self) -> pulumi.Output[str]:
|
932
|
+
"""
|
933
|
+
The OCID of the instance.
|
934
|
+
"""
|
935
|
+
return pulumi.get(self, "instance_id")
|
936
|
+
|
937
|
+
@property
|
938
|
+
@pulumi.getter(name="instanceMaintenanceEventId")
|
939
|
+
def instance_maintenance_event_id(self) -> pulumi.Output[str]:
|
940
|
+
"""
|
941
|
+
The OCID of the instance maintenance event.
|
942
|
+
"""
|
943
|
+
return pulumi.get(self, "instance_maintenance_event_id")
|
944
|
+
|
945
|
+
@property
|
946
|
+
@pulumi.getter(name="maintenanceCategory")
|
947
|
+
def maintenance_category(self) -> pulumi.Output[str]:
|
948
|
+
"""
|
949
|
+
This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
950
|
+
"""
|
951
|
+
return pulumi.get(self, "maintenance_category")
|
952
|
+
|
953
|
+
@property
|
954
|
+
@pulumi.getter(name="maintenanceReason")
|
955
|
+
def maintenance_reason(self) -> pulumi.Output[str]:
|
956
|
+
"""
|
957
|
+
This is the reason that Maintenance is being performed. See [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
|
958
|
+
"""
|
959
|
+
return pulumi.get(self, "maintenance_reason")
|
960
|
+
|
961
|
+
@property
|
962
|
+
@pulumi.getter(name="startWindowDuration")
|
963
|
+
def start_window_duration(self) -> pulumi.Output[str]:
|
964
|
+
"""
|
965
|
+
The duration of the time window Maintenance is scheduled to begin within.
|
966
|
+
"""
|
967
|
+
return pulumi.get(self, "start_window_duration")
|
968
|
+
|
969
|
+
@property
|
970
|
+
@pulumi.getter
|
971
|
+
def state(self) -> pulumi.Output[str]:
|
972
|
+
"""
|
973
|
+
The current state of the maintenance event.
|
974
|
+
"""
|
975
|
+
return pulumi.get(self, "state")
|
976
|
+
|
977
|
+
@property
|
978
|
+
@pulumi.getter(name="timeCreated")
|
979
|
+
def time_created(self) -> pulumi.Output[str]:
|
980
|
+
"""
|
981
|
+
The date and time the maintenance event was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
982
|
+
"""
|
983
|
+
return pulumi.get(self, "time_created")
|
984
|
+
|
985
|
+
@property
|
986
|
+
@pulumi.getter(name="timeFinished")
|
987
|
+
def time_finished(self) -> pulumi.Output[str]:
|
988
|
+
"""
|
989
|
+
The time at which the Maintenance actually finished.
|
990
|
+
"""
|
991
|
+
return pulumi.get(self, "time_finished")
|
992
|
+
|
993
|
+
@property
|
994
|
+
@pulumi.getter(name="timeHardDueDate")
|
995
|
+
def time_hard_due_date(self) -> pulumi.Output[str]:
|
996
|
+
"""
|
997
|
+
It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
|
998
|
+
"""
|
999
|
+
return pulumi.get(self, "time_hard_due_date")
|
1000
|
+
|
1001
|
+
@property
|
1002
|
+
@pulumi.getter(name="timeStarted")
|
1003
|
+
def time_started(self) -> pulumi.Output[str]:
|
1004
|
+
"""
|
1005
|
+
The time at which the Maintenance actually started.
|
1006
|
+
"""
|
1007
|
+
return pulumi.get(self, "time_started")
|
1008
|
+
|
1009
|
+
@property
|
1010
|
+
@pulumi.getter(name="timeWindowStart")
|
1011
|
+
def time_window_start(self) -> pulumi.Output[str]:
|
1012
|
+
"""
|
1013
|
+
(Updatable) The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
1014
|
+
|
1015
|
+
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
|
1016
|
+
|
1017
|
+
|
1018
|
+
** IMPORTANT **
|
1019
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1020
|
+
"""
|
1021
|
+
return pulumi.get(self, "time_window_start")
|
1022
|
+
|