pulumi-oci 1.36.0__py3-none-any.whl → 1.36.0a1715707046__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 +0 -208
- pulumi_oci/core/__init__.py +0 -3
- pulumi_oci/core/_inputs.py +0 -40
- pulumi_oci/core/outputs.py +0 -261
- pulumi_oci/database/_inputs.py +0 -192
- pulumi_oci/database/exadata_infrastructure.py +0 -28
- pulumi_oci/database/get_exadata_infrastructure.py +1 -14
- pulumi_oci/database/get_vm_cluster.py +1 -14
- pulumi_oci/database/outputs.py +0 -418
- pulumi_oci/database/vm_cluster.py +0 -55
- pulumi_oci/database/vm_cluster_add_virtual_network.py +0 -28
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +0 -28
- pulumi_oci/datasafe/__init__.py +0 -1
- pulumi_oci/email/__init__.py +0 -3
- pulumi_oci/email/_inputs.py +0 -46
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +0 -77
- pulumi_oci/email/get_email_domain.py +1 -27
- pulumi_oci/email/outputs.py +0 -231
- pulumi_oci/loadbalancer/_inputs.py +0 -16
- pulumi_oci/loadbalancer/listener.py +0 -2
- pulumi_oci/loadbalancer/outputs.py +0 -14
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +1 -14
- pulumi_oci/networkloadbalancer/listener.py +2 -51
- pulumi_oci/networkloadbalancer/outputs.py +0 -11
- pulumi_oci/osmanagementhub/__init__.py +0 -48
- pulumi_oci/osmanagementhub/_inputs.py +507 -3649
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +13 -26
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +11 -48
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +15 -28
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +19 -86
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +10 -62
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +9 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +10 -8
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +16 -71
- pulumi_oci/osmanagementhub/get_management_station.py +19 -42
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
- pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
- pulumi_oci/osmanagementhub/get_profile.py +12 -51
- pulumi_oci/osmanagementhub/get_profiles.py +16 -76
- pulumi_oci/osmanagementhub/get_software_source.py +18 -109
- pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
- pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source_software_package.py +10 -23
- pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
- pulumi_oci/osmanagementhub/get_software_sources.py +21 -78
- pulumi_oci/osmanagementhub/lifecycle_environment.py +86 -159
- pulumi_oci/osmanagementhub/managed_instance_group.py +86 -264
- pulumi_oci/osmanagementhub/management_station.py +81 -184
- pulumi_oci/osmanagementhub/outputs.py +2364 -10866
- pulumi_oci/osmanagementhub/profile.py +78 -200
- pulumi_oci/osmanagementhub/software_source.py +181 -365
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/RECORD +64 -119
- pulumi_oci/core/get_ip_inventory_subnet.py +0 -171
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +0 -171
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +0 -206
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/email/email_return_path.py +0 -642
- pulumi_oci/email/get_email_return_path.py +0 -274
- pulumi_oci/email/get_email_return_paths.py +0 -203
- pulumi_oci/osmanagementhub/event.py +0 -701
- pulumi_oci/osmanagementhub/get_entitlements.py +0 -178
- pulumi_oci/osmanagementhub/get_errata.py +0 -283
- pulumi_oci/osmanagementhub/get_erratum.py +0 -308
- pulumi_oci/osmanagementhub/get_event.py +0 -314
- pulumi_oci/osmanagementhub/get_events.py +0 -314
- pulumi_oci/osmanagementhub/get_managed_instance.py +0 -587
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +0 -190
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +0 -238
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +0 -220
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +0 -244
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instances.py +0 -537
- pulumi_oci/osmanagementhub/get_scheduled_job.py +0 -426
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +0 -433
- pulumi_oci/osmanagementhub/get_software_package.py +0 -301
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +0 -329
- pulumi_oci/osmanagementhub/get_software_packages.py +0 -232
- pulumi_oci/osmanagementhub/get_windows_update.py +0 -222
- pulumi_oci/osmanagementhub/get_windows_updates.py +0 -187
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +0 -296
- pulumi_oci/osmanagementhub/managed_instance.py +0 -1327
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +0 -266
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +0 -214
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +0 -264
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +0 -526
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +0 -292
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +0 -341
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +0 -341
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +0 -264
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +0 -212
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +0 -264
- pulumi_oci/osmanagementhub/scheduled_job.py +0 -1331
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +0 -266
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +0 -194
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/top_level.txt +0 -0
@@ -1,433 +0,0 @@
|
|
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
|
-
'GetScheduledJobsResult',
|
16
|
-
'AwaitableGetScheduledJobsResult',
|
17
|
-
'get_scheduled_jobs',
|
18
|
-
'get_scheduled_jobs_output',
|
19
|
-
]
|
20
|
-
|
21
|
-
@pulumi.output_type
|
22
|
-
class GetScheduledJobsResult:
|
23
|
-
"""
|
24
|
-
A collection of values returned by getScheduledJobs.
|
25
|
-
"""
|
26
|
-
def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, display_name=None, display_name_contains=None, filters=None, id=None, is_managed_by_autonomous_linux=None, is_restricted=None, lifecycle_stage_id=None, location_not_equal_tos=None, locations=None, managed_compartment_id=None, managed_instance_group_id=None, managed_instance_id=None, operation_type=None, schedule_type=None, scheduled_job_collections=None, state=None, time_end=None, time_start=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 compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
31
|
-
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
32
|
-
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
33
|
-
if display_name and not isinstance(display_name, str):
|
34
|
-
raise TypeError("Expected argument 'display_name' to be a str")
|
35
|
-
pulumi.set(__self__, "display_name", display_name)
|
36
|
-
if display_name_contains and not isinstance(display_name_contains, str):
|
37
|
-
raise TypeError("Expected argument 'display_name_contains' to be a str")
|
38
|
-
pulumi.set(__self__, "display_name_contains", display_name_contains)
|
39
|
-
if filters and not isinstance(filters, list):
|
40
|
-
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
-
pulumi.set(__self__, "filters", filters)
|
42
|
-
if id and not isinstance(id, str):
|
43
|
-
raise TypeError("Expected argument 'id' to be a str")
|
44
|
-
pulumi.set(__self__, "id", id)
|
45
|
-
if is_managed_by_autonomous_linux and not isinstance(is_managed_by_autonomous_linux, bool):
|
46
|
-
raise TypeError("Expected argument 'is_managed_by_autonomous_linux' to be a bool")
|
47
|
-
pulumi.set(__self__, "is_managed_by_autonomous_linux", is_managed_by_autonomous_linux)
|
48
|
-
if is_restricted and not isinstance(is_restricted, bool):
|
49
|
-
raise TypeError("Expected argument 'is_restricted' to be a bool")
|
50
|
-
pulumi.set(__self__, "is_restricted", is_restricted)
|
51
|
-
if lifecycle_stage_id and not isinstance(lifecycle_stage_id, str):
|
52
|
-
raise TypeError("Expected argument 'lifecycle_stage_id' to be a str")
|
53
|
-
pulumi.set(__self__, "lifecycle_stage_id", lifecycle_stage_id)
|
54
|
-
if location_not_equal_tos and not isinstance(location_not_equal_tos, list):
|
55
|
-
raise TypeError("Expected argument 'location_not_equal_tos' to be a list")
|
56
|
-
pulumi.set(__self__, "location_not_equal_tos", location_not_equal_tos)
|
57
|
-
if locations and not isinstance(locations, list):
|
58
|
-
raise TypeError("Expected argument 'locations' to be a list")
|
59
|
-
pulumi.set(__self__, "locations", locations)
|
60
|
-
if managed_compartment_id and not isinstance(managed_compartment_id, str):
|
61
|
-
raise TypeError("Expected argument 'managed_compartment_id' to be a str")
|
62
|
-
pulumi.set(__self__, "managed_compartment_id", managed_compartment_id)
|
63
|
-
if managed_instance_group_id and not isinstance(managed_instance_group_id, str):
|
64
|
-
raise TypeError("Expected argument 'managed_instance_group_id' to be a str")
|
65
|
-
pulumi.set(__self__, "managed_instance_group_id", managed_instance_group_id)
|
66
|
-
if managed_instance_id and not isinstance(managed_instance_id, str):
|
67
|
-
raise TypeError("Expected argument 'managed_instance_id' to be a str")
|
68
|
-
pulumi.set(__self__, "managed_instance_id", managed_instance_id)
|
69
|
-
if operation_type and not isinstance(operation_type, str):
|
70
|
-
raise TypeError("Expected argument 'operation_type' to be a str")
|
71
|
-
pulumi.set(__self__, "operation_type", operation_type)
|
72
|
-
if schedule_type and not isinstance(schedule_type, str):
|
73
|
-
raise TypeError("Expected argument 'schedule_type' to be a str")
|
74
|
-
pulumi.set(__self__, "schedule_type", schedule_type)
|
75
|
-
if scheduled_job_collections and not isinstance(scheduled_job_collections, list):
|
76
|
-
raise TypeError("Expected argument 'scheduled_job_collections' to be a list")
|
77
|
-
pulumi.set(__self__, "scheduled_job_collections", scheduled_job_collections)
|
78
|
-
if state and not isinstance(state, str):
|
79
|
-
raise TypeError("Expected argument 'state' to be a str")
|
80
|
-
pulumi.set(__self__, "state", state)
|
81
|
-
if time_end and not isinstance(time_end, str):
|
82
|
-
raise TypeError("Expected argument 'time_end' to be a str")
|
83
|
-
pulumi.set(__self__, "time_end", time_end)
|
84
|
-
if time_start and not isinstance(time_start, str):
|
85
|
-
raise TypeError("Expected argument 'time_start' to be a str")
|
86
|
-
pulumi.set(__self__, "time_start", time_start)
|
87
|
-
|
88
|
-
@property
|
89
|
-
@pulumi.getter(name="compartmentId")
|
90
|
-
def compartment_id(self) -> Optional[str]:
|
91
|
-
"""
|
92
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
93
|
-
"""
|
94
|
-
return pulumi.get(self, "compartment_id")
|
95
|
-
|
96
|
-
@property
|
97
|
-
@pulumi.getter(name="compartmentIdInSubtree")
|
98
|
-
def compartment_id_in_subtree(self) -> Optional[bool]:
|
99
|
-
return pulumi.get(self, "compartment_id_in_subtree")
|
100
|
-
|
101
|
-
@property
|
102
|
-
@pulumi.getter(name="displayName")
|
103
|
-
def display_name(self) -> Optional[str]:
|
104
|
-
"""
|
105
|
-
User-friendly name for the scheduled job.
|
106
|
-
"""
|
107
|
-
return pulumi.get(self, "display_name")
|
108
|
-
|
109
|
-
@property
|
110
|
-
@pulumi.getter(name="displayNameContains")
|
111
|
-
def display_name_contains(self) -> Optional[str]:
|
112
|
-
return pulumi.get(self, "display_name_contains")
|
113
|
-
|
114
|
-
@property
|
115
|
-
@pulumi.getter
|
116
|
-
def filters(self) -> Optional[Sequence['outputs.GetScheduledJobsFilterResult']]:
|
117
|
-
return pulumi.get(self, "filters")
|
118
|
-
|
119
|
-
@property
|
120
|
-
@pulumi.getter
|
121
|
-
def id(self) -> Optional[str]:
|
122
|
-
"""
|
123
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
|
124
|
-
"""
|
125
|
-
return pulumi.get(self, "id")
|
126
|
-
|
127
|
-
@property
|
128
|
-
@pulumi.getter(name="isManagedByAutonomousLinux")
|
129
|
-
def is_managed_by_autonomous_linux(self) -> Optional[bool]:
|
130
|
-
"""
|
131
|
-
Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
132
|
-
"""
|
133
|
-
return pulumi.get(self, "is_managed_by_autonomous_linux")
|
134
|
-
|
135
|
-
@property
|
136
|
-
@pulumi.getter(name="isRestricted")
|
137
|
-
def is_restricted(self) -> Optional[bool]:
|
138
|
-
"""
|
139
|
-
Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
|
140
|
-
"""
|
141
|
-
return pulumi.get(self, "is_restricted")
|
142
|
-
|
143
|
-
@property
|
144
|
-
@pulumi.getter(name="lifecycleStageId")
|
145
|
-
def lifecycle_stage_id(self) -> Optional[str]:
|
146
|
-
return pulumi.get(self, "lifecycle_stage_id")
|
147
|
-
|
148
|
-
@property
|
149
|
-
@pulumi.getter(name="locationNotEqualTos")
|
150
|
-
def location_not_equal_tos(self) -> Optional[Sequence[str]]:
|
151
|
-
return pulumi.get(self, "location_not_equal_tos")
|
152
|
-
|
153
|
-
@property
|
154
|
-
@pulumi.getter
|
155
|
-
def locations(self) -> Optional[Sequence[str]]:
|
156
|
-
return pulumi.get(self, "locations")
|
157
|
-
|
158
|
-
@property
|
159
|
-
@pulumi.getter(name="managedCompartmentId")
|
160
|
-
def managed_compartment_id(self) -> Optional[str]:
|
161
|
-
return pulumi.get(self, "managed_compartment_id")
|
162
|
-
|
163
|
-
@property
|
164
|
-
@pulumi.getter(name="managedInstanceGroupId")
|
165
|
-
def managed_instance_group_id(self) -> Optional[str]:
|
166
|
-
return pulumi.get(self, "managed_instance_group_id")
|
167
|
-
|
168
|
-
@property
|
169
|
-
@pulumi.getter(name="managedInstanceId")
|
170
|
-
def managed_instance_id(self) -> Optional[str]:
|
171
|
-
return pulumi.get(self, "managed_instance_id")
|
172
|
-
|
173
|
-
@property
|
174
|
-
@pulumi.getter(name="operationType")
|
175
|
-
def operation_type(self) -> Optional[str]:
|
176
|
-
"""
|
177
|
-
The type of operation this scheduled job performs.
|
178
|
-
"""
|
179
|
-
return pulumi.get(self, "operation_type")
|
180
|
-
|
181
|
-
@property
|
182
|
-
@pulumi.getter(name="scheduleType")
|
183
|
-
def schedule_type(self) -> Optional[str]:
|
184
|
-
"""
|
185
|
-
The type of scheduling frequency for the job.
|
186
|
-
"""
|
187
|
-
return pulumi.get(self, "schedule_type")
|
188
|
-
|
189
|
-
@property
|
190
|
-
@pulumi.getter(name="scheduledJobCollections")
|
191
|
-
def scheduled_job_collections(self) -> Sequence['outputs.GetScheduledJobsScheduledJobCollectionResult']:
|
192
|
-
"""
|
193
|
-
The list of scheduled_job_collection.
|
194
|
-
"""
|
195
|
-
return pulumi.get(self, "scheduled_job_collections")
|
196
|
-
|
197
|
-
@property
|
198
|
-
@pulumi.getter
|
199
|
-
def state(self) -> Optional[str]:
|
200
|
-
"""
|
201
|
-
The current state of the scheduled job.
|
202
|
-
"""
|
203
|
-
return pulumi.get(self, "state")
|
204
|
-
|
205
|
-
@property
|
206
|
-
@pulumi.getter(name="timeEnd")
|
207
|
-
def time_end(self) -> Optional[str]:
|
208
|
-
return pulumi.get(self, "time_end")
|
209
|
-
|
210
|
-
@property
|
211
|
-
@pulumi.getter(name="timeStart")
|
212
|
-
def time_start(self) -> Optional[str]:
|
213
|
-
return pulumi.get(self, "time_start")
|
214
|
-
|
215
|
-
|
216
|
-
class AwaitableGetScheduledJobsResult(GetScheduledJobsResult):
|
217
|
-
# pylint: disable=using-constant-test
|
218
|
-
def __await__(self):
|
219
|
-
if False:
|
220
|
-
yield self
|
221
|
-
return GetScheduledJobsResult(
|
222
|
-
compartment_id=self.compartment_id,
|
223
|
-
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
224
|
-
display_name=self.display_name,
|
225
|
-
display_name_contains=self.display_name_contains,
|
226
|
-
filters=self.filters,
|
227
|
-
id=self.id,
|
228
|
-
is_managed_by_autonomous_linux=self.is_managed_by_autonomous_linux,
|
229
|
-
is_restricted=self.is_restricted,
|
230
|
-
lifecycle_stage_id=self.lifecycle_stage_id,
|
231
|
-
location_not_equal_tos=self.location_not_equal_tos,
|
232
|
-
locations=self.locations,
|
233
|
-
managed_compartment_id=self.managed_compartment_id,
|
234
|
-
managed_instance_group_id=self.managed_instance_group_id,
|
235
|
-
managed_instance_id=self.managed_instance_id,
|
236
|
-
operation_type=self.operation_type,
|
237
|
-
schedule_type=self.schedule_type,
|
238
|
-
scheduled_job_collections=self.scheduled_job_collections,
|
239
|
-
state=self.state,
|
240
|
-
time_end=self.time_end,
|
241
|
-
time_start=self.time_start)
|
242
|
-
|
243
|
-
|
244
|
-
def get_scheduled_jobs(compartment_id: Optional[str] = None,
|
245
|
-
compartment_id_in_subtree: Optional[bool] = None,
|
246
|
-
display_name: Optional[str] = None,
|
247
|
-
display_name_contains: Optional[str] = None,
|
248
|
-
filters: Optional[Sequence[pulumi.InputType['GetScheduledJobsFilterArgs']]] = None,
|
249
|
-
id: Optional[str] = None,
|
250
|
-
is_managed_by_autonomous_linux: Optional[bool] = None,
|
251
|
-
is_restricted: Optional[bool] = None,
|
252
|
-
lifecycle_stage_id: Optional[str] = None,
|
253
|
-
location_not_equal_tos: Optional[Sequence[str]] = None,
|
254
|
-
locations: Optional[Sequence[str]] = None,
|
255
|
-
managed_compartment_id: Optional[str] = None,
|
256
|
-
managed_instance_group_id: Optional[str] = None,
|
257
|
-
managed_instance_id: Optional[str] = None,
|
258
|
-
operation_type: Optional[str] = None,
|
259
|
-
schedule_type: Optional[str] = None,
|
260
|
-
state: Optional[str] = None,
|
261
|
-
time_end: Optional[str] = None,
|
262
|
-
time_start: Optional[str] = None,
|
263
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledJobsResult:
|
264
|
-
"""
|
265
|
-
This data source provides the list of Scheduled Jobs in Oracle Cloud Infrastructure Os Management Hub service.
|
266
|
-
|
267
|
-
Lists scheduled jobs that match the specified compartment or scheduled job [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
268
|
-
|
269
|
-
## Example Usage
|
270
|
-
|
271
|
-
```python
|
272
|
-
import pulumi
|
273
|
-
import pulumi_oci as oci
|
274
|
-
|
275
|
-
test_scheduled_jobs = oci.OsManagementHub.get_scheduled_jobs(compartment_id=compartment_id,
|
276
|
-
compartment_id_in_subtree=scheduled_job_compartment_id_in_subtree,
|
277
|
-
display_name=scheduled_job_display_name,
|
278
|
-
display_name_contains=scheduled_job_display_name_contains,
|
279
|
-
id=scheduled_job_id,
|
280
|
-
is_managed_by_autonomous_linux=scheduled_job_is_managed_by_autonomous_linux,
|
281
|
-
is_restricted=scheduled_job_is_restricted,
|
282
|
-
lifecycle_stage_id=test_lifecycle_stage["id"],
|
283
|
-
locations=scheduled_job_location,
|
284
|
-
location_not_equal_tos=scheduled_job_location_not_equal_to,
|
285
|
-
managed_compartment_id=test_compartment["id"],
|
286
|
-
managed_instance_group_id=test_managed_instance_group["id"],
|
287
|
-
managed_instance_id=test_managed_instance["id"],
|
288
|
-
operation_type=scheduled_job_operation_type,
|
289
|
-
schedule_type=scheduled_job_schedule_type,
|
290
|
-
state=scheduled_job_state,
|
291
|
-
time_end=scheduled_job_time_end,
|
292
|
-
time_start=scheduled_job_time_start)
|
293
|
-
```
|
294
|
-
|
295
|
-
|
296
|
-
:param str compartment_id: (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
297
|
-
:param bool compartment_id_in_subtree: Indicates whether to include subcompartments in the returned results. Default is false.
|
298
|
-
:param str display_name: A filter to return resources that match the given user-friendly name.
|
299
|
-
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
300
|
-
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job. A filter to return the specified job.
|
301
|
-
:param bool is_managed_by_autonomous_linux: Indicates whether to list only resources managed by the Autonomous Linux service.
|
302
|
-
:param bool is_restricted: A filter to return only restricted scheduled jobs.
|
303
|
-
:param str lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
|
304
|
-
:param Sequence[str] location_not_equal_tos: A filter to return only resources whose location does not match the given value.
|
305
|
-
:param Sequence[str] locations: A filter to return only resources whose location matches the given value.
|
306
|
-
:param str managed_compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed compartment. This filter returns resources associated with this compartment.
|
307
|
-
:param str managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
|
308
|
-
:param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. This filter returns resources associated with this managed instance.
|
309
|
-
:param str operation_type: A filter to return only scheduled jobs with the given operation type.
|
310
|
-
:param str schedule_type: A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
|
311
|
-
:param str state: A filter to return only scheduled jobs currently in the given state.
|
312
|
-
:param str time_end: A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
|
313
|
-
:param str time_start: A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
|
314
|
-
"""
|
315
|
-
__args__ = dict()
|
316
|
-
__args__['compartmentId'] = compartment_id
|
317
|
-
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
318
|
-
__args__['displayName'] = display_name
|
319
|
-
__args__['displayNameContains'] = display_name_contains
|
320
|
-
__args__['filters'] = filters
|
321
|
-
__args__['id'] = id
|
322
|
-
__args__['isManagedByAutonomousLinux'] = is_managed_by_autonomous_linux
|
323
|
-
__args__['isRestricted'] = is_restricted
|
324
|
-
__args__['lifecycleStageId'] = lifecycle_stage_id
|
325
|
-
__args__['locationNotEqualTos'] = location_not_equal_tos
|
326
|
-
__args__['locations'] = locations
|
327
|
-
__args__['managedCompartmentId'] = managed_compartment_id
|
328
|
-
__args__['managedInstanceGroupId'] = managed_instance_group_id
|
329
|
-
__args__['managedInstanceId'] = managed_instance_id
|
330
|
-
__args__['operationType'] = operation_type
|
331
|
-
__args__['scheduleType'] = schedule_type
|
332
|
-
__args__['state'] = state
|
333
|
-
__args__['timeEnd'] = time_end
|
334
|
-
__args__['timeStart'] = time_start
|
335
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
336
|
-
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getScheduledJobs:getScheduledJobs', __args__, opts=opts, typ=GetScheduledJobsResult).value
|
337
|
-
|
338
|
-
return AwaitableGetScheduledJobsResult(
|
339
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
340
|
-
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
341
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
342
|
-
display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
|
343
|
-
filters=pulumi.get(__ret__, 'filters'),
|
344
|
-
id=pulumi.get(__ret__, 'id'),
|
345
|
-
is_managed_by_autonomous_linux=pulumi.get(__ret__, 'is_managed_by_autonomous_linux'),
|
346
|
-
is_restricted=pulumi.get(__ret__, 'is_restricted'),
|
347
|
-
lifecycle_stage_id=pulumi.get(__ret__, 'lifecycle_stage_id'),
|
348
|
-
location_not_equal_tos=pulumi.get(__ret__, 'location_not_equal_tos'),
|
349
|
-
locations=pulumi.get(__ret__, 'locations'),
|
350
|
-
managed_compartment_id=pulumi.get(__ret__, 'managed_compartment_id'),
|
351
|
-
managed_instance_group_id=pulumi.get(__ret__, 'managed_instance_group_id'),
|
352
|
-
managed_instance_id=pulumi.get(__ret__, 'managed_instance_id'),
|
353
|
-
operation_type=pulumi.get(__ret__, 'operation_type'),
|
354
|
-
schedule_type=pulumi.get(__ret__, 'schedule_type'),
|
355
|
-
scheduled_job_collections=pulumi.get(__ret__, 'scheduled_job_collections'),
|
356
|
-
state=pulumi.get(__ret__, 'state'),
|
357
|
-
time_end=pulumi.get(__ret__, 'time_end'),
|
358
|
-
time_start=pulumi.get(__ret__, 'time_start'))
|
359
|
-
|
360
|
-
|
361
|
-
@_utilities.lift_output_func(get_scheduled_jobs)
|
362
|
-
def get_scheduled_jobs_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
363
|
-
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
364
|
-
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
365
|
-
display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
366
|
-
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetScheduledJobsFilterArgs']]]]] = None,
|
367
|
-
id: Optional[pulumi.Input[Optional[str]]] = None,
|
368
|
-
is_managed_by_autonomous_linux: Optional[pulumi.Input[Optional[bool]]] = None,
|
369
|
-
is_restricted: Optional[pulumi.Input[Optional[bool]]] = None,
|
370
|
-
lifecycle_stage_id: Optional[pulumi.Input[Optional[str]]] = None,
|
371
|
-
location_not_equal_tos: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
372
|
-
locations: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
373
|
-
managed_compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
374
|
-
managed_instance_group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
375
|
-
managed_instance_id: Optional[pulumi.Input[Optional[str]]] = None,
|
376
|
-
operation_type: Optional[pulumi.Input[Optional[str]]] = None,
|
377
|
-
schedule_type: Optional[pulumi.Input[Optional[str]]] = None,
|
378
|
-
state: Optional[pulumi.Input[Optional[str]]] = None,
|
379
|
-
time_end: Optional[pulumi.Input[Optional[str]]] = None,
|
380
|
-
time_start: Optional[pulumi.Input[Optional[str]]] = None,
|
381
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledJobsResult]:
|
382
|
-
"""
|
383
|
-
This data source provides the list of Scheduled Jobs in Oracle Cloud Infrastructure Os Management Hub service.
|
384
|
-
|
385
|
-
Lists scheduled jobs that match the specified compartment or scheduled job [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
386
|
-
|
387
|
-
## Example Usage
|
388
|
-
|
389
|
-
```python
|
390
|
-
import pulumi
|
391
|
-
import pulumi_oci as oci
|
392
|
-
|
393
|
-
test_scheduled_jobs = oci.OsManagementHub.get_scheduled_jobs(compartment_id=compartment_id,
|
394
|
-
compartment_id_in_subtree=scheduled_job_compartment_id_in_subtree,
|
395
|
-
display_name=scheduled_job_display_name,
|
396
|
-
display_name_contains=scheduled_job_display_name_contains,
|
397
|
-
id=scheduled_job_id,
|
398
|
-
is_managed_by_autonomous_linux=scheduled_job_is_managed_by_autonomous_linux,
|
399
|
-
is_restricted=scheduled_job_is_restricted,
|
400
|
-
lifecycle_stage_id=test_lifecycle_stage["id"],
|
401
|
-
locations=scheduled_job_location,
|
402
|
-
location_not_equal_tos=scheduled_job_location_not_equal_to,
|
403
|
-
managed_compartment_id=test_compartment["id"],
|
404
|
-
managed_instance_group_id=test_managed_instance_group["id"],
|
405
|
-
managed_instance_id=test_managed_instance["id"],
|
406
|
-
operation_type=scheduled_job_operation_type,
|
407
|
-
schedule_type=scheduled_job_schedule_type,
|
408
|
-
state=scheduled_job_state,
|
409
|
-
time_end=scheduled_job_time_end,
|
410
|
-
time_start=scheduled_job_time_start)
|
411
|
-
```
|
412
|
-
|
413
|
-
|
414
|
-
:param str compartment_id: (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
415
|
-
:param bool compartment_id_in_subtree: Indicates whether to include subcompartments in the returned results. Default is false.
|
416
|
-
:param str display_name: A filter to return resources that match the given user-friendly name.
|
417
|
-
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
418
|
-
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job. A filter to return the specified job.
|
419
|
-
:param bool is_managed_by_autonomous_linux: Indicates whether to list only resources managed by the Autonomous Linux service.
|
420
|
-
:param bool is_restricted: A filter to return only restricted scheduled jobs.
|
421
|
-
:param str lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
|
422
|
-
:param Sequence[str] location_not_equal_tos: A filter to return only resources whose location does not match the given value.
|
423
|
-
:param Sequence[str] locations: A filter to return only resources whose location matches the given value.
|
424
|
-
:param str managed_compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed compartment. This filter returns resources associated with this compartment.
|
425
|
-
:param str managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
|
426
|
-
:param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. This filter returns resources associated with this managed instance.
|
427
|
-
:param str operation_type: A filter to return only scheduled jobs with the given operation type.
|
428
|
-
:param str schedule_type: A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
|
429
|
-
:param str state: A filter to return only scheduled jobs currently in the given state.
|
430
|
-
:param str time_end: A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
|
431
|
-
:param str time_start: A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
|
432
|
-
"""
|
433
|
-
...
|