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,250 @@
|
|
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
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetInstanceMaintenanceEventsResult',
|
16
|
+
'AwaitableGetInstanceMaintenanceEventsResult',
|
17
|
+
'get_instance_maintenance_events',
|
18
|
+
'get_instance_maintenance_events_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetInstanceMaintenanceEventsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getInstanceMaintenanceEvents.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, correlation_token=None, filters=None, id=None, instance_action=None, instance_id=None, instance_maintenance_events=None, state=None, time_window_start_greater_than_or_equal_to=None, time_window_start_less_than_or_equal_to=None):
|
27
|
+
if compartment_id and not isinstance(compartment_id, str):
|
28
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
+
if correlation_token and not isinstance(correlation_token, str):
|
31
|
+
raise TypeError("Expected argument 'correlation_token' to be a str")
|
32
|
+
pulumi.set(__self__, "correlation_token", correlation_token)
|
33
|
+
if filters and not isinstance(filters, list):
|
34
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
+
pulumi.set(__self__, "filters", filters)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if instance_action and not isinstance(instance_action, str):
|
40
|
+
raise TypeError("Expected argument 'instance_action' to be a str")
|
41
|
+
pulumi.set(__self__, "instance_action", instance_action)
|
42
|
+
if instance_id and not isinstance(instance_id, str):
|
43
|
+
raise TypeError("Expected argument 'instance_id' to be a str")
|
44
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
45
|
+
if instance_maintenance_events and not isinstance(instance_maintenance_events, list):
|
46
|
+
raise TypeError("Expected argument 'instance_maintenance_events' to be a list")
|
47
|
+
pulumi.set(__self__, "instance_maintenance_events", instance_maintenance_events)
|
48
|
+
if state and not isinstance(state, str):
|
49
|
+
raise TypeError("Expected argument 'state' to be a str")
|
50
|
+
pulumi.set(__self__, "state", state)
|
51
|
+
if time_window_start_greater_than_or_equal_to and not isinstance(time_window_start_greater_than_or_equal_to, str):
|
52
|
+
raise TypeError("Expected argument 'time_window_start_greater_than_or_equal_to' to be a str")
|
53
|
+
pulumi.set(__self__, "time_window_start_greater_than_or_equal_to", time_window_start_greater_than_or_equal_to)
|
54
|
+
if time_window_start_less_than_or_equal_to and not isinstance(time_window_start_less_than_or_equal_to, str):
|
55
|
+
raise TypeError("Expected argument 'time_window_start_less_than_or_equal_to' to be a str")
|
56
|
+
pulumi.set(__self__, "time_window_start_less_than_or_equal_to", time_window_start_less_than_or_equal_to)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="compartmentId")
|
60
|
+
def compartment_id(self) -> str:
|
61
|
+
"""
|
62
|
+
The OCID of the compartment that contains the instance.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "compartment_id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="correlationToken")
|
68
|
+
def correlation_token(self) -> Optional[str]:
|
69
|
+
"""
|
70
|
+
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.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "correlation_token")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def filters(self) -> Optional[Sequence['outputs.GetInstanceMaintenanceEventsFilterResult']]:
|
77
|
+
return pulumi.get(self, "filters")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def id(self) -> str:
|
82
|
+
"""
|
83
|
+
The provider-assigned unique ID for this managed resource.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "id")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="instanceAction")
|
89
|
+
def instance_action(self) -> Optional[str]:
|
90
|
+
"""
|
91
|
+
This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "instance_action")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="instanceId")
|
97
|
+
def instance_id(self) -> Optional[str]:
|
98
|
+
"""
|
99
|
+
The OCID of the instance.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "instance_id")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="instanceMaintenanceEvents")
|
105
|
+
def instance_maintenance_events(self) -> Sequence['outputs.GetInstanceMaintenanceEventsInstanceMaintenanceEventResult']:
|
106
|
+
"""
|
107
|
+
The list of instance_maintenance_events.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "instance_maintenance_events")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def state(self) -> Optional[str]:
|
114
|
+
"""
|
115
|
+
The current state of the maintenance event.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "state")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="timeWindowStartGreaterThanOrEqualTo")
|
121
|
+
def time_window_start_greater_than_or_equal_to(self) -> Optional[str]:
|
122
|
+
return pulumi.get(self, "time_window_start_greater_than_or_equal_to")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="timeWindowStartLessThanOrEqualTo")
|
126
|
+
def time_window_start_less_than_or_equal_to(self) -> Optional[str]:
|
127
|
+
return pulumi.get(self, "time_window_start_less_than_or_equal_to")
|
128
|
+
|
129
|
+
|
130
|
+
class AwaitableGetInstanceMaintenanceEventsResult(GetInstanceMaintenanceEventsResult):
|
131
|
+
# pylint: disable=using-constant-test
|
132
|
+
def __await__(self):
|
133
|
+
if False:
|
134
|
+
yield self
|
135
|
+
return GetInstanceMaintenanceEventsResult(
|
136
|
+
compartment_id=self.compartment_id,
|
137
|
+
correlation_token=self.correlation_token,
|
138
|
+
filters=self.filters,
|
139
|
+
id=self.id,
|
140
|
+
instance_action=self.instance_action,
|
141
|
+
instance_id=self.instance_id,
|
142
|
+
instance_maintenance_events=self.instance_maintenance_events,
|
143
|
+
state=self.state,
|
144
|
+
time_window_start_greater_than_or_equal_to=self.time_window_start_greater_than_or_equal_to,
|
145
|
+
time_window_start_less_than_or_equal_to=self.time_window_start_less_than_or_equal_to)
|
146
|
+
|
147
|
+
|
148
|
+
def get_instance_maintenance_events(compartment_id: Optional[str] = None,
|
149
|
+
correlation_token: Optional[str] = None,
|
150
|
+
filters: Optional[Sequence[pulumi.InputType['GetInstanceMaintenanceEventsFilterArgs']]] = None,
|
151
|
+
instance_action: Optional[str] = None,
|
152
|
+
instance_id: Optional[str] = None,
|
153
|
+
state: Optional[str] = None,
|
154
|
+
time_window_start_greater_than_or_equal_to: Optional[str] = None,
|
155
|
+
time_window_start_less_than_or_equal_to: Optional[str] = None,
|
156
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceMaintenanceEventsResult:
|
157
|
+
"""
|
158
|
+
This data source provides the list of Instance Maintenance Events in Oracle Cloud Infrastructure Core service.
|
159
|
+
|
160
|
+
Gets a list of all the maintenance events for the given instance.
|
161
|
+
|
162
|
+
## Example Usage
|
163
|
+
|
164
|
+
```python
|
165
|
+
import pulumi
|
166
|
+
import pulumi_oci as oci
|
167
|
+
|
168
|
+
test_instance_maintenance_events = oci.Core.get_instance_maintenance_events(compartment_id=compartment_id,
|
169
|
+
correlation_token=instance_maintenance_event_correlation_token,
|
170
|
+
instance_action=instance_maintenance_event_instance_action,
|
171
|
+
instance_id=test_instance["id"],
|
172
|
+
state=instance_maintenance_event_state,
|
173
|
+
time_window_start_greater_than_or_equal_to=instance_maintenance_event_time_window_start_greater_than_or_equal_to,
|
174
|
+
time_window_start_less_than_or_equal_to=instance_maintenance_event_time_window_start_less_than_or_equal_to)
|
175
|
+
```
|
176
|
+
|
177
|
+
|
178
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
179
|
+
:param str correlation_token: A filter to only return resources that have a matching correlationToken.
|
180
|
+
:param str instance_action: A filter to only return resources that match the given instance action.
|
181
|
+
:param str instance_id: The OCID of the instance.
|
182
|
+
:param str state: A filter to only return resources that match the given lifecycle state.
|
183
|
+
:param str time_window_start_greater_than_or_equal_to: Starting range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
|
184
|
+
:param str time_window_start_less_than_or_equal_to: Ending range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
|
185
|
+
"""
|
186
|
+
__args__ = dict()
|
187
|
+
__args__['compartmentId'] = compartment_id
|
188
|
+
__args__['correlationToken'] = correlation_token
|
189
|
+
__args__['filters'] = filters
|
190
|
+
__args__['instanceAction'] = instance_action
|
191
|
+
__args__['instanceId'] = instance_id
|
192
|
+
__args__['state'] = state
|
193
|
+
__args__['timeWindowStartGreaterThanOrEqualTo'] = time_window_start_greater_than_or_equal_to
|
194
|
+
__args__['timeWindowStartLessThanOrEqualTo'] = time_window_start_less_than_or_equal_to
|
195
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
196
|
+
__ret__ = pulumi.runtime.invoke('oci:Core/getInstanceMaintenanceEvents:getInstanceMaintenanceEvents', __args__, opts=opts, typ=GetInstanceMaintenanceEventsResult).value
|
197
|
+
|
198
|
+
return AwaitableGetInstanceMaintenanceEventsResult(
|
199
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
200
|
+
correlation_token=pulumi.get(__ret__, 'correlation_token'),
|
201
|
+
filters=pulumi.get(__ret__, 'filters'),
|
202
|
+
id=pulumi.get(__ret__, 'id'),
|
203
|
+
instance_action=pulumi.get(__ret__, 'instance_action'),
|
204
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
205
|
+
instance_maintenance_events=pulumi.get(__ret__, 'instance_maintenance_events'),
|
206
|
+
state=pulumi.get(__ret__, 'state'),
|
207
|
+
time_window_start_greater_than_or_equal_to=pulumi.get(__ret__, 'time_window_start_greater_than_or_equal_to'),
|
208
|
+
time_window_start_less_than_or_equal_to=pulumi.get(__ret__, 'time_window_start_less_than_or_equal_to'))
|
209
|
+
|
210
|
+
|
211
|
+
@_utilities.lift_output_func(get_instance_maintenance_events)
|
212
|
+
def get_instance_maintenance_events_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
213
|
+
correlation_token: Optional[pulumi.Input[Optional[str]]] = None,
|
214
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetInstanceMaintenanceEventsFilterArgs']]]]] = None,
|
215
|
+
instance_action: Optional[pulumi.Input[Optional[str]]] = None,
|
216
|
+
instance_id: Optional[pulumi.Input[Optional[str]]] = None,
|
217
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
218
|
+
time_window_start_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
219
|
+
time_window_start_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
220
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceMaintenanceEventsResult]:
|
221
|
+
"""
|
222
|
+
This data source provides the list of Instance Maintenance Events in Oracle Cloud Infrastructure Core service.
|
223
|
+
|
224
|
+
Gets a list of all the maintenance events for the given instance.
|
225
|
+
|
226
|
+
## Example Usage
|
227
|
+
|
228
|
+
```python
|
229
|
+
import pulumi
|
230
|
+
import pulumi_oci as oci
|
231
|
+
|
232
|
+
test_instance_maintenance_events = oci.Core.get_instance_maintenance_events(compartment_id=compartment_id,
|
233
|
+
correlation_token=instance_maintenance_event_correlation_token,
|
234
|
+
instance_action=instance_maintenance_event_instance_action,
|
235
|
+
instance_id=test_instance["id"],
|
236
|
+
state=instance_maintenance_event_state,
|
237
|
+
time_window_start_greater_than_or_equal_to=instance_maintenance_event_time_window_start_greater_than_or_equal_to,
|
238
|
+
time_window_start_less_than_or_equal_to=instance_maintenance_event_time_window_start_less_than_or_equal_to)
|
239
|
+
```
|
240
|
+
|
241
|
+
|
242
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
243
|
+
:param str correlation_token: A filter to only return resources that have a matching correlationToken.
|
244
|
+
:param str instance_action: A filter to only return resources that match the given instance action.
|
245
|
+
:param str instance_id: The OCID of the instance.
|
246
|
+
:param str state: A filter to only return resources that match the given lifecycle state.
|
247
|
+
:param str time_window_start_greater_than_or_equal_to: Starting range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
|
248
|
+
:param str time_window_start_less_than_or_equal_to: Ending range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
|
249
|
+
"""
|
250
|
+
...
|