pulumi-oci 1.36.0__py3-none-any.whl → 1.36.0a1715383492__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.
Files changed (119) hide show
  1. pulumi_oci/__init__.py +0 -208
  2. pulumi_oci/core/__init__.py +0 -3
  3. pulumi_oci/core/_inputs.py +0 -40
  4. pulumi_oci/core/outputs.py +0 -261
  5. pulumi_oci/database/_inputs.py +0 -192
  6. pulumi_oci/database/exadata_infrastructure.py +0 -28
  7. pulumi_oci/database/get_exadata_infrastructure.py +1 -14
  8. pulumi_oci/database/get_vm_cluster.py +1 -14
  9. pulumi_oci/database/outputs.py +0 -418
  10. pulumi_oci/database/vm_cluster.py +0 -55
  11. pulumi_oci/database/vm_cluster_add_virtual_network.py +0 -28
  12. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +0 -28
  13. pulumi_oci/datasafe/__init__.py +0 -1
  14. pulumi_oci/email/__init__.py +0 -3
  15. pulumi_oci/email/_inputs.py +0 -46
  16. pulumi_oci/email/dkim.py +4 -4
  17. pulumi_oci/email/email_domain.py +0 -77
  18. pulumi_oci/email/get_email_domain.py +1 -27
  19. pulumi_oci/email/outputs.py +0 -231
  20. pulumi_oci/loadbalancer/_inputs.py +0 -16
  21. pulumi_oci/loadbalancer/listener.py +0 -2
  22. pulumi_oci/loadbalancer/outputs.py +0 -14
  23. pulumi_oci/loganalytics/namespace.py +4 -4
  24. pulumi_oci/networkloadbalancer/get_listener.py +1 -14
  25. pulumi_oci/networkloadbalancer/listener.py +2 -51
  26. pulumi_oci/networkloadbalancer/outputs.py +0 -11
  27. pulumi_oci/osmanagementhub/__init__.py +0 -48
  28. pulumi_oci/osmanagementhub/_inputs.py +507 -3649
  29. pulumi_oci/osmanagementhub/get_lifecycle_environment.py +13 -26
  30. pulumi_oci/osmanagementhub/get_lifecycle_environments.py +11 -48
  31. pulumi_oci/osmanagementhub/get_lifecycle_stage.py +15 -28
  32. pulumi_oci/osmanagementhub/get_lifecycle_stages.py +19 -86
  33. pulumi_oci/osmanagementhub/get_managed_instance_group.py +10 -62
  34. pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +9 -7
  35. pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
  36. pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +10 -8
  37. pulumi_oci/osmanagementhub/get_managed_instance_groups.py +16 -71
  38. pulumi_oci/osmanagementhub/get_management_station.py +19 -42
  39. pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
  40. pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
  41. pulumi_oci/osmanagementhub/get_profile.py +12 -51
  42. pulumi_oci/osmanagementhub/get_profiles.py +16 -76
  43. pulumi_oci/osmanagementhub/get_software_source.py +18 -109
  44. pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
  45. pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
  46. pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
  47. pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
  48. pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
  49. pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
  50. pulumi_oci/osmanagementhub/get_software_source_software_package.py +10 -23
  51. pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
  52. pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
  53. pulumi_oci/osmanagementhub/get_software_sources.py +21 -78
  54. pulumi_oci/osmanagementhub/lifecycle_environment.py +86 -159
  55. pulumi_oci/osmanagementhub/managed_instance_group.py +86 -264
  56. pulumi_oci/osmanagementhub/management_station.py +81 -184
  57. pulumi_oci/osmanagementhub/outputs.py +2364 -10866
  58. pulumi_oci/osmanagementhub/profile.py +78 -200
  59. pulumi_oci/osmanagementhub/software_source.py +181 -365
  60. pulumi_oci/pulumi-plugin.json +1 -2
  61. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/METADATA +1 -1
  62. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/RECORD +64 -119
  63. pulumi_oci/core/get_ip_inventory_subnet.py +0 -171
  64. pulumi_oci/core/get_ip_inventory_subnet_cidr.py +0 -171
  65. pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +0 -206
  66. pulumi_oci/datasafe/masking_report_management.py +0 -693
  67. pulumi_oci/email/email_return_path.py +0 -642
  68. pulumi_oci/email/get_email_return_path.py +0 -274
  69. pulumi_oci/email/get_email_return_paths.py +0 -203
  70. pulumi_oci/osmanagementhub/event.py +0 -701
  71. pulumi_oci/osmanagementhub/get_entitlements.py +0 -178
  72. pulumi_oci/osmanagementhub/get_errata.py +0 -283
  73. pulumi_oci/osmanagementhub/get_erratum.py +0 -308
  74. pulumi_oci/osmanagementhub/get_event.py +0 -314
  75. pulumi_oci/osmanagementhub/get_events.py +0 -314
  76. pulumi_oci/osmanagementhub/get_managed_instance.py +0 -587
  77. pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +0 -187
  78. pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +0 -190
  79. pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +0 -238
  80. pulumi_oci/osmanagementhub/get_managed_instance_errata.py +0 -204
  81. pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +0 -220
  82. pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +0 -244
  83. pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +0 -221
  84. pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +0 -204
  85. pulumi_oci/osmanagementhub/get_managed_instance_modules.py +0 -187
  86. pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +0 -221
  87. pulumi_oci/osmanagementhub/get_managed_instances.py +0 -537
  88. pulumi_oci/osmanagementhub/get_scheduled_job.py +0 -426
  89. pulumi_oci/osmanagementhub/get_scheduled_jobs.py +0 -433
  90. pulumi_oci/osmanagementhub/get_software_package.py +0 -301
  91. pulumi_oci/osmanagementhub/get_software_package_software_source.py +0 -329
  92. pulumi_oci/osmanagementhub/get_software_packages.py +0 -232
  93. pulumi_oci/osmanagementhub/get_windows_update.py +0 -222
  94. pulumi_oci/osmanagementhub/get_windows_updates.py +0 -187
  95. pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +0 -249
  96. pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +0 -249
  97. pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +0 -296
  98. pulumi_oci/osmanagementhub/managed_instance.py +0 -1327
  99. pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +0 -266
  100. pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +0 -214
  101. pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +0 -293
  102. pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +0 -293
  103. pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +0 -264
  104. pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +0 -293
  105. pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +0 -293
  106. pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +0 -293
  107. pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +0 -526
  108. pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +0 -293
  109. pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +0 -292
  110. pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +0 -341
  111. pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +0 -341
  112. pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +0 -264
  113. pulumi_oci/osmanagementhub/management_station_refresh_management.py +0 -212
  114. pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +0 -264
  115. pulumi_oci/osmanagementhub/scheduled_job.py +0 -1331
  116. pulumi_oci/osmanagementhub/software_source_add_packages_management.py +0 -266
  117. pulumi_oci/osmanagementhub/software_source_change_availability_management.py +0 -194
  118. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/WHEEL +0 -0
  119. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/top_level.txt +0 -0
