pulumi-oci 2.19.0a1733984857__py3-none-any.whl → 2.19.0a1734003732__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 (87) hide show
  1. pulumi_oci/__init__.py +40 -0
  2. pulumi_oci/database/autonomous_container_database.py +47 -0
  3. pulumi_oci/database/autonomous_database.py +47 -0
  4. pulumi_oci/database/get_autonomous_container_database.py +15 -1
  5. pulumi_oci/database/get_autonomous_database.py +15 -1
  6. pulumi_oci/database/outputs.py +14 -0
  7. pulumi_oci/dataflow/application.py +75 -33
  8. pulumi_oci/dataflow/get_application.py +15 -1
  9. pulumi_oci/dataflow/outputs.py +7 -0
  10. pulumi_oci/desktops/_inputs.py +9 -9
  11. pulumi_oci/desktops/desktop_pool.py +84 -35
  12. pulumi_oci/desktops/get_desktop_pool.py +12 -1
  13. pulumi_oci/desktops/outputs.py +13 -6
  14. pulumi_oci/disasterrecovery/_inputs.py +46 -30
  15. pulumi_oci/disasterrecovery/dr_plan.py +194 -23
  16. pulumi_oci/disasterrecovery/get_dr_plan.py +54 -4
  17. pulumi_oci/disasterrecovery/get_dr_plans.py +23 -1
  18. pulumi_oci/disasterrecovery/outputs.py +113 -21
  19. pulumi_oci/fleetappsmanagement/__init__.py +19 -0
  20. pulumi_oci/fleetappsmanagement/_inputs.py +5334 -378
  21. pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +830 -0
  22. pulumi_oci/fleetappsmanagement/fleet.py +112 -67
  23. pulumi_oci/fleetappsmanagement/fleet_credential.py +44 -36
  24. pulumi_oci/fleetappsmanagement/fleet_property.py +35 -35
  25. pulumi_oci/fleetappsmanagement/fleet_resource.py +37 -37
  26. pulumi_oci/fleetappsmanagement/get_announcements.py +4 -4
  27. pulumi_oci/fleetappsmanagement/get_compliance_policies.py +199 -0
  28. pulumi_oci/fleetappsmanagement/get_compliance_policy.py +253 -0
  29. pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +324 -0
  30. pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +243 -0
  31. pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +144 -0
  32. pulumi_oci/fleetappsmanagement/get_compliance_records.py +279 -0
  33. pulumi_oci/fleetappsmanagement/get_fleet.py +29 -15
  34. pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +8 -8
  35. pulumi_oci/fleetappsmanagement/get_fleet_credential.py +7 -7
  36. pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +61 -17
  37. pulumi_oci/fleetappsmanagement/get_fleet_products.py +6 -6
  38. pulumi_oci/fleetappsmanagement/get_fleet_properties.py +8 -8
  39. pulumi_oci/fleetappsmanagement/get_fleet_property.py +11 -11
  40. pulumi_oci/fleetappsmanagement/get_fleet_resource.py +11 -11
  41. pulumi_oci/fleetappsmanagement/get_fleet_resources.py +10 -10
  42. pulumi_oci/fleetappsmanagement/get_fleet_targets.py +8 -8
  43. pulumi_oci/fleetappsmanagement/get_fleets.py +16 -16
  44. pulumi_oci/fleetappsmanagement/get_inventory_resources.py +12 -12
  45. pulumi_oci/fleetappsmanagement/get_maintenance_window.py +8 -8
  46. pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +31 -12
  47. pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +144 -0
  48. pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +2 -2
  49. pulumi_oci/fleetappsmanagement/get_onboardings.py +2 -2
  50. pulumi_oci/fleetappsmanagement/get_patch.py +363 -0
  51. pulumi_oci/fleetappsmanagement/get_patches.py +335 -0
  52. pulumi_oci/fleetappsmanagement/get_platform_configuration.py +296 -0
  53. pulumi_oci/fleetappsmanagement/get_platform_configurations.py +221 -0
  54. pulumi_oci/fleetappsmanagement/get_properties.py +9 -9
  55. pulumi_oci/fleetappsmanagement/get_property.py +4 -4
  56. pulumi_oci/fleetappsmanagement/get_runbook.py +8 -8
  57. pulumi_oci/fleetappsmanagement/get_runbooks.py +16 -16
  58. pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +10 -10
  59. pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +2 -2
  60. pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +33 -11
  61. pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +144 -0
  62. pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_resources.py +245 -0
  63. pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +245 -0
  64. pulumi_oci/fleetappsmanagement/get_task_record.py +3 -3
  65. pulumi_oci/fleetappsmanagement/maintenance_window.py +44 -44
  66. pulumi_oci/fleetappsmanagement/onboarding.py +108 -20
  67. pulumi_oci/fleetappsmanagement/outputs.py +11222 -2736
  68. pulumi_oci/fleetappsmanagement/patch.py +978 -0
  69. pulumi_oci/fleetappsmanagement/platform_configuration.py +687 -0
  70. pulumi_oci/fleetappsmanagement/property.py +27 -27
  71. pulumi_oci/fleetappsmanagement/runbook.py +1173 -0
  72. pulumi_oci/fleetappsmanagement/scheduler_definition.py +30 -30
  73. pulumi_oci/fleetappsmanagement/task_record.py +754 -0
  74. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +28 -0
  75. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +56 -0
  76. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +15 -1
  77. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +29 -1
  78. pulumi_oci/fleetsoftwareupdate/outputs.py +33 -0
  79. pulumi_oci/pulumi-plugin.json +1 -1
  80. pulumi_oci/visualbuilder/_inputs.py +57 -202
  81. pulumi_oci/visualbuilder/get_vb_instance.py +15 -29
  82. pulumi_oci/visualbuilder/outputs.py +114 -400
  83. pulumi_oci/visualbuilder/vb_instance.py +62 -59
  84. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/METADATA +1 -1
  85. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/RECORD +87 -68
  86. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/WHEEL +0 -0
  87. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1173 @@
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 sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['RunbookArgs', 'Runbook']
20
+
21
+ @pulumi.input_type
22
+ class RunbookArgs:
23
+ def __init__(__self__, *,
24
+ associations: pulumi.Input['RunbookAssociationsArgs'],
25
+ compartment_id: pulumi.Input[str],
26
+ operation: pulumi.Input[str],
27
+ os_type: pulumi.Input[str],
28
+ runbook_relevance: pulumi.Input[str],
29
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
30
+ description: Optional[pulumi.Input[str]] = None,
31
+ display_name: Optional[pulumi.Input[str]] = None,
32
+ estimated_time: Optional[pulumi.Input[str]] = None,
33
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
34
+ is_default: Optional[pulumi.Input[bool]] = None,
35
+ platform: Optional[pulumi.Input[str]] = None):
36
+ """
37
+ The set of arguments for constructing a Runbook resource.
38
+ :param pulumi.Input['RunbookAssociationsArgs'] associations: (Updatable) Associations for the runbook.
39
+ :param pulumi.Input[str] operation: (Updatable) The lifecycle operation performed by the task.
40
+ :param pulumi.Input[str] os_type: (Updatable) The OS type for the runbook.
41
+ :param pulumi.Input[str] runbook_relevance: (Updatable) Type of runbook structure.
42
+
43
+
44
+ ** IMPORTANT **
45
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
46
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
47
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
48
+ :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
49
+ :param pulumi.Input[str] estimated_time: (Updatable) Estimated time to successfully complete the runbook execution
50
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
51
+ :param pulumi.Input[bool] is_default: (Updatable) Is the runbook default?
52
+ :param pulumi.Input[str] platform: (Updatable) The platform of the runbook.
53
+ """
54
+ pulumi.set(__self__, "associations", associations)
55
+ pulumi.set(__self__, "compartment_id", compartment_id)
56
+ pulumi.set(__self__, "operation", operation)
57
+ pulumi.set(__self__, "os_type", os_type)
58
+ pulumi.set(__self__, "runbook_relevance", runbook_relevance)
59
+ if defined_tags is not None:
60
+ pulumi.set(__self__, "defined_tags", defined_tags)
61
+ if description is not None:
62
+ pulumi.set(__self__, "description", description)
63
+ if display_name is not None:
64
+ pulumi.set(__self__, "display_name", display_name)
65
+ if estimated_time is not None:
66
+ pulumi.set(__self__, "estimated_time", estimated_time)
67
+ if freeform_tags is not None:
68
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
69
+ if is_default is not None:
70
+ pulumi.set(__self__, "is_default", is_default)
71
+ if platform is not None:
72
+ pulumi.set(__self__, "platform", platform)
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def associations(self) -> pulumi.Input['RunbookAssociationsArgs']:
77
+ """
78
+ (Updatable) Associations for the runbook.
79
+ """
80
+ return pulumi.get(self, "associations")
81
+
82
+ @associations.setter
83
+ def associations(self, value: pulumi.Input['RunbookAssociationsArgs']):
84
+ pulumi.set(self, "associations", value)
85
+
86
+ @property
87
+ @pulumi.getter(name="compartmentId")
88
+ def compartment_id(self) -> pulumi.Input[str]:
89
+ return pulumi.get(self, "compartment_id")
90
+
91
+ @compartment_id.setter
92
+ def compartment_id(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "compartment_id", value)
94
+
95
+ @property
96
+ @pulumi.getter
97
+ def operation(self) -> pulumi.Input[str]:
98
+ """
99
+ (Updatable) The lifecycle operation performed by the task.
100
+ """
101
+ return pulumi.get(self, "operation")
102
+
103
+ @operation.setter
104
+ def operation(self, value: pulumi.Input[str]):
105
+ pulumi.set(self, "operation", value)
106
+
107
+ @property
108
+ @pulumi.getter(name="osType")
109
+ def os_type(self) -> pulumi.Input[str]:
110
+ """
111
+ (Updatable) The OS type for the runbook.
112
+ """
113
+ return pulumi.get(self, "os_type")
114
+
115
+ @os_type.setter
116
+ def os_type(self, value: pulumi.Input[str]):
117
+ pulumi.set(self, "os_type", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="runbookRelevance")
121
+ def runbook_relevance(self) -> pulumi.Input[str]:
122
+ """
123
+ (Updatable) Type of runbook structure.
124
+
125
+
126
+ ** IMPORTANT **
127
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
128
+ """
129
+ return pulumi.get(self, "runbook_relevance")
130
+
131
+ @runbook_relevance.setter
132
+ def runbook_relevance(self, value: pulumi.Input[str]):
133
+ pulumi.set(self, "runbook_relevance", value)
134
+
135
+ @property
136
+ @pulumi.getter(name="definedTags")
137
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
138
+ """
139
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
140
+ """
141
+ return pulumi.get(self, "defined_tags")
142
+
143
+ @defined_tags.setter
144
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
145
+ pulumi.set(self, "defined_tags", value)
146
+
147
+ @property
148
+ @pulumi.getter
149
+ def description(self) -> Optional[pulumi.Input[str]]:
150
+ """
151
+ (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
152
+ """
153
+ return pulumi.get(self, "description")
154
+
155
+ @description.setter
156
+ def description(self, value: Optional[pulumi.Input[str]]):
157
+ pulumi.set(self, "description", value)
158
+
159
+ @property
160
+ @pulumi.getter(name="displayName")
161
+ def display_name(self) -> Optional[pulumi.Input[str]]:
162
+ """
163
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
164
+ """
165
+ return pulumi.get(self, "display_name")
166
+
167
+ @display_name.setter
168
+ def display_name(self, value: Optional[pulumi.Input[str]]):
169
+ pulumi.set(self, "display_name", value)
170
+
171
+ @property
172
+ @pulumi.getter(name="estimatedTime")
173
+ def estimated_time(self) -> Optional[pulumi.Input[str]]:
174
+ """
175
+ (Updatable) Estimated time to successfully complete the runbook execution
176
+ """
177
+ return pulumi.get(self, "estimated_time")
178
+
179
+ @estimated_time.setter
180
+ def estimated_time(self, value: Optional[pulumi.Input[str]]):
181
+ pulumi.set(self, "estimated_time", value)
182
+
183
+ @property
184
+ @pulumi.getter(name="freeformTags")
185
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
186
+ """
187
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
188
+ """
189
+ return pulumi.get(self, "freeform_tags")
190
+
191
+ @freeform_tags.setter
192
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
193
+ pulumi.set(self, "freeform_tags", value)
194
+
195
+ @property
196
+ @pulumi.getter(name="isDefault")
197
+ def is_default(self) -> Optional[pulumi.Input[bool]]:
198
+ """
199
+ (Updatable) Is the runbook default?
200
+ """
201
+ return pulumi.get(self, "is_default")
202
+
203
+ @is_default.setter
204
+ def is_default(self, value: Optional[pulumi.Input[bool]]):
205
+ pulumi.set(self, "is_default", value)
206
+
207
+ @property
208
+ @pulumi.getter
209
+ def platform(self) -> Optional[pulumi.Input[str]]:
210
+ """
211
+ (Updatable) The platform of the runbook.
212
+ """
213
+ return pulumi.get(self, "platform")
214
+
215
+ @platform.setter
216
+ def platform(self, value: Optional[pulumi.Input[str]]):
217
+ pulumi.set(self, "platform", value)
218
+
219
+
220
+ @pulumi.input_type
221
+ class _RunbookState:
222
+ def __init__(__self__, *,
223
+ associations: Optional[pulumi.Input['RunbookAssociationsArgs']] = None,
224
+ compartment_id: Optional[pulumi.Input[str]] = None,
225
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
226
+ description: Optional[pulumi.Input[str]] = None,
227
+ display_name: Optional[pulumi.Input[str]] = None,
228
+ estimated_time: Optional[pulumi.Input[str]] = None,
229
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
230
+ is_default: Optional[pulumi.Input[bool]] = None,
231
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
232
+ operation: Optional[pulumi.Input[str]] = None,
233
+ os_type: Optional[pulumi.Input[str]] = None,
234
+ platform: Optional[pulumi.Input[str]] = None,
235
+ resource_region: Optional[pulumi.Input[str]] = None,
236
+ runbook_relevance: Optional[pulumi.Input[str]] = None,
237
+ state: Optional[pulumi.Input[str]] = None,
238
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
239
+ time_created: Optional[pulumi.Input[str]] = None,
240
+ time_updated: Optional[pulumi.Input[str]] = None,
241
+ type: Optional[pulumi.Input[str]] = None):
242
+ """
243
+ Input properties used for looking up and filtering Runbook resources.
244
+ :param pulumi.Input['RunbookAssociationsArgs'] associations: (Updatable) Associations for the runbook.
245
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
246
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
247
+ :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
248
+ :param pulumi.Input[str] estimated_time: (Updatable) Estimated time to successfully complete the runbook execution
249
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
250
+ :param pulumi.Input[bool] is_default: (Updatable) Is the runbook default?
251
+ :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
252
+ :param pulumi.Input[str] operation: (Updatable) The lifecycle operation performed by the task.
253
+ :param pulumi.Input[str] os_type: (Updatable) The OS type for the runbook.
254
+ :param pulumi.Input[str] platform: (Updatable) The platform of the runbook.
255
+ :param pulumi.Input[str] resource_region: Associated region
256
+ :param pulumi.Input[str] runbook_relevance: (Updatable) Type of runbook structure.
257
+
258
+
259
+ ** IMPORTANT **
260
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
261
+ :param pulumi.Input[str] state: The current state of the Runbook.
262
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
263
+ :param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
264
+ :param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
265
+ :param pulumi.Input[str] type: The type of the runbook.
266
+ """
267
+ if associations is not None:
268
+ pulumi.set(__self__, "associations", associations)
269
+ if compartment_id is not None:
270
+ pulumi.set(__self__, "compartment_id", compartment_id)
271
+ if defined_tags is not None:
272
+ pulumi.set(__self__, "defined_tags", defined_tags)
273
+ if description is not None:
274
+ pulumi.set(__self__, "description", description)
275
+ if display_name is not None:
276
+ pulumi.set(__self__, "display_name", display_name)
277
+ if estimated_time is not None:
278
+ pulumi.set(__self__, "estimated_time", estimated_time)
279
+ if freeform_tags is not None:
280
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
281
+ if is_default is not None:
282
+ pulumi.set(__self__, "is_default", is_default)
283
+ if lifecycle_details is not None:
284
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
285
+ if operation is not None:
286
+ pulumi.set(__self__, "operation", operation)
287
+ if os_type is not None:
288
+ pulumi.set(__self__, "os_type", os_type)
289
+ if platform is not None:
290
+ pulumi.set(__self__, "platform", platform)
291
+ if resource_region is not None:
292
+ pulumi.set(__self__, "resource_region", resource_region)
293
+ if runbook_relevance is not None:
294
+ pulumi.set(__self__, "runbook_relevance", runbook_relevance)
295
+ if state is not None:
296
+ pulumi.set(__self__, "state", state)
297
+ if system_tags is not None:
298
+ pulumi.set(__self__, "system_tags", system_tags)
299
+ if time_created is not None:
300
+ pulumi.set(__self__, "time_created", time_created)
301
+ if time_updated is not None:
302
+ pulumi.set(__self__, "time_updated", time_updated)
303
+ if type is not None:
304
+ pulumi.set(__self__, "type", type)
305
+
306
+ @property
307
+ @pulumi.getter
308
+ def associations(self) -> Optional[pulumi.Input['RunbookAssociationsArgs']]:
309
+ """
310
+ (Updatable) Associations for the runbook.
311
+ """
312
+ return pulumi.get(self, "associations")
313
+
314
+ @associations.setter
315
+ def associations(self, value: Optional[pulumi.Input['RunbookAssociationsArgs']]):
316
+ pulumi.set(self, "associations", value)
317
+
318
+ @property
319
+ @pulumi.getter(name="compartmentId")
320
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
321
+ return pulumi.get(self, "compartment_id")
322
+
323
+ @compartment_id.setter
324
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
325
+ pulumi.set(self, "compartment_id", value)
326
+
327
+ @property
328
+ @pulumi.getter(name="definedTags")
329
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
330
+ """
331
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
332
+ """
333
+ return pulumi.get(self, "defined_tags")
334
+
335
+ @defined_tags.setter
336
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
337
+ pulumi.set(self, "defined_tags", value)
338
+
339
+ @property
340
+ @pulumi.getter
341
+ def description(self) -> Optional[pulumi.Input[str]]:
342
+ """
343
+ (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
344
+ """
345
+ return pulumi.get(self, "description")
346
+
347
+ @description.setter
348
+ def description(self, value: Optional[pulumi.Input[str]]):
349
+ pulumi.set(self, "description", value)
350
+
351
+ @property
352
+ @pulumi.getter(name="displayName")
353
+ def display_name(self) -> Optional[pulumi.Input[str]]:
354
+ """
355
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
356
+ """
357
+ return pulumi.get(self, "display_name")
358
+
359
+ @display_name.setter
360
+ def display_name(self, value: Optional[pulumi.Input[str]]):
361
+ pulumi.set(self, "display_name", value)
362
+
363
+ @property
364
+ @pulumi.getter(name="estimatedTime")
365
+ def estimated_time(self) -> Optional[pulumi.Input[str]]:
366
+ """
367
+ (Updatable) Estimated time to successfully complete the runbook execution
368
+ """
369
+ return pulumi.get(self, "estimated_time")
370
+
371
+ @estimated_time.setter
372
+ def estimated_time(self, value: Optional[pulumi.Input[str]]):
373
+ pulumi.set(self, "estimated_time", value)
374
+
375
+ @property
376
+ @pulumi.getter(name="freeformTags")
377
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
378
+ """
379
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
380
+ """
381
+ return pulumi.get(self, "freeform_tags")
382
+
383
+ @freeform_tags.setter
384
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
385
+ pulumi.set(self, "freeform_tags", value)
386
+
387
+ @property
388
+ @pulumi.getter(name="isDefault")
389
+ def is_default(self) -> Optional[pulumi.Input[bool]]:
390
+ """
391
+ (Updatable) Is the runbook default?
392
+ """
393
+ return pulumi.get(self, "is_default")
394
+
395
+ @is_default.setter
396
+ def is_default(self, value: Optional[pulumi.Input[bool]]):
397
+ pulumi.set(self, "is_default", value)
398
+
399
+ @property
400
+ @pulumi.getter(name="lifecycleDetails")
401
+ def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
402
+ """
403
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
404
+ """
405
+ return pulumi.get(self, "lifecycle_details")
406
+
407
+ @lifecycle_details.setter
408
+ def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
409
+ pulumi.set(self, "lifecycle_details", value)
410
+
411
+ @property
412
+ @pulumi.getter
413
+ def operation(self) -> Optional[pulumi.Input[str]]:
414
+ """
415
+ (Updatable) The lifecycle operation performed by the task.
416
+ """
417
+ return pulumi.get(self, "operation")
418
+
419
+ @operation.setter
420
+ def operation(self, value: Optional[pulumi.Input[str]]):
421
+ pulumi.set(self, "operation", value)
422
+
423
+ @property
424
+ @pulumi.getter(name="osType")
425
+ def os_type(self) -> Optional[pulumi.Input[str]]:
426
+ """
427
+ (Updatable) The OS type for the runbook.
428
+ """
429
+ return pulumi.get(self, "os_type")
430
+
431
+ @os_type.setter
432
+ def os_type(self, value: Optional[pulumi.Input[str]]):
433
+ pulumi.set(self, "os_type", value)
434
+
435
+ @property
436
+ @pulumi.getter
437
+ def platform(self) -> Optional[pulumi.Input[str]]:
438
+ """
439
+ (Updatable) The platform of the runbook.
440
+ """
441
+ return pulumi.get(self, "platform")
442
+
443
+ @platform.setter
444
+ def platform(self, value: Optional[pulumi.Input[str]]):
445
+ pulumi.set(self, "platform", value)
446
+
447
+ @property
448
+ @pulumi.getter(name="resourceRegion")
449
+ def resource_region(self) -> Optional[pulumi.Input[str]]:
450
+ """
451
+ Associated region
452
+ """
453
+ return pulumi.get(self, "resource_region")
454
+
455
+ @resource_region.setter
456
+ def resource_region(self, value: Optional[pulumi.Input[str]]):
457
+ pulumi.set(self, "resource_region", value)
458
+
459
+ @property
460
+ @pulumi.getter(name="runbookRelevance")
461
+ def runbook_relevance(self) -> Optional[pulumi.Input[str]]:
462
+ """
463
+ (Updatable) Type of runbook structure.
464
+
465
+
466
+ ** IMPORTANT **
467
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
468
+ """
469
+ return pulumi.get(self, "runbook_relevance")
470
+
471
+ @runbook_relevance.setter
472
+ def runbook_relevance(self, value: Optional[pulumi.Input[str]]):
473
+ pulumi.set(self, "runbook_relevance", value)
474
+
475
+ @property
476
+ @pulumi.getter
477
+ def state(self) -> Optional[pulumi.Input[str]]:
478
+ """
479
+ The current state of the Runbook.
480
+ """
481
+ return pulumi.get(self, "state")
482
+
483
+ @state.setter
484
+ def state(self, value: Optional[pulumi.Input[str]]):
485
+ pulumi.set(self, "state", value)
486
+
487
+ @property
488
+ @pulumi.getter(name="systemTags")
489
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
490
+ """
491
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
492
+ """
493
+ return pulumi.get(self, "system_tags")
494
+
495
+ @system_tags.setter
496
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
497
+ pulumi.set(self, "system_tags", value)
498
+
499
+ @property
500
+ @pulumi.getter(name="timeCreated")
501
+ def time_created(self) -> Optional[pulumi.Input[str]]:
502
+ """
503
+ The time this resource was created. An RFC3339 formatted datetime string.
504
+ """
505
+ return pulumi.get(self, "time_created")
506
+
507
+ @time_created.setter
508
+ def time_created(self, value: Optional[pulumi.Input[str]]):
509
+ pulumi.set(self, "time_created", value)
510
+
511
+ @property
512
+ @pulumi.getter(name="timeUpdated")
513
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
514
+ """
515
+ The time this resource was last updated. An RFC3339 formatted datetime string.
516
+ """
517
+ return pulumi.get(self, "time_updated")
518
+
519
+ @time_updated.setter
520
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
521
+ pulumi.set(self, "time_updated", value)
522
+
523
+ @property
524
+ @pulumi.getter
525
+ def type(self) -> Optional[pulumi.Input[str]]:
526
+ """
527
+ The type of the runbook.
528
+ """
529
+ return pulumi.get(self, "type")
530
+
531
+ @type.setter
532
+ def type(self, value: Optional[pulumi.Input[str]]):
533
+ pulumi.set(self, "type", value)
534
+
535
+
536
+ class Runbook(pulumi.CustomResource):
537
+ @overload
538
+ def __init__(__self__,
539
+ resource_name: str,
540
+ opts: Optional[pulumi.ResourceOptions] = None,
541
+ associations: Optional[pulumi.Input[Union['RunbookAssociationsArgs', 'RunbookAssociationsArgsDict']]] = None,
542
+ compartment_id: Optional[pulumi.Input[str]] = None,
543
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
544
+ description: Optional[pulumi.Input[str]] = None,
545
+ display_name: Optional[pulumi.Input[str]] = None,
546
+ estimated_time: Optional[pulumi.Input[str]] = None,
547
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
548
+ is_default: Optional[pulumi.Input[bool]] = None,
549
+ operation: Optional[pulumi.Input[str]] = None,
550
+ os_type: Optional[pulumi.Input[str]] = None,
551
+ platform: Optional[pulumi.Input[str]] = None,
552
+ runbook_relevance: Optional[pulumi.Input[str]] = None,
553
+ __props__=None):
554
+ """
555
+ This resource provides the Runbook resource in Oracle Cloud Infrastructure Fleet Apps Management service.
556
+
557
+ Creates a new Runbook.
558
+
559
+ ## Example Usage
560
+
561
+ ```python
562
+ import pulumi
563
+ import pulumi_oci as oci
564
+
565
+ test_runbook = oci.fleet_apps_management.Runbook("test_runbook",
566
+ associations={
567
+ "execution_workflow_details": {
568
+ "workflows": [{
569
+ "group_name": test_group["name"],
570
+ "steps": [{
571
+ "type": runbook_associations_execution_workflow_details_workflow_steps_type,
572
+ "group_name": test_group["name"],
573
+ "step_name": runbook_associations_execution_workflow_details_workflow_steps_step_name,
574
+ "steps": runbook_associations_execution_workflow_details_workflow_steps_steps,
575
+ }],
576
+ "type": runbook_associations_execution_workflow_details_workflow_type,
577
+ }],
578
+ },
579
+ "groups": [{
580
+ "name": runbook_associations_groups_name,
581
+ "type": runbook_associations_groups_type,
582
+ "properties": {
583
+ "action_on_failure": runbook_associations_groups_properties_action_on_failure,
584
+ "condition": runbook_associations_groups_properties_condition,
585
+ "notification_preferences": {
586
+ "should_notify_on_pause": runbook_associations_groups_properties_notification_preferences_should_notify_on_pause,
587
+ "should_notify_on_task_failure": runbook_associations_groups_properties_notification_preferences_should_notify_on_task_failure,
588
+ "should_notify_on_task_success": runbook_associations_groups_properties_notification_preferences_should_notify_on_task_success,
589
+ },
590
+ "pause_details": {
591
+ "kind": runbook_associations_groups_properties_pause_details_kind,
592
+ "duration_in_minutes": runbook_associations_groups_properties_pause_details_duration_in_minutes,
593
+ },
594
+ "run_on": runbook_associations_groups_properties_run_on,
595
+ },
596
+ }],
597
+ "tasks": [{
598
+ "association_type": runbook_associations_tasks_association_type,
599
+ "step_name": runbook_associations_tasks_step_name,
600
+ "task_record_details": {
601
+ "scope": runbook_associations_tasks_task_record_details_scope,
602
+ "description": runbook_associations_tasks_task_record_details_description,
603
+ "execution_details": {
604
+ "execution_type": runbook_associations_tasks_task_record_details_execution_details_execution_type,
605
+ "command": runbook_associations_tasks_task_record_details_execution_details_command,
606
+ "content": {
607
+ "bucket": runbook_associations_tasks_task_record_details_execution_details_content_bucket,
608
+ "checksum": runbook_associations_tasks_task_record_details_execution_details_content_checksum,
609
+ "namespace": runbook_associations_tasks_task_record_details_execution_details_content_namespace,
610
+ "object": runbook_associations_tasks_task_record_details_execution_details_content_object,
611
+ "source_type": runbook_associations_tasks_task_record_details_execution_details_content_source_type,
612
+ },
613
+ "credentials": [{
614
+ "display_name": runbook_associations_tasks_task_record_details_execution_details_credentials_display_name,
615
+ "id": runbook_associations_tasks_task_record_details_execution_details_credentials_id,
616
+ }],
617
+ "endpoint": runbook_associations_tasks_task_record_details_execution_details_endpoint,
618
+ "variables": {
619
+ "input_variables": [{
620
+ "description": runbook_associations_tasks_task_record_details_execution_details_variables_input_variables_description,
621
+ "name": runbook_associations_tasks_task_record_details_execution_details_variables_input_variables_name,
622
+ "type": runbook_associations_tasks_task_record_details_execution_details_variables_input_variables_type,
623
+ }],
624
+ "output_variables": runbook_associations_tasks_task_record_details_execution_details_variables_output_variables,
625
+ },
626
+ },
627
+ "is_apply_subject_task": runbook_associations_tasks_task_record_details_is_apply_subject_task,
628
+ "is_copy_to_library_enabled": runbook_associations_tasks_task_record_details_is_copy_to_library_enabled,
629
+ "is_discovery_output_task": runbook_associations_tasks_task_record_details_is_discovery_output_task,
630
+ "name": runbook_associations_tasks_task_record_details_name,
631
+ "os_type": runbook_associations_tasks_task_record_details_os_type,
632
+ "platform": runbook_associations_tasks_task_record_details_platform,
633
+ "properties": {
634
+ "num_retries": runbook_associations_tasks_task_record_details_properties_num_retries,
635
+ "timeout_in_seconds": runbook_associations_tasks_task_record_details_properties_timeout_in_seconds,
636
+ },
637
+ "task_record_id": test_task_record["id"],
638
+ },
639
+ "output_variable_mappings": [{
640
+ "name": runbook_associations_tasks_output_variable_mappings_name,
641
+ "output_variable_details": {
642
+ "output_variable_name": runbook_associations_tasks_output_variable_mappings_output_variable_details_output_variable_name,
643
+ "step_name": runbook_associations_tasks_output_variable_mappings_output_variable_details_step_name,
644
+ },
645
+ }],
646
+ "step_properties": {
647
+ "action_on_failure": runbook_associations_tasks_step_properties_action_on_failure,
648
+ "condition": runbook_associations_tasks_step_properties_condition,
649
+ "notification_preferences": {
650
+ "should_notify_on_pause": runbook_associations_tasks_step_properties_notification_preferences_should_notify_on_pause,
651
+ "should_notify_on_task_failure": runbook_associations_tasks_step_properties_notification_preferences_should_notify_on_task_failure,
652
+ "should_notify_on_task_success": runbook_associations_tasks_step_properties_notification_preferences_should_notify_on_task_success,
653
+ },
654
+ "pause_details": {
655
+ "kind": runbook_associations_tasks_step_properties_pause_details_kind,
656
+ "duration_in_minutes": runbook_associations_tasks_step_properties_pause_details_duration_in_minutes,
657
+ },
658
+ "run_on": runbook_associations_tasks_step_properties_run_on,
659
+ },
660
+ }],
661
+ "rollback_workflow_details": {
662
+ "scope": runbook_associations_rollback_workflow_details_scope,
663
+ "workflows": [{
664
+ "group_name": test_group["name"],
665
+ "steps": [{
666
+ "type": runbook_associations_rollback_workflow_details_workflow_steps_type,
667
+ "group_name": test_group["name"],
668
+ "step_name": runbook_associations_rollback_workflow_details_workflow_steps_step_name,
669
+ "steps": runbook_associations_rollback_workflow_details_workflow_steps_steps,
670
+ }],
671
+ "type": runbook_associations_rollback_workflow_details_workflow_type,
672
+ }],
673
+ },
674
+ "version": runbook_associations_version,
675
+ },
676
+ compartment_id=compartment_id,
677
+ operation=runbook_operation,
678
+ os_type=runbook_os_type,
679
+ runbook_relevance=runbook_runbook_relevance,
680
+ defined_tags={
681
+ "foo-namespace.bar-key": "value",
682
+ },
683
+ description=runbook_description,
684
+ display_name=runbook_display_name,
685
+ estimated_time=runbook_estimated_time,
686
+ freeform_tags={
687
+ "bar-key": "value",
688
+ },
689
+ is_default=runbook_is_default,
690
+ platform=runbook_platform)
691
+ ```
692
+
693
+ ## Import
694
+
695
+ Runbooks can be imported using the `id`, e.g.
696
+
697
+ ```sh
698
+ $ pulumi import oci:FleetAppsManagement/runbook:Runbook test_runbook "id"
699
+ ```
700
+
701
+ :param str resource_name: The name of the resource.
702
+ :param pulumi.ResourceOptions opts: Options for the resource.
703
+ :param pulumi.Input[Union['RunbookAssociationsArgs', 'RunbookAssociationsArgsDict']] associations: (Updatable) Associations for the runbook.
704
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
705
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
706
+ :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
707
+ :param pulumi.Input[str] estimated_time: (Updatable) Estimated time to successfully complete the runbook execution
708
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
709
+ :param pulumi.Input[bool] is_default: (Updatable) Is the runbook default?
710
+ :param pulumi.Input[str] operation: (Updatable) The lifecycle operation performed by the task.
711
+ :param pulumi.Input[str] os_type: (Updatable) The OS type for the runbook.
712
+ :param pulumi.Input[str] platform: (Updatable) The platform of the runbook.
713
+ :param pulumi.Input[str] runbook_relevance: (Updatable) Type of runbook structure.
714
+
715
+
716
+ ** IMPORTANT **
717
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
718
+ """
719
+ ...
720
+ @overload
721
+ def __init__(__self__,
722
+ resource_name: str,
723
+ args: RunbookArgs,
724
+ opts: Optional[pulumi.ResourceOptions] = None):
725
+ """
726
+ This resource provides the Runbook resource in Oracle Cloud Infrastructure Fleet Apps Management service.
727
+
728
+ Creates a new Runbook.
729
+
730
+ ## Example Usage
731
+
732
+ ```python
733
+ import pulumi
734
+ import pulumi_oci as oci
735
+
736
+ test_runbook = oci.fleet_apps_management.Runbook("test_runbook",
737
+ associations={
738
+ "execution_workflow_details": {
739
+ "workflows": [{
740
+ "group_name": test_group["name"],
741
+ "steps": [{
742
+ "type": runbook_associations_execution_workflow_details_workflow_steps_type,
743
+ "group_name": test_group["name"],
744
+ "step_name": runbook_associations_execution_workflow_details_workflow_steps_step_name,
745
+ "steps": runbook_associations_execution_workflow_details_workflow_steps_steps,
746
+ }],
747
+ "type": runbook_associations_execution_workflow_details_workflow_type,
748
+ }],
749
+ },
750
+ "groups": [{
751
+ "name": runbook_associations_groups_name,
752
+ "type": runbook_associations_groups_type,
753
+ "properties": {
754
+ "action_on_failure": runbook_associations_groups_properties_action_on_failure,
755
+ "condition": runbook_associations_groups_properties_condition,
756
+ "notification_preferences": {
757
+ "should_notify_on_pause": runbook_associations_groups_properties_notification_preferences_should_notify_on_pause,
758
+ "should_notify_on_task_failure": runbook_associations_groups_properties_notification_preferences_should_notify_on_task_failure,
759
+ "should_notify_on_task_success": runbook_associations_groups_properties_notification_preferences_should_notify_on_task_success,
760
+ },
761
+ "pause_details": {
762
+ "kind": runbook_associations_groups_properties_pause_details_kind,
763
+ "duration_in_minutes": runbook_associations_groups_properties_pause_details_duration_in_minutes,
764
+ },
765
+ "run_on": runbook_associations_groups_properties_run_on,
766
+ },
767
+ }],
768
+ "tasks": [{
769
+ "association_type": runbook_associations_tasks_association_type,
770
+ "step_name": runbook_associations_tasks_step_name,
771
+ "task_record_details": {
772
+ "scope": runbook_associations_tasks_task_record_details_scope,
773
+ "description": runbook_associations_tasks_task_record_details_description,
774
+ "execution_details": {
775
+ "execution_type": runbook_associations_tasks_task_record_details_execution_details_execution_type,
776
+ "command": runbook_associations_tasks_task_record_details_execution_details_command,
777
+ "content": {
778
+ "bucket": runbook_associations_tasks_task_record_details_execution_details_content_bucket,
779
+ "checksum": runbook_associations_tasks_task_record_details_execution_details_content_checksum,
780
+ "namespace": runbook_associations_tasks_task_record_details_execution_details_content_namespace,
781
+ "object": runbook_associations_tasks_task_record_details_execution_details_content_object,
782
+ "source_type": runbook_associations_tasks_task_record_details_execution_details_content_source_type,
783
+ },
784
+ "credentials": [{
785
+ "display_name": runbook_associations_tasks_task_record_details_execution_details_credentials_display_name,
786
+ "id": runbook_associations_tasks_task_record_details_execution_details_credentials_id,
787
+ }],
788
+ "endpoint": runbook_associations_tasks_task_record_details_execution_details_endpoint,
789
+ "variables": {
790
+ "input_variables": [{
791
+ "description": runbook_associations_tasks_task_record_details_execution_details_variables_input_variables_description,
792
+ "name": runbook_associations_tasks_task_record_details_execution_details_variables_input_variables_name,
793
+ "type": runbook_associations_tasks_task_record_details_execution_details_variables_input_variables_type,
794
+ }],
795
+ "output_variables": runbook_associations_tasks_task_record_details_execution_details_variables_output_variables,
796
+ },
797
+ },
798
+ "is_apply_subject_task": runbook_associations_tasks_task_record_details_is_apply_subject_task,
799
+ "is_copy_to_library_enabled": runbook_associations_tasks_task_record_details_is_copy_to_library_enabled,
800
+ "is_discovery_output_task": runbook_associations_tasks_task_record_details_is_discovery_output_task,
801
+ "name": runbook_associations_tasks_task_record_details_name,
802
+ "os_type": runbook_associations_tasks_task_record_details_os_type,
803
+ "platform": runbook_associations_tasks_task_record_details_platform,
804
+ "properties": {
805
+ "num_retries": runbook_associations_tasks_task_record_details_properties_num_retries,
806
+ "timeout_in_seconds": runbook_associations_tasks_task_record_details_properties_timeout_in_seconds,
807
+ },
808
+ "task_record_id": test_task_record["id"],
809
+ },
810
+ "output_variable_mappings": [{
811
+ "name": runbook_associations_tasks_output_variable_mappings_name,
812
+ "output_variable_details": {
813
+ "output_variable_name": runbook_associations_tasks_output_variable_mappings_output_variable_details_output_variable_name,
814
+ "step_name": runbook_associations_tasks_output_variable_mappings_output_variable_details_step_name,
815
+ },
816
+ }],
817
+ "step_properties": {
818
+ "action_on_failure": runbook_associations_tasks_step_properties_action_on_failure,
819
+ "condition": runbook_associations_tasks_step_properties_condition,
820
+ "notification_preferences": {
821
+ "should_notify_on_pause": runbook_associations_tasks_step_properties_notification_preferences_should_notify_on_pause,
822
+ "should_notify_on_task_failure": runbook_associations_tasks_step_properties_notification_preferences_should_notify_on_task_failure,
823
+ "should_notify_on_task_success": runbook_associations_tasks_step_properties_notification_preferences_should_notify_on_task_success,
824
+ },
825
+ "pause_details": {
826
+ "kind": runbook_associations_tasks_step_properties_pause_details_kind,
827
+ "duration_in_minutes": runbook_associations_tasks_step_properties_pause_details_duration_in_minutes,
828
+ },
829
+ "run_on": runbook_associations_tasks_step_properties_run_on,
830
+ },
831
+ }],
832
+ "rollback_workflow_details": {
833
+ "scope": runbook_associations_rollback_workflow_details_scope,
834
+ "workflows": [{
835
+ "group_name": test_group["name"],
836
+ "steps": [{
837
+ "type": runbook_associations_rollback_workflow_details_workflow_steps_type,
838
+ "group_name": test_group["name"],
839
+ "step_name": runbook_associations_rollback_workflow_details_workflow_steps_step_name,
840
+ "steps": runbook_associations_rollback_workflow_details_workflow_steps_steps,
841
+ }],
842
+ "type": runbook_associations_rollback_workflow_details_workflow_type,
843
+ }],
844
+ },
845
+ "version": runbook_associations_version,
846
+ },
847
+ compartment_id=compartment_id,
848
+ operation=runbook_operation,
849
+ os_type=runbook_os_type,
850
+ runbook_relevance=runbook_runbook_relevance,
851
+ defined_tags={
852
+ "foo-namespace.bar-key": "value",
853
+ },
854
+ description=runbook_description,
855
+ display_name=runbook_display_name,
856
+ estimated_time=runbook_estimated_time,
857
+ freeform_tags={
858
+ "bar-key": "value",
859
+ },
860
+ is_default=runbook_is_default,
861
+ platform=runbook_platform)
862
+ ```
863
+
864
+ ## Import
865
+
866
+ Runbooks can be imported using the `id`, e.g.
867
+
868
+ ```sh
869
+ $ pulumi import oci:FleetAppsManagement/runbook:Runbook test_runbook "id"
870
+ ```
871
+
872
+ :param str resource_name: The name of the resource.
873
+ :param RunbookArgs args: The arguments to use to populate this resource's properties.
874
+ :param pulumi.ResourceOptions opts: Options for the resource.
875
+ """
876
+ ...
877
+ def __init__(__self__, resource_name: str, *args, **kwargs):
878
+ resource_args, opts = _utilities.get_resource_args_opts(RunbookArgs, pulumi.ResourceOptions, *args, **kwargs)
879
+ if resource_args is not None:
880
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
881
+ else:
882
+ __self__._internal_init(resource_name, *args, **kwargs)
883
+
884
+ def _internal_init(__self__,
885
+ resource_name: str,
886
+ opts: Optional[pulumi.ResourceOptions] = None,
887
+ associations: Optional[pulumi.Input[Union['RunbookAssociationsArgs', 'RunbookAssociationsArgsDict']]] = None,
888
+ compartment_id: Optional[pulumi.Input[str]] = None,
889
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
890
+ description: Optional[pulumi.Input[str]] = None,
891
+ display_name: Optional[pulumi.Input[str]] = None,
892
+ estimated_time: Optional[pulumi.Input[str]] = None,
893
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
894
+ is_default: Optional[pulumi.Input[bool]] = None,
895
+ operation: Optional[pulumi.Input[str]] = None,
896
+ os_type: Optional[pulumi.Input[str]] = None,
897
+ platform: Optional[pulumi.Input[str]] = None,
898
+ runbook_relevance: Optional[pulumi.Input[str]] = None,
899
+ __props__=None):
900
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
901
+ if not isinstance(opts, pulumi.ResourceOptions):
902
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
903
+ if opts.id is None:
904
+ if __props__ is not None:
905
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
906
+ __props__ = RunbookArgs.__new__(RunbookArgs)
907
+
908
+ if associations is None and not opts.urn:
909
+ raise TypeError("Missing required property 'associations'")
910
+ __props__.__dict__["associations"] = associations
911
+ if compartment_id is None and not opts.urn:
912
+ raise TypeError("Missing required property 'compartment_id'")
913
+ __props__.__dict__["compartment_id"] = compartment_id
914
+ __props__.__dict__["defined_tags"] = defined_tags
915
+ __props__.__dict__["description"] = description
916
+ __props__.__dict__["display_name"] = display_name
917
+ __props__.__dict__["estimated_time"] = estimated_time
918
+ __props__.__dict__["freeform_tags"] = freeform_tags
919
+ __props__.__dict__["is_default"] = is_default
920
+ if operation is None and not opts.urn:
921
+ raise TypeError("Missing required property 'operation'")
922
+ __props__.__dict__["operation"] = operation
923
+ if os_type is None and not opts.urn:
924
+ raise TypeError("Missing required property 'os_type'")
925
+ __props__.__dict__["os_type"] = os_type
926
+ __props__.__dict__["platform"] = platform
927
+ if runbook_relevance is None and not opts.urn:
928
+ raise TypeError("Missing required property 'runbook_relevance'")
929
+ __props__.__dict__["runbook_relevance"] = runbook_relevance
930
+ __props__.__dict__["lifecycle_details"] = None
931
+ __props__.__dict__["resource_region"] = None
932
+ __props__.__dict__["state"] = None
933
+ __props__.__dict__["system_tags"] = None
934
+ __props__.__dict__["time_created"] = None
935
+ __props__.__dict__["time_updated"] = None
936
+ __props__.__dict__["type"] = None
937
+ super(Runbook, __self__).__init__(
938
+ 'oci:FleetAppsManagement/runbook:Runbook',
939
+ resource_name,
940
+ __props__,
941
+ opts)
942
+
943
+ @staticmethod
944
+ def get(resource_name: str,
945
+ id: pulumi.Input[str],
946
+ opts: Optional[pulumi.ResourceOptions] = None,
947
+ associations: Optional[pulumi.Input[Union['RunbookAssociationsArgs', 'RunbookAssociationsArgsDict']]] = None,
948
+ compartment_id: Optional[pulumi.Input[str]] = None,
949
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
950
+ description: Optional[pulumi.Input[str]] = None,
951
+ display_name: Optional[pulumi.Input[str]] = None,
952
+ estimated_time: Optional[pulumi.Input[str]] = None,
953
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
954
+ is_default: Optional[pulumi.Input[bool]] = None,
955
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
956
+ operation: Optional[pulumi.Input[str]] = None,
957
+ os_type: Optional[pulumi.Input[str]] = None,
958
+ platform: Optional[pulumi.Input[str]] = None,
959
+ resource_region: Optional[pulumi.Input[str]] = None,
960
+ runbook_relevance: Optional[pulumi.Input[str]] = None,
961
+ state: Optional[pulumi.Input[str]] = None,
962
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
963
+ time_created: Optional[pulumi.Input[str]] = None,
964
+ time_updated: Optional[pulumi.Input[str]] = None,
965
+ type: Optional[pulumi.Input[str]] = None) -> 'Runbook':
966
+ """
967
+ Get an existing Runbook resource's state with the given name, id, and optional extra
968
+ properties used to qualify the lookup.
969
+
970
+ :param str resource_name: The unique name of the resulting resource.
971
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
972
+ :param pulumi.ResourceOptions opts: Options for the resource.
973
+ :param pulumi.Input[Union['RunbookAssociationsArgs', 'RunbookAssociationsArgsDict']] associations: (Updatable) Associations for the runbook.
974
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
975
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
976
+ :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
977
+ :param pulumi.Input[str] estimated_time: (Updatable) Estimated time to successfully complete the runbook execution
978
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
979
+ :param pulumi.Input[bool] is_default: (Updatable) Is the runbook default?
980
+ :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
981
+ :param pulumi.Input[str] operation: (Updatable) The lifecycle operation performed by the task.
982
+ :param pulumi.Input[str] os_type: (Updatable) The OS type for the runbook.
983
+ :param pulumi.Input[str] platform: (Updatable) The platform of the runbook.
984
+ :param pulumi.Input[str] resource_region: Associated region
985
+ :param pulumi.Input[str] runbook_relevance: (Updatable) Type of runbook structure.
986
+
987
+
988
+ ** IMPORTANT **
989
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
990
+ :param pulumi.Input[str] state: The current state of the Runbook.
991
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
992
+ :param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
993
+ :param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
994
+ :param pulumi.Input[str] type: The type of the runbook.
995
+ """
996
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
997
+
998
+ __props__ = _RunbookState.__new__(_RunbookState)
999
+
1000
+ __props__.__dict__["associations"] = associations
1001
+ __props__.__dict__["compartment_id"] = compartment_id
1002
+ __props__.__dict__["defined_tags"] = defined_tags
1003
+ __props__.__dict__["description"] = description
1004
+ __props__.__dict__["display_name"] = display_name
1005
+ __props__.__dict__["estimated_time"] = estimated_time
1006
+ __props__.__dict__["freeform_tags"] = freeform_tags
1007
+ __props__.__dict__["is_default"] = is_default
1008
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
1009
+ __props__.__dict__["operation"] = operation
1010
+ __props__.__dict__["os_type"] = os_type
1011
+ __props__.__dict__["platform"] = platform
1012
+ __props__.__dict__["resource_region"] = resource_region
1013
+ __props__.__dict__["runbook_relevance"] = runbook_relevance
1014
+ __props__.__dict__["state"] = state
1015
+ __props__.__dict__["system_tags"] = system_tags
1016
+ __props__.__dict__["time_created"] = time_created
1017
+ __props__.__dict__["time_updated"] = time_updated
1018
+ __props__.__dict__["type"] = type
1019
+ return Runbook(resource_name, opts=opts, __props__=__props__)
1020
+
1021
+ @property
1022
+ @pulumi.getter
1023
+ def associations(self) -> pulumi.Output['outputs.RunbookAssociations']:
1024
+ """
1025
+ (Updatable) Associations for the runbook.
1026
+ """
1027
+ return pulumi.get(self, "associations")
1028
+
1029
+ @property
1030
+ @pulumi.getter(name="compartmentId")
1031
+ def compartment_id(self) -> pulumi.Output[str]:
1032
+ return pulumi.get(self, "compartment_id")
1033
+
1034
+ @property
1035
+ @pulumi.getter(name="definedTags")
1036
+ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
1037
+ """
1038
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
1039
+ """
1040
+ return pulumi.get(self, "defined_tags")
1041
+
1042
+ @property
1043
+ @pulumi.getter
1044
+ def description(self) -> pulumi.Output[str]:
1045
+ """
1046
+ (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
1047
+ """
1048
+ return pulumi.get(self, "description")
1049
+
1050
+ @property
1051
+ @pulumi.getter(name="displayName")
1052
+ def display_name(self) -> pulumi.Output[str]:
1053
+ """
1054
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
1055
+ """
1056
+ return pulumi.get(self, "display_name")
1057
+
1058
+ @property
1059
+ @pulumi.getter(name="estimatedTime")
1060
+ def estimated_time(self) -> pulumi.Output[str]:
1061
+ """
1062
+ (Updatable) Estimated time to successfully complete the runbook execution
1063
+ """
1064
+ return pulumi.get(self, "estimated_time")
1065
+
1066
+ @property
1067
+ @pulumi.getter(name="freeformTags")
1068
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
1069
+ """
1070
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
1071
+ """
1072
+ return pulumi.get(self, "freeform_tags")
1073
+
1074
+ @property
1075
+ @pulumi.getter(name="isDefault")
1076
+ def is_default(self) -> pulumi.Output[bool]:
1077
+ """
1078
+ (Updatable) Is the runbook default?
1079
+ """
1080
+ return pulumi.get(self, "is_default")
1081
+
1082
+ @property
1083
+ @pulumi.getter(name="lifecycleDetails")
1084
+ def lifecycle_details(self) -> pulumi.Output[str]:
1085
+ """
1086
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
1087
+ """
1088
+ return pulumi.get(self, "lifecycle_details")
1089
+
1090
+ @property
1091
+ @pulumi.getter
1092
+ def operation(self) -> pulumi.Output[str]:
1093
+ """
1094
+ (Updatable) The lifecycle operation performed by the task.
1095
+ """
1096
+ return pulumi.get(self, "operation")
1097
+
1098
+ @property
1099
+ @pulumi.getter(name="osType")
1100
+ def os_type(self) -> pulumi.Output[str]:
1101
+ """
1102
+ (Updatable) The OS type for the runbook.
1103
+ """
1104
+ return pulumi.get(self, "os_type")
1105
+
1106
+ @property
1107
+ @pulumi.getter
1108
+ def platform(self) -> pulumi.Output[str]:
1109
+ """
1110
+ (Updatable) The platform of the runbook.
1111
+ """
1112
+ return pulumi.get(self, "platform")
1113
+
1114
+ @property
1115
+ @pulumi.getter(name="resourceRegion")
1116
+ def resource_region(self) -> pulumi.Output[str]:
1117
+ """
1118
+ Associated region
1119
+ """
1120
+ return pulumi.get(self, "resource_region")
1121
+
1122
+ @property
1123
+ @pulumi.getter(name="runbookRelevance")
1124
+ def runbook_relevance(self) -> pulumi.Output[str]:
1125
+ """
1126
+ (Updatable) Type of runbook structure.
1127
+
1128
+
1129
+ ** IMPORTANT **
1130
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1131
+ """
1132
+ return pulumi.get(self, "runbook_relevance")
1133
+
1134
+ @property
1135
+ @pulumi.getter
1136
+ def state(self) -> pulumi.Output[str]:
1137
+ """
1138
+ The current state of the Runbook.
1139
+ """
1140
+ return pulumi.get(self, "state")
1141
+
1142
+ @property
1143
+ @pulumi.getter(name="systemTags")
1144
+ def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
1145
+ """
1146
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
1147
+ """
1148
+ return pulumi.get(self, "system_tags")
1149
+
1150
+ @property
1151
+ @pulumi.getter(name="timeCreated")
1152
+ def time_created(self) -> pulumi.Output[str]:
1153
+ """
1154
+ The time this resource was created. An RFC3339 formatted datetime string.
1155
+ """
1156
+ return pulumi.get(self, "time_created")
1157
+
1158
+ @property
1159
+ @pulumi.getter(name="timeUpdated")
1160
+ def time_updated(self) -> pulumi.Output[str]:
1161
+ """
1162
+ The time this resource was last updated. An RFC3339 formatted datetime string.
1163
+ """
1164
+ return pulumi.get(self, "time_updated")
1165
+
1166
+ @property
1167
+ @pulumi.getter
1168
+ def type(self) -> pulumi.Output[str]:
1169
+ """
1170
+ The type of the runbook.
1171
+ """
1172
+ return pulumi.get(self, "type")
1173
+