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
pulumi_oci/core/__init__.py
CHANGED
@@ -112,6 +112,8 @@ from .get_instance_configurations import *
|
|
112
112
|
from .get_instance_console_connections import *
|
113
113
|
from .get_instance_credentials import *
|
114
114
|
from .get_instance_devices import *
|
115
|
+
from .get_instance_maintenance_event import *
|
116
|
+
from .get_instance_maintenance_events import *
|
115
117
|
from .get_instance_maintenance_reboot import *
|
116
118
|
from .get_instance_measured_boot_report import *
|
117
119
|
from .get_instance_pool import *
|
@@ -188,6 +190,7 @@ from .image import *
|
|
188
190
|
from .instance import *
|
189
191
|
from .instance_configuration import *
|
190
192
|
from .instance_console_connection import *
|
193
|
+
from .instance_maintenance_event import *
|
191
194
|
from .instance_pool import *
|
192
195
|
from .instance_pool_instance import *
|
193
196
|
from .internet_gateway import *
|
pulumi_oci/core/_inputs.py
CHANGED
@@ -235,6 +235,7 @@ __all__ = [
|
|
235
235
|
'GetInstanceConfigurationsFilterArgs',
|
236
236
|
'GetInstanceConsoleConnectionsFilterArgs',
|
237
237
|
'GetInstanceDevicesFilterArgs',
|
238
|
+
'GetInstanceMaintenanceEventsFilterArgs',
|
238
239
|
'GetInstancePoolInstancesFilterArgs',
|
239
240
|
'GetInstancePoolsFilterArgs',
|
240
241
|
'GetInstancesFilterArgs',
|
@@ -16137,6 +16138,45 @@ class GetInstanceDevicesFilterArgs:
|
|
16137
16138
|
pulumi.set(self, "regex", value)
|
16138
16139
|
|
16139
16140
|
|
16141
|
+
@pulumi.input_type
|
16142
|
+
class GetInstanceMaintenanceEventsFilterArgs:
|
16143
|
+
def __init__(__self__, *,
|
16144
|
+
name: str,
|
16145
|
+
values: Sequence[str],
|
16146
|
+
regex: Optional[bool] = None):
|
16147
|
+
pulumi.set(__self__, "name", name)
|
16148
|
+
pulumi.set(__self__, "values", values)
|
16149
|
+
if regex is not None:
|
16150
|
+
pulumi.set(__self__, "regex", regex)
|
16151
|
+
|
16152
|
+
@property
|
16153
|
+
@pulumi.getter
|
16154
|
+
def name(self) -> str:
|
16155
|
+
return pulumi.get(self, "name")
|
16156
|
+
|
16157
|
+
@name.setter
|
16158
|
+
def name(self, value: str):
|
16159
|
+
pulumi.set(self, "name", value)
|
16160
|
+
|
16161
|
+
@property
|
16162
|
+
@pulumi.getter
|
16163
|
+
def values(self) -> Sequence[str]:
|
16164
|
+
return pulumi.get(self, "values")
|
16165
|
+
|
16166
|
+
@values.setter
|
16167
|
+
def values(self, value: Sequence[str]):
|
16168
|
+
pulumi.set(self, "values", value)
|
16169
|
+
|
16170
|
+
@property
|
16171
|
+
@pulumi.getter
|
16172
|
+
def regex(self) -> Optional[bool]:
|
16173
|
+
return pulumi.get(self, "regex")
|
16174
|
+
|
16175
|
+
@regex.setter
|
16176
|
+
def regex(self, value: Optional[bool]):
|
16177
|
+
pulumi.set(self, "regex", value)
|
16178
|
+
|
16179
|
+
|
16140
16180
|
@pulumi.input_type
|
16141
16181
|
class GetInstancePoolInstancesFilterArgs:
|
16142
16182
|
def __init__(__self__, *,
|
@@ -0,0 +1,414 @@
|
|
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__ = [
|
13
|
+
'GetInstanceMaintenanceEventResult',
|
14
|
+
'AwaitableGetInstanceMaintenanceEventResult',
|
15
|
+
'get_instance_maintenance_event',
|
16
|
+
'get_instance_maintenance_event_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetInstanceMaintenanceEventResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getInstanceMaintenanceEvent.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, additional_details=None, alternative_resolution_action=None, alternative_resolution_actions=None, can_delete_local_storage=None, can_reschedule=None, compartment_id=None, correlation_token=None, created_by=None, defined_tags=None, description=None, display_name=None, estimated_duration=None, freeform_tags=None, id=None, instance_action=None, instance_id=None, instance_maintenance_event_id=None, maintenance_category=None, maintenance_reason=None, start_window_duration=None, state=None, time_created=None, time_finished=None, time_hard_due_date=None, time_started=None, time_window_start=None):
|
25
|
+
if additional_details and not isinstance(additional_details, dict):
|
26
|
+
raise TypeError("Expected argument 'additional_details' to be a dict")
|
27
|
+
pulumi.set(__self__, "additional_details", additional_details)
|
28
|
+
if alternative_resolution_action and not isinstance(alternative_resolution_action, str):
|
29
|
+
raise TypeError("Expected argument 'alternative_resolution_action' to be a str")
|
30
|
+
pulumi.set(__self__, "alternative_resolution_action", alternative_resolution_action)
|
31
|
+
if alternative_resolution_actions and not isinstance(alternative_resolution_actions, list):
|
32
|
+
raise TypeError("Expected argument 'alternative_resolution_actions' to be a list")
|
33
|
+
pulumi.set(__self__, "alternative_resolution_actions", alternative_resolution_actions)
|
34
|
+
if can_delete_local_storage and not isinstance(can_delete_local_storage, bool):
|
35
|
+
raise TypeError("Expected argument 'can_delete_local_storage' to be a bool")
|
36
|
+
pulumi.set(__self__, "can_delete_local_storage", can_delete_local_storage)
|
37
|
+
if can_reschedule and not isinstance(can_reschedule, bool):
|
38
|
+
raise TypeError("Expected argument 'can_reschedule' to be a bool")
|
39
|
+
pulumi.set(__self__, "can_reschedule", can_reschedule)
|
40
|
+
if compartment_id and not isinstance(compartment_id, str):
|
41
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
42
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
43
|
+
if correlation_token and not isinstance(correlation_token, str):
|
44
|
+
raise TypeError("Expected argument 'correlation_token' to be a str")
|
45
|
+
pulumi.set(__self__, "correlation_token", correlation_token)
|
46
|
+
if created_by and not isinstance(created_by, str):
|
47
|
+
raise TypeError("Expected argument 'created_by' to be a str")
|
48
|
+
pulumi.set(__self__, "created_by", created_by)
|
49
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
50
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
51
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
52
|
+
if description and not isinstance(description, str):
|
53
|
+
raise TypeError("Expected argument 'description' to be a str")
|
54
|
+
pulumi.set(__self__, "description", description)
|
55
|
+
if display_name and not isinstance(display_name, str):
|
56
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
57
|
+
pulumi.set(__self__, "display_name", display_name)
|
58
|
+
if estimated_duration and not isinstance(estimated_duration, str):
|
59
|
+
raise TypeError("Expected argument 'estimated_duration' to be a str")
|
60
|
+
pulumi.set(__self__, "estimated_duration", estimated_duration)
|
61
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
62
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
63
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
64
|
+
if id and not isinstance(id, str):
|
65
|
+
raise TypeError("Expected argument 'id' to be a str")
|
66
|
+
pulumi.set(__self__, "id", id)
|
67
|
+
if instance_action and not isinstance(instance_action, str):
|
68
|
+
raise TypeError("Expected argument 'instance_action' to be a str")
|
69
|
+
pulumi.set(__self__, "instance_action", instance_action)
|
70
|
+
if instance_id and not isinstance(instance_id, str):
|
71
|
+
raise TypeError("Expected argument 'instance_id' to be a str")
|
72
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
73
|
+
if instance_maintenance_event_id and not isinstance(instance_maintenance_event_id, str):
|
74
|
+
raise TypeError("Expected argument 'instance_maintenance_event_id' to be a str")
|
75
|
+
pulumi.set(__self__, "instance_maintenance_event_id", instance_maintenance_event_id)
|
76
|
+
if maintenance_category and not isinstance(maintenance_category, str):
|
77
|
+
raise TypeError("Expected argument 'maintenance_category' to be a str")
|
78
|
+
pulumi.set(__self__, "maintenance_category", maintenance_category)
|
79
|
+
if maintenance_reason and not isinstance(maintenance_reason, str):
|
80
|
+
raise TypeError("Expected argument 'maintenance_reason' to be a str")
|
81
|
+
pulumi.set(__self__, "maintenance_reason", maintenance_reason)
|
82
|
+
if start_window_duration and not isinstance(start_window_duration, str):
|
83
|
+
raise TypeError("Expected argument 'start_window_duration' to be a str")
|
84
|
+
pulumi.set(__self__, "start_window_duration", start_window_duration)
|
85
|
+
if state and not isinstance(state, str):
|
86
|
+
raise TypeError("Expected argument 'state' to be a str")
|
87
|
+
pulumi.set(__self__, "state", state)
|
88
|
+
if time_created and not isinstance(time_created, str):
|
89
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
90
|
+
pulumi.set(__self__, "time_created", time_created)
|
91
|
+
if time_finished and not isinstance(time_finished, str):
|
92
|
+
raise TypeError("Expected argument 'time_finished' to be a str")
|
93
|
+
pulumi.set(__self__, "time_finished", time_finished)
|
94
|
+
if time_hard_due_date and not isinstance(time_hard_due_date, str):
|
95
|
+
raise TypeError("Expected argument 'time_hard_due_date' to be a str")
|
96
|
+
pulumi.set(__self__, "time_hard_due_date", time_hard_due_date)
|
97
|
+
if time_started and not isinstance(time_started, str):
|
98
|
+
raise TypeError("Expected argument 'time_started' to be a str")
|
99
|
+
pulumi.set(__self__, "time_started", time_started)
|
100
|
+
if time_window_start and not isinstance(time_window_start, str):
|
101
|
+
raise TypeError("Expected argument 'time_window_start' to be a str")
|
102
|
+
pulumi.set(__self__, "time_window_start", time_window_start)
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="additionalDetails")
|
106
|
+
def additional_details(self) -> Mapping[str, Any]:
|
107
|
+
"""
|
108
|
+
Additional details of the maintenance in the form of json.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "additional_details")
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter(name="alternativeResolutionAction")
|
114
|
+
def alternative_resolution_action(self) -> str:
|
115
|
+
return pulumi.get(self, "alternative_resolution_action")
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="alternativeResolutionActions")
|
119
|
+
def alternative_resolution_actions(self) -> Sequence[str]:
|
120
|
+
"""
|
121
|
+
These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "alternative_resolution_actions")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter(name="canDeleteLocalStorage")
|
127
|
+
def can_delete_local_storage(self) -> bool:
|
128
|
+
"""
|
129
|
+
For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "can_delete_local_storage")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="canReschedule")
|
135
|
+
def can_reschedule(self) -> bool:
|
136
|
+
"""
|
137
|
+
Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "can_reschedule")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="compartmentId")
|
143
|
+
def compartment_id(self) -> str:
|
144
|
+
"""
|
145
|
+
The OCID of the compartment that contains the instance.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "compartment_id")
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="correlationToken")
|
151
|
+
def correlation_token(self) -> str:
|
152
|
+
"""
|
153
|
+
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.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "correlation_token")
|
156
|
+
|
157
|
+
@property
|
158
|
+
@pulumi.getter(name="createdBy")
|
159
|
+
def created_by(self) -> str:
|
160
|
+
"""
|
161
|
+
The creator of the maintenance event.
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "created_by")
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter(name="definedTags")
|
167
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
168
|
+
"""
|
169
|
+
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"}`
|
170
|
+
"""
|
171
|
+
return pulumi.get(self, "defined_tags")
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter
|
175
|
+
def description(self) -> str:
|
176
|
+
"""
|
177
|
+
It is the descriptive information about the maintenance taking place on the customer instance.
|
178
|
+
"""
|
179
|
+
return pulumi.get(self, "description")
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter(name="displayName")
|
183
|
+
def display_name(self) -> str:
|
184
|
+
"""
|
185
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "display_name")
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="estimatedDuration")
|
191
|
+
def estimated_duration(self) -> str:
|
192
|
+
"""
|
193
|
+
This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "estimated_duration")
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="freeformTags")
|
199
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
200
|
+
"""
|
201
|
+
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"}`
|
202
|
+
"""
|
203
|
+
return pulumi.get(self, "freeform_tags")
|
204
|
+
|
205
|
+
@property
|
206
|
+
@pulumi.getter
|
207
|
+
def id(self) -> str:
|
208
|
+
"""
|
209
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance event.
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "id")
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="instanceAction")
|
215
|
+
def instance_action(self) -> str:
|
216
|
+
"""
|
217
|
+
This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "instance_action")
|
220
|
+
|
221
|
+
@property
|
222
|
+
@pulumi.getter(name="instanceId")
|
223
|
+
def instance_id(self) -> str:
|
224
|
+
"""
|
225
|
+
The OCID of the instance.
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "instance_id")
|
228
|
+
|
229
|
+
@property
|
230
|
+
@pulumi.getter(name="instanceMaintenanceEventId")
|
231
|
+
def instance_maintenance_event_id(self) -> str:
|
232
|
+
return pulumi.get(self, "instance_maintenance_event_id")
|
233
|
+
|
234
|
+
@property
|
235
|
+
@pulumi.getter(name="maintenanceCategory")
|
236
|
+
def maintenance_category(self) -> str:
|
237
|
+
"""
|
238
|
+
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.
|
239
|
+
"""
|
240
|
+
return pulumi.get(self, "maintenance_category")
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter(name="maintenanceReason")
|
244
|
+
def maintenance_reason(self) -> str:
|
245
|
+
"""
|
246
|
+
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.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "maintenance_reason")
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter(name="startWindowDuration")
|
252
|
+
def start_window_duration(self) -> str:
|
253
|
+
"""
|
254
|
+
The duration of the time window Maintenance is scheduled to begin within.
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "start_window_duration")
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter
|
260
|
+
def state(self) -> str:
|
261
|
+
"""
|
262
|
+
The current state of the maintenance event.
|
263
|
+
"""
|
264
|
+
return pulumi.get(self, "state")
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter(name="timeCreated")
|
268
|
+
def time_created(self) -> str:
|
269
|
+
"""
|
270
|
+
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`
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "time_created")
|
273
|
+
|
274
|
+
@property
|
275
|
+
@pulumi.getter(name="timeFinished")
|
276
|
+
def time_finished(self) -> str:
|
277
|
+
"""
|
278
|
+
The time at which the Maintenance actually finished.
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "time_finished")
|
281
|
+
|
282
|
+
@property
|
283
|
+
@pulumi.getter(name="timeHardDueDate")
|
284
|
+
def time_hard_due_date(self) -> str:
|
285
|
+
"""
|
286
|
+
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.
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "time_hard_due_date")
|
289
|
+
|
290
|
+
@property
|
291
|
+
@pulumi.getter(name="timeStarted")
|
292
|
+
def time_started(self) -> str:
|
293
|
+
"""
|
294
|
+
The time at which the Maintenance actually started.
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "time_started")
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="timeWindowStart")
|
300
|
+
def time_window_start(self) -> str:
|
301
|
+
"""
|
302
|
+
The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "time_window_start")
|
305
|
+
|
306
|
+
|
307
|
+
class AwaitableGetInstanceMaintenanceEventResult(GetInstanceMaintenanceEventResult):
|
308
|
+
# pylint: disable=using-constant-test
|
309
|
+
def __await__(self):
|
310
|
+
if False:
|
311
|
+
yield self
|
312
|
+
return GetInstanceMaintenanceEventResult(
|
313
|
+
additional_details=self.additional_details,
|
314
|
+
alternative_resolution_action=self.alternative_resolution_action,
|
315
|
+
alternative_resolution_actions=self.alternative_resolution_actions,
|
316
|
+
can_delete_local_storage=self.can_delete_local_storage,
|
317
|
+
can_reschedule=self.can_reschedule,
|
318
|
+
compartment_id=self.compartment_id,
|
319
|
+
correlation_token=self.correlation_token,
|
320
|
+
created_by=self.created_by,
|
321
|
+
defined_tags=self.defined_tags,
|
322
|
+
description=self.description,
|
323
|
+
display_name=self.display_name,
|
324
|
+
estimated_duration=self.estimated_duration,
|
325
|
+
freeform_tags=self.freeform_tags,
|
326
|
+
id=self.id,
|
327
|
+
instance_action=self.instance_action,
|
328
|
+
instance_id=self.instance_id,
|
329
|
+
instance_maintenance_event_id=self.instance_maintenance_event_id,
|
330
|
+
maintenance_category=self.maintenance_category,
|
331
|
+
maintenance_reason=self.maintenance_reason,
|
332
|
+
start_window_duration=self.start_window_duration,
|
333
|
+
state=self.state,
|
334
|
+
time_created=self.time_created,
|
335
|
+
time_finished=self.time_finished,
|
336
|
+
time_hard_due_date=self.time_hard_due_date,
|
337
|
+
time_started=self.time_started,
|
338
|
+
time_window_start=self.time_window_start)
|
339
|
+
|
340
|
+
|
341
|
+
def get_instance_maintenance_event(instance_maintenance_event_id: Optional[str] = None,
|
342
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceMaintenanceEventResult:
|
343
|
+
"""
|
344
|
+
This data source provides details about a specific Instance Maintenance Event resource in Oracle Cloud Infrastructure Core service.
|
345
|
+
|
346
|
+
Gets the maintenance event for the given instance.
|
347
|
+
|
348
|
+
## Example Usage
|
349
|
+
|
350
|
+
```python
|
351
|
+
import pulumi
|
352
|
+
import pulumi_oci as oci
|
353
|
+
|
354
|
+
test_instance_maintenance_event = oci.Core.get_instance_maintenance_event(instance_maintenance_event_id=test_instance_maintenance_event_oci_core_instance_maintenance_event["id"])
|
355
|
+
```
|
356
|
+
|
357
|
+
|
358
|
+
:param str instance_maintenance_event_id: The OCID of the instance maintenance event.
|
359
|
+
"""
|
360
|
+
__args__ = dict()
|
361
|
+
__args__['instanceMaintenanceEventId'] = instance_maintenance_event_id
|
362
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
363
|
+
__ret__ = pulumi.runtime.invoke('oci:Core/getInstanceMaintenanceEvent:getInstanceMaintenanceEvent', __args__, opts=opts, typ=GetInstanceMaintenanceEventResult).value
|
364
|
+
|
365
|
+
return AwaitableGetInstanceMaintenanceEventResult(
|
366
|
+
additional_details=pulumi.get(__ret__, 'additional_details'),
|
367
|
+
alternative_resolution_action=pulumi.get(__ret__, 'alternative_resolution_action'),
|
368
|
+
alternative_resolution_actions=pulumi.get(__ret__, 'alternative_resolution_actions'),
|
369
|
+
can_delete_local_storage=pulumi.get(__ret__, 'can_delete_local_storage'),
|
370
|
+
can_reschedule=pulumi.get(__ret__, 'can_reschedule'),
|
371
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
372
|
+
correlation_token=pulumi.get(__ret__, 'correlation_token'),
|
373
|
+
created_by=pulumi.get(__ret__, 'created_by'),
|
374
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
375
|
+
description=pulumi.get(__ret__, 'description'),
|
376
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
377
|
+
estimated_duration=pulumi.get(__ret__, 'estimated_duration'),
|
378
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
379
|
+
id=pulumi.get(__ret__, 'id'),
|
380
|
+
instance_action=pulumi.get(__ret__, 'instance_action'),
|
381
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
382
|
+
instance_maintenance_event_id=pulumi.get(__ret__, 'instance_maintenance_event_id'),
|
383
|
+
maintenance_category=pulumi.get(__ret__, 'maintenance_category'),
|
384
|
+
maintenance_reason=pulumi.get(__ret__, 'maintenance_reason'),
|
385
|
+
start_window_duration=pulumi.get(__ret__, 'start_window_duration'),
|
386
|
+
state=pulumi.get(__ret__, 'state'),
|
387
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
388
|
+
time_finished=pulumi.get(__ret__, 'time_finished'),
|
389
|
+
time_hard_due_date=pulumi.get(__ret__, 'time_hard_due_date'),
|
390
|
+
time_started=pulumi.get(__ret__, 'time_started'),
|
391
|
+
time_window_start=pulumi.get(__ret__, 'time_window_start'))
|
392
|
+
|
393
|
+
|
394
|
+
@_utilities.lift_output_func(get_instance_maintenance_event)
|
395
|
+
def get_instance_maintenance_event_output(instance_maintenance_event_id: Optional[pulumi.Input[str]] = None,
|
396
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceMaintenanceEventResult]:
|
397
|
+
"""
|
398
|
+
This data source provides details about a specific Instance Maintenance Event resource in Oracle Cloud Infrastructure Core service.
|
399
|
+
|
400
|
+
Gets the maintenance event for the given instance.
|
401
|
+
|
402
|
+
## Example Usage
|
403
|
+
|
404
|
+
```python
|
405
|
+
import pulumi
|
406
|
+
import pulumi_oci as oci
|
407
|
+
|
408
|
+
test_instance_maintenance_event = oci.Core.get_instance_maintenance_event(instance_maintenance_event_id=test_instance_maintenance_event_oci_core_instance_maintenance_event["id"])
|
409
|
+
```
|
410
|
+
|
411
|
+
|
412
|
+
:param str instance_maintenance_event_id: The OCID of the instance maintenance event.
|
413
|
+
"""
|
414
|
+
...
|