@@ -1,426 +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
-
13
- __all__ = [
14
- 'GetScheduledJobResult',
15
- 'AwaitableGetScheduledJobResult',
16
- 'get_scheduled_job',
17
- 'get_scheduled_job_output',
18
- ]
19
-
20
- @pulumi.output_type
21
- class GetScheduledJobResult:
22
- """
23
- A collection of values returned by getScheduledJob.
24
- """
25
- def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_managed_by_autonomous_linux=None, is_restricted=None, is_subcompartment_included=None, lifecycle_stage_ids=None, locations=None, managed_compartment_ids=None, managed_instance_group_ids=None, managed_instance_ids=None, operations=None, recurring_rule=None, retry_intervals=None, schedule_type=None, scheduled_job_id=None, state=None, system_tags=None, time_created=None, time_last_execution=None, time_next_execution=None, time_updated=None, work_request_ids=None):
26
- if compartment_id and not isinstance(compartment_id, str):
27
- raise TypeError("Expected argument 'compartment_id' to be a str")
28
- pulumi.set(__self__, "compartment_id", compartment_id)
29
- if defined_tags and not isinstance(defined_tags, dict):
30
- raise TypeError("Expected argument 'defined_tags' to be a dict")
31
- pulumi.set(__self__, "defined_tags", defined_tags)
32
- if description and not isinstance(description, str):
33
- raise TypeError("Expected argument 'description' to be a str")
34
- pulumi.set(__self__, "description", description)
35
- if display_name and not isinstance(display_name, str):
36
- raise TypeError("Expected argument 'display_name' to be a str")
37
- pulumi.set(__self__, "display_name", display_name)
38
- if freeform_tags and not isinstance(freeform_tags, dict):
39
- raise TypeError("Expected argument 'freeform_tags' to be a dict")
40
- pulumi.set(__self__, "freeform_tags", freeform_tags)
41
- if id and not isinstance(id, str):
42
- raise TypeError("Expected argument 'id' to be a str")
43
- pulumi.set(__self__, "id", id)
44
- if is_managed_by_autonomous_linux and not isinstance(is_managed_by_autonomous_linux, bool):
45
- raise TypeError("Expected argument 'is_managed_by_autonomous_linux' to be a bool")
46
- pulumi.set(__self__, "is_managed_by_autonomous_linux", is_managed_by_autonomous_linux)
47
- if is_restricted and not isinstance(is_restricted, bool):
48
- raise TypeError("Expected argument 'is_restricted' to be a bool")
49
- pulumi.set(__self__, "is_restricted", is_restricted)
50
- if is_subcompartment_included and not isinstance(is_subcompartment_included, bool):
51
- raise TypeError("Expected argument 'is_subcompartment_included' to be a bool")
52
- pulumi.set(__self__, "is_subcompartment_included", is_subcompartment_included)
53
- if lifecycle_stage_ids and not isinstance(lifecycle_stage_ids, list):
54
- raise TypeError("Expected argument 'lifecycle_stage_ids' to be a list")
55
- pulumi.set(__self__, "lifecycle_stage_ids", lifecycle_stage_ids)
56
- if locations and not isinstance(locations, list):
57
- raise TypeError("Expected argument 'locations' to be a list")
58
- pulumi.set(__self__, "locations", locations)
59
- if managed_compartment_ids and not isinstance(managed_compartment_ids, list):
60
- raise TypeError("Expected argument 'managed_compartment_ids' to be a list")
61
- pulumi.set(__self__, "managed_compartment_ids", managed_compartment_ids)
62
- if managed_instance_group_ids and not isinstance(managed_instance_group_ids, list):
63
- raise TypeError("Expected argument 'managed_instance_group_ids' to be a list")
64
- pulumi.set(__self__, "managed_instance_group_ids", managed_instance_group_ids)
65
- if managed_instance_ids and not isinstance(managed_instance_ids, list):
66
- raise TypeError("Expected argument 'managed_instance_ids' to be a list")
67
- pulumi.set(__self__, "managed_instance_ids", managed_instance_ids)
68
- if operations and not isinstance(operations, list):
69
- raise TypeError("Expected argument 'operations' to be a list")
70
- pulumi.set(__self__, "operations", operations)
71
- if recurring_rule and not isinstance(recurring_rule, str):
72
- raise TypeError("Expected argument 'recurring_rule' to be a str")
73
- pulumi.set(__self__, "recurring_rule", recurring_rule)
74
- if retry_intervals and not isinstance(retry_intervals, list):
75
- raise TypeError("Expected argument 'retry_intervals' to be a list")
76
- pulumi.set(__self__, "retry_intervals", retry_intervals)
77
- if schedule_type and not isinstance(schedule_type, str):
78
- raise TypeError("Expected argument 'schedule_type' to be a str")
79
- pulumi.set(__self__, "schedule_type", schedule_type)
80
- if scheduled_job_id and not isinstance(scheduled_job_id, str):
81
- raise TypeError("Expected argument 'scheduled_job_id' to be a str")
82
- pulumi.set(__self__, "scheduled_job_id", scheduled_job_id)
83
- if state and not isinstance(state, str):
84
- raise TypeError("Expected argument 'state' to be a str")
85
- pulumi.set(__self__, "state", state)
86
- if system_tags and not isinstance(system_tags, dict):
87
- raise TypeError("Expected argument 'system_tags' to be a dict")
88
- pulumi.set(__self__, "system_tags", system_tags)
89
- if time_created and not isinstance(time_created, str):
90
- raise TypeError("Expected argument 'time_created' to be a str")
91
- pulumi.set(__self__, "time_created", time_created)
92
- if time_last_execution and not isinstance(time_last_execution, str):
93
- raise TypeError("Expected argument 'time_last_execution' to be a str")
94
- pulumi.set(__self__, "time_last_execution", time_last_execution)
95
- if time_next_execution and not isinstance(time_next_execution, str):
96
- raise TypeError("Expected argument 'time_next_execution' to be a str")
97
- pulumi.set(__self__, "time_next_execution", time_next_execution)
98
- if time_updated and not isinstance(time_updated, str):
99
- raise TypeError("Expected argument 'time_updated' to be a str")
100
- pulumi.set(__self__, "time_updated", time_updated)
101
- if work_request_ids and not isinstance(work_request_ids, list):
102
- raise TypeError("Expected argument 'work_request_ids' to be a list")
103
- pulumi.set(__self__, "work_request_ids", work_request_ids)
104
-
105
- @property
106
- @pulumi.getter(name="compartmentId")
107
- def compartment_id(self) -> str:
108
- """
109
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
110
- """
111
- return pulumi.get(self, "compartment_id")
112
-
113
- @property
114
- @pulumi.getter(name="definedTags")
115
- def defined_tags(self) -> Mapping[str, Any]:
116
- """
117
- 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"}`
118
- """
119
- return pulumi.get(self, "defined_tags")
120
-
121
- @property
122
- @pulumi.getter
123
- def description(self) -> str:
124
- """
125
- User-specified description for the scheduled job.
126
- """
127
- return pulumi.get(self, "description")
128
-
129
- @property
130
- @pulumi.getter(name="displayName")
131
- def display_name(self) -> str:
132
- """
133
- User-friendly name for the scheduled job.
134
- """
135
- return pulumi.get(self, "display_name")
136
-
137
- @property
138
- @pulumi.getter(name="freeformTags")
139
- def freeform_tags(self) -> Mapping[str, Any]:
140
- """
141
- 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"}`
142
- """
143
- return pulumi.get(self, "freeform_tags")
144
-
145
- @property
146
- @pulumi.getter
147
- def id(self) -> str:
148
- """
149
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
150
- """
151
- return pulumi.get(self, "id")
152
-
153
- @property
154
- @pulumi.getter(name="isManagedByAutonomousLinux")
155
- def is_managed_by_autonomous_linux(self) -> bool:
156
- """
157
- Indicates whether this scheduled job is managed by the Autonomous Linux service.
158
- """
159
- return pulumi.get(self, "is_managed_by_autonomous_linux")
160
-
161
- @property
162
- @pulumi.getter(name="isRestricted")
163
- def is_restricted(self) -> bool:
164
- """
165
- Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
166
- """
167
- return pulumi.get(self, "is_restricted")
168
-
169
- @property
170
- @pulumi.getter(name="isSubcompartmentIncluded")
171
- def is_subcompartment_included(self) -> bool:
172
- """
173
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
174
- """
175
- return pulumi.get(self, "is_subcompartment_included")
176
-
177
- @property
178
- @pulumi.getter(name="lifecycleStageIds")
179
- def lifecycle_stage_ids(self) -> Sequence[str]:
180
- """
181
- The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
182
- """
183
- return pulumi.get(self, "lifecycle_stage_ids")
184
-
185
- @property
186
- @pulumi.getter
187
- def locations(self) -> Sequence[str]:
188
- """
189
- The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
190
- """
191
- return pulumi.get(self, "locations")
192
-
193
- @property
194
- @pulumi.getter(name="managedCompartmentIds")
195
- def managed_compartment_ids(self) -> Sequence[str]:
196
- """
197
- The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
198
- """
199
- return pulumi.get(self, "managed_compartment_ids")
200
-
201
- @property
202
- @pulumi.getter(name="managedInstanceGroupIds")
203
- def managed_instance_group_ids(self) -> Sequence[str]:
204
- """
205
- The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
206
- """
207
- return pulumi.get(self, "managed_instance_group_ids")
208
-
209
- @property
210
- @pulumi.getter(name="managedInstanceIds")
211
- def managed_instance_ids(self) -> Sequence[str]:
212
- """
213
- The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
214
- """
215
- return pulumi.get(self, "managed_instance_ids")
216
-
217
- @property
218
- @pulumi.getter
219
- def operations(self) -> Sequence['outputs.GetScheduledJobOperationResult']:
220
- """
221
- The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
222
- * UPDATE_PACKAGES
223
- * UPDATE_ALL
224
- * UPDATE_SECURITY
225
- * UPDATE_BUGFIX
226
- * UPDATE_ENHANCEMENT
227
- * UPDATE_OTHER
228
- * UPDATE_KSPLICE_USERSPACE
229
- * UPDATE_KSPLICE_KERNEL
230
- """
231
- return pulumi.get(self, "operations")
232
-
233
- @property
234
- @pulumi.getter(name="recurringRule")
235
- def recurring_rule(self) -> str:
236
- """
237
- The frequency schedule for a recurring scheduled job.
238
- """
239
- return pulumi.get(self, "recurring_rule")
240
-
241
- @property
242
- @pulumi.getter(name="retryIntervals")
243
- def retry_intervals(self) -> Sequence[int]:
244
- """
245
- The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
246
- """
247
- return pulumi.get(self, "retry_intervals")
248
-
249
- @property
250
- @pulumi.getter(name="scheduleType")
251
- def schedule_type(self) -> str:
252
- """
253
- The type of scheduling frequency for the job.
254
- """
255
- return pulumi.get(self, "schedule_type")
256
-
257
- @property
258
- @pulumi.getter(name="scheduledJobId")
259
- def scheduled_job_id(self) -> str:
260
- return pulumi.get(self, "scheduled_job_id")
261
-
262
- @property
263
- @pulumi.getter
264
- def state(self) -> str:
265
- """
266
- The current state of the scheduled job.
267
- """
268
- return pulumi.get(self, "state")
269
-
270
- @property
271
- @pulumi.getter(name="systemTags")
272
- def system_tags(self) -> Mapping[str, Any]:
273
- """
274
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
275
- """
276
- return pulumi.get(self, "system_tags")
277
-
278
- @property
279
- @pulumi.getter(name="timeCreated")
280
- def time_created(self) -> str:
281
- """
282
- The time this scheduled job was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
283
- """
284
- return pulumi.get(self, "time_created")
285
-
286
- @property
287
- @pulumi.getter(name="timeLastExecution")
288
- def time_last_execution(self) -> str:
289
- """
290
- The time of the last execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
291
- """
292
- return pulumi.get(self, "time_last_execution")
293
-
294
- @property
295
- @pulumi.getter(name="timeNextExecution")
296
- def time_next_execution(self) -> str:
297
- """
298
- The time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
299
- """
300
- return pulumi.get(self, "time_next_execution")
301
-
302
- @property
303
- @pulumi.getter(name="timeUpdated")
304
- def time_updated(self) -> str:
305
- """
306
- The time this scheduled job was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
307
- """
308
- return pulumi.get(self, "time_updated")
309
-
310
- @property
311
- @pulumi.getter(name="workRequestIds")
312
- def work_request_ids(self) -> Sequence[str]:
313
- """
314
- The list of work request [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
315
- """
316
- return pulumi.get(self, "work_request_ids")
317
-
318
-
319
- class AwaitableGetScheduledJobResult(GetScheduledJobResult):
320
- # pylint: disable=using-constant-test
321
- def __await__(self):
322
- if False:
323
- yield self
324
- return GetScheduledJobResult(
325
- compartment_id=self.compartment_id,
326
- defined_tags=self.defined_tags,
327
- description=self.description,
328
- display_name=self.display_name,
329
- freeform_tags=self.freeform_tags,
330
- id=self.id,
331
- is_managed_by_autonomous_linux=self.is_managed_by_autonomous_linux,
332
- is_restricted=self.is_restricted,
333
- is_subcompartment_included=self.is_subcompartment_included,
334
- lifecycle_stage_ids=self.lifecycle_stage_ids,
335
- locations=self.locations,
336
- managed_compartment_ids=self.managed_compartment_ids,
337
- managed_instance_group_ids=self.managed_instance_group_ids,
338
- managed_instance_ids=self.managed_instance_ids,
339
- operations=self.operations,
340
- recurring_rule=self.recurring_rule,
341
- retry_intervals=self.retry_intervals,
342
- schedule_type=self.schedule_type,
343
- scheduled_job_id=self.scheduled_job_id,
344
- state=self.state,
345
- system_tags=self.system_tags,
346
- time_created=self.time_created,
347
- time_last_execution=self.time_last_execution,
348
- time_next_execution=self.time_next_execution,
349
- time_updated=self.time_updated,
350
- work_request_ids=self.work_request_ids)
351
-
352
-
353
- def get_scheduled_job(scheduled_job_id: Optional[str] = None,
354
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledJobResult:
355
- """
356
- This data source provides details about a specific Scheduled Job resource in Oracle Cloud Infrastructure Os Management Hub service.
357
-
358
- Gets information about the specified scheduled job.
359
-
360
- ## Example Usage
361
-
362
- ```python
363
- import pulumi
364
- import pulumi_oci as oci
365
-
366
- test_scheduled_job = oci.OsManagementHub.get_scheduled_job(scheduled_job_id=test_scheduled_job_oci_os_management_hub_scheduled_job["id"])
367
- ```
368
-
369
-
370
- :param str scheduled_job_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
371
- """
372
- __args__ = dict()
373
- __args__['scheduledJobId'] = scheduled_job_id
374
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
375
- __ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getScheduledJob:getScheduledJob', __args__, opts=opts, typ=GetScheduledJobResult).value
376
-
377
- return AwaitableGetScheduledJobResult(
378
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
379
- defined_tags=pulumi.get(__ret__, 'defined_tags'),
380
- description=pulumi.get(__ret__, 'description'),
381
- display_name=pulumi.get(__ret__, 'display_name'),
382
- freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
383
- id=pulumi.get(__ret__, 'id'),
384
- is_managed_by_autonomous_linux=pulumi.get(__ret__, 'is_managed_by_autonomous_linux'),
385
- is_restricted=pulumi.get(__ret__, 'is_restricted'),
386
- is_subcompartment_included=pulumi.get(__ret__, 'is_subcompartment_included'),
387
- lifecycle_stage_ids=pulumi.get(__ret__, 'lifecycle_stage_ids'),
388
- locations=pulumi.get(__ret__, 'locations'),
389
- managed_compartment_ids=pulumi.get(__ret__, 'managed_compartment_ids'),
390
- managed_instance_group_ids=pulumi.get(__ret__, 'managed_instance_group_ids'),
391
- managed_instance_ids=pulumi.get(__ret__, 'managed_instance_ids'),
392
- operations=pulumi.get(__ret__, 'operations'),
393
- recurring_rule=pulumi.get(__ret__, 'recurring_rule'),
394
- retry_intervals=pulumi.get(__ret__, 'retry_intervals'),
395
- schedule_type=pulumi.get(__ret__, 'schedule_type'),
396
- scheduled_job_id=pulumi.get(__ret__, 'scheduled_job_id'),
397
- state=pulumi.get(__ret__, 'state'),
398
- system_tags=pulumi.get(__ret__, 'system_tags'),
399
- time_created=pulumi.get(__ret__, 'time_created'),
400
- time_last_execution=pulumi.get(__ret__, 'time_last_execution'),
401
- time_next_execution=pulumi.get(__ret__, 'time_next_execution'),
402
- time_updated=pulumi.get(__ret__, 'time_updated'),
403
- work_request_ids=pulumi.get(__ret__, 'work_request_ids'))
404
-
405
-
406
- @_utilities.lift_output_func(get_scheduled_job)
407
- def get_scheduled_job_output(scheduled_job_id: Optional[pulumi.Input[str]] = None,
408
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledJobResult]:
409
- """
410
- This data source provides details about a specific Scheduled Job resource in Oracle Cloud Infrastructure Os Management Hub service.
411
-
412
- Gets information about the specified scheduled job.
413
-
414
- ## Example Usage
415
-
416
- ```python
417
- import pulumi
418
- import pulumi_oci as oci
419
-
420
- test_scheduled_job = oci.OsManagementHub.get_scheduled_job(scheduled_job_id=test_scheduled_job_oci_os_management_hub_scheduled_job["id"])
421
- ```
422
-
423
-
424
- :param str scheduled_job_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
425
- """
426
- ...