pulumi-oci 2.1.0a1719958917__py3-none-any.whl → 2.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +43 -0
- pulumi_oci/database/__init__.py +11 -0
- pulumi_oci/database/_inputs.py +607 -0
- pulumi_oci/database/db_node.py +28 -0
- pulumi_oci/database/exadb_vm_cluster.py +1761 -0
- pulumi_oci/database/exascale_db_storage_vault.py +787 -0
- pulumi_oci/database/get_backups.py +22 -5
- pulumi_oci/database/get_db_node.py +14 -1
- pulumi_oci/database/get_db_nodes.py +2 -2
- pulumi_oci/database/get_exadb_vm_cluster.py +614 -0
- pulumi_oci/database/get_exadb_vm_cluster_update.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entries.py +153 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entry.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_updates.py +173 -0
- pulumi_oci/database/get_exadb_vm_clusters.py +196 -0
- pulumi_oci/database/get_exascale_db_storage_vault.py +301 -0
- pulumi_oci/database/get_exascale_db_storage_vaults.py +176 -0
- pulumi_oci/database/get_gi_version_minor_versions.py +221 -0
- pulumi_oci/database/get_gi_versions.py +22 -5
- pulumi_oci/database/outputs.py +2050 -0
- pulumi_oci/database/pluggable_database.py +7 -7
- pulumi_oci/databasemigration/__init__.py +6 -0
- pulumi_oci/databasemigration/_inputs.py +1633 -0
- pulumi_oci/databasemigration/connection.py +2019 -0
- pulumi_oci/databasemigration/get_connection.py +616 -0
- pulumi_oci/databasemigration/get_connections.py +225 -0
- pulumi_oci/databasemigration/get_job_advisor_report.py +2 -10
- pulumi_oci/databasemigration/get_migration.py +440 -0
- pulumi_oci/databasemigration/get_migration_object_types.py +24 -13
- pulumi_oci/databasemigration/get_migrations.py +420 -0
- pulumi_oci/databasemigration/job.py +16 -20
- pulumi_oci/databasemigration/migration.py +1528 -0
- pulumi_oci/databasemigration/outputs.py +4447 -76
- pulumi_oci/filestorage/_inputs.py +10 -18
- pulumi_oci/filestorage/export.py +28 -7
- pulumi_oci/filestorage/file_system.py +159 -35
- pulumi_oci/filestorage/outputs.py +55 -34
- pulumi_oci/generativeai/_inputs.py +50 -2
- pulumi_oci/generativeai/dedicated_ai_cluster.py +30 -2
- pulumi_oci/generativeai/endpoint.py +2 -2
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +2 -47
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +2 -14
- pulumi_oci/generativeai/get_endpoint.py +2 -26
- pulumi_oci/generativeai/get_endpoints.py +2 -8
- pulumi_oci/generativeai/get_model.py +2 -38
- pulumi_oci/generativeai/get_models.py +2 -8
- pulumi_oci/generativeai/model.py +2 -2
- pulumi_oci/generativeai/outputs.py +86 -310
- pulumi_oci/meteringcomputation/_inputs.py +32 -0
- pulumi_oci/meteringcomputation/outputs.py +29 -1
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/__init__.py +12 -0
- pulumi_oci/resourcescheduler/_inputs.py +224 -0
- pulumi_oci/resourcescheduler/get_schedule.py +340 -0
- pulumi_oci/resourcescheduler/get_schedules.py +193 -0
- pulumi_oci/resourcescheduler/outputs.py +687 -0
- pulumi_oci/resourcescheduler/schedule.py +977 -0
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/RECORD +61 -38
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,687 @@
|
|
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
|
+
'ScheduleResource',
|
15
|
+
'ScheduleResourceFilter',
|
16
|
+
'ScheduleResourceFilterValue',
|
17
|
+
'GetScheduleResourceResult',
|
18
|
+
'GetScheduleResourceFilterResult',
|
19
|
+
'GetScheduleResourceFilterValueResult',
|
20
|
+
'GetSchedulesFilterResult',
|
21
|
+
'GetSchedulesScheduleCollectionResult',
|
22
|
+
'GetSchedulesScheduleCollectionItemResult',
|
23
|
+
'GetSchedulesScheduleCollectionItemResourceResult',
|
24
|
+
'GetSchedulesScheduleCollectionItemResourceFilterResult',
|
25
|
+
'GetSchedulesScheduleCollectionItemResourceFilterValueResult',
|
26
|
+
]
|
27
|
+
|
28
|
+
@pulumi.output_type
|
29
|
+
class ScheduleResource(dict):
|
30
|
+
def __init__(__self__, *,
|
31
|
+
id: str,
|
32
|
+
metadata: Optional[Mapping[str, Any]] = None):
|
33
|
+
"""
|
34
|
+
:param str id: (Updatable) This is the resource OCID.
|
35
|
+
:param Mapping[str, Any] metadata: (Updatable) This is additional information that helps to identity the resource for the schedule.
|
36
|
+
|
37
|
+
{ "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "id", id)
|
40
|
+
if metadata is not None:
|
41
|
+
pulumi.set(__self__, "metadata", metadata)
|
42
|
+
|
43
|
+
@property
|
44
|
+
@pulumi.getter
|
45
|
+
def id(self) -> str:
|
46
|
+
"""
|
47
|
+
(Updatable) This is the resource OCID.
|
48
|
+
"""
|
49
|
+
return pulumi.get(self, "id")
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter
|
53
|
+
def metadata(self) -> Optional[Mapping[str, Any]]:
|
54
|
+
"""
|
55
|
+
(Updatable) This is additional information that helps to identity the resource for the schedule.
|
56
|
+
|
57
|
+
{ "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "metadata")
|
60
|
+
|
61
|
+
|
62
|
+
@pulumi.output_type
|
63
|
+
class ScheduleResourceFilter(dict):
|
64
|
+
@staticmethod
|
65
|
+
def __key_warning(key: str):
|
66
|
+
suggest = None
|
67
|
+
if key == "shouldIncludeChildCompartments":
|
68
|
+
suggest = "should_include_child_compartments"
|
69
|
+
|
70
|
+
if suggest:
|
71
|
+
pulumi.log.warn(f"Key '{key}' not found in ScheduleResourceFilter. Access the value via the '{suggest}' property getter instead.")
|
72
|
+
|
73
|
+
def __getitem__(self, key: str) -> Any:
|
74
|
+
ScheduleResourceFilter.__key_warning(key)
|
75
|
+
return super().__getitem__(key)
|
76
|
+
|
77
|
+
def get(self, key: str, default = None) -> Any:
|
78
|
+
ScheduleResourceFilter.__key_warning(key)
|
79
|
+
return super().get(key, default)
|
80
|
+
|
81
|
+
def __init__(__self__, *,
|
82
|
+
attribute: str,
|
83
|
+
condition: Optional[str] = None,
|
84
|
+
should_include_child_compartments: Optional[bool] = None,
|
85
|
+
values: Optional[Sequence['outputs.ScheduleResourceFilterValue']] = None):
|
86
|
+
"""
|
87
|
+
:param str attribute: (Updatable) This is the resource attribute on which the threshold is defined.
|
88
|
+
:param str condition: (Updatable) This is the condition for the filter in comparison to its creation time.
|
89
|
+
:param bool should_include_child_compartments: (Updatable) This sets whether to include child compartments.
|
90
|
+
:param Sequence['ScheduleResourceFilterValueArgs'] values: (Updatable) This is a collection of resource lifecycle state values.
|
91
|
+
"""
|
92
|
+
pulumi.set(__self__, "attribute", attribute)
|
93
|
+
if condition is not None:
|
94
|
+
pulumi.set(__self__, "condition", condition)
|
95
|
+
if should_include_child_compartments is not None:
|
96
|
+
pulumi.set(__self__, "should_include_child_compartments", should_include_child_compartments)
|
97
|
+
if values is not None:
|
98
|
+
pulumi.set(__self__, "values", values)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def attribute(self) -> str:
|
103
|
+
"""
|
104
|
+
(Updatable) This is the resource attribute on which the threshold is defined.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "attribute")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def condition(self) -> Optional[str]:
|
111
|
+
"""
|
112
|
+
(Updatable) This is the condition for the filter in comparison to its creation time.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "condition")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="shouldIncludeChildCompartments")
|
118
|
+
def should_include_child_compartments(self) -> Optional[bool]:
|
119
|
+
"""
|
120
|
+
(Updatable) This sets whether to include child compartments.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "should_include_child_compartments")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def values(self) -> Optional[Sequence['outputs.ScheduleResourceFilterValue']]:
|
127
|
+
"""
|
128
|
+
(Updatable) This is a collection of resource lifecycle state values.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "values")
|
131
|
+
|
132
|
+
|
133
|
+
@pulumi.output_type
|
134
|
+
class ScheduleResourceFilterValue(dict):
|
135
|
+
@staticmethod
|
136
|
+
def __key_warning(key: str):
|
137
|
+
suggest = None
|
138
|
+
if key == "tagKey":
|
139
|
+
suggest = "tag_key"
|
140
|
+
|
141
|
+
if suggest:
|
142
|
+
pulumi.log.warn(f"Key '{key}' not found in ScheduleResourceFilterValue. Access the value via the '{suggest}' property getter instead.")
|
143
|
+
|
144
|
+
def __getitem__(self, key: str) -> Any:
|
145
|
+
ScheduleResourceFilterValue.__key_warning(key)
|
146
|
+
return super().__getitem__(key)
|
147
|
+
|
148
|
+
def get(self, key: str, default = None) -> Any:
|
149
|
+
ScheduleResourceFilterValue.__key_warning(key)
|
150
|
+
return super().get(key, default)
|
151
|
+
|
152
|
+
def __init__(__self__, *,
|
153
|
+
namespace: Optional[str] = None,
|
154
|
+
tag_key: Optional[str] = None,
|
155
|
+
value: Optional[str] = None):
|
156
|
+
"""
|
157
|
+
:param str namespace: (Updatable) This is the namespace of the defined tag.
|
158
|
+
:param str tag_key: (Updatable) This is the key of the defined tag.
|
159
|
+
:param str value: (Updatable) This is the value of the defined tag.
|
160
|
+
"""
|
161
|
+
if namespace is not None:
|
162
|
+
pulumi.set(__self__, "namespace", namespace)
|
163
|
+
if tag_key is not None:
|
164
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
165
|
+
if value is not None:
|
166
|
+
pulumi.set(__self__, "value", value)
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter
|
170
|
+
def namespace(self) -> Optional[str]:
|
171
|
+
"""
|
172
|
+
(Updatable) This is the namespace of the defined tag.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "namespace")
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter(name="tagKey")
|
178
|
+
def tag_key(self) -> Optional[str]:
|
179
|
+
"""
|
180
|
+
(Updatable) This is the key of the defined tag.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "tag_key")
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter
|
186
|
+
def value(self) -> Optional[str]:
|
187
|
+
"""
|
188
|
+
(Updatable) This is the value of the defined tag.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "value")
|
191
|
+
|
192
|
+
|
193
|
+
@pulumi.output_type
|
194
|
+
class GetScheduleResourceResult(dict):
|
195
|
+
def __init__(__self__, *,
|
196
|
+
id: str,
|
197
|
+
metadata: Mapping[str, Any]):
|
198
|
+
"""
|
199
|
+
:param str id: This is the resource OCID.
|
200
|
+
:param Mapping[str, Any] metadata: This is additional information that helps to identity the resource for the schedule.
|
201
|
+
"""
|
202
|
+
pulumi.set(__self__, "id", id)
|
203
|
+
pulumi.set(__self__, "metadata", metadata)
|
204
|
+
|
205
|
+
@property
|
206
|
+
@pulumi.getter
|
207
|
+
def id(self) -> str:
|
208
|
+
"""
|
209
|
+
This is the resource OCID.
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "id")
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter
|
215
|
+
def metadata(self) -> Mapping[str, Any]:
|
216
|
+
"""
|
217
|
+
This is additional information that helps to identity the resource for the schedule.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "metadata")
|
220
|
+
|
221
|
+
|
222
|
+
@pulumi.output_type
|
223
|
+
class GetScheduleResourceFilterResult(dict):
|
224
|
+
def __init__(__self__, *,
|
225
|
+
attribute: str,
|
226
|
+
condition: str,
|
227
|
+
should_include_child_compartments: bool,
|
228
|
+
values: Sequence['outputs.GetScheduleResourceFilterValueResult']):
|
229
|
+
"""
|
230
|
+
:param str attribute: This is the resource attribute on which the threshold is defined.
|
231
|
+
:param str condition: This is the condition for the filter in comparison to its creation time.
|
232
|
+
:param bool should_include_child_compartments: This sets whether to include child compartments.
|
233
|
+
:param Sequence['GetScheduleResourceFilterValueArgs'] values: This is the value of the defined tag.
|
234
|
+
"""
|
235
|
+
pulumi.set(__self__, "attribute", attribute)
|
236
|
+
pulumi.set(__self__, "condition", condition)
|
237
|
+
pulumi.set(__self__, "should_include_child_compartments", should_include_child_compartments)
|
238
|
+
pulumi.set(__self__, "values", values)
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter
|
242
|
+
def attribute(self) -> str:
|
243
|
+
"""
|
244
|
+
This is the resource attribute on which the threshold is defined.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "attribute")
|
247
|
+
|
248
|
+
@property
|
249
|
+
@pulumi.getter
|
250
|
+
def condition(self) -> str:
|
251
|
+
"""
|
252
|
+
This is the condition for the filter in comparison to its creation time.
|
253
|
+
"""
|
254
|
+
return pulumi.get(self, "condition")
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter(name="shouldIncludeChildCompartments")
|
258
|
+
def should_include_child_compartments(self) -> bool:
|
259
|
+
"""
|
260
|
+
This sets whether to include child compartments.
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "should_include_child_compartments")
|
263
|
+
|
264
|
+
@property
|
265
|
+
@pulumi.getter
|
266
|
+
def values(self) -> Sequence['outputs.GetScheduleResourceFilterValueResult']:
|
267
|
+
"""
|
268
|
+
This is the value of the defined tag.
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "values")
|
271
|
+
|
272
|
+
|
273
|
+
@pulumi.output_type
|
274
|
+
class GetScheduleResourceFilterValueResult(dict):
|
275
|
+
def __init__(__self__, *,
|
276
|
+
namespace: str,
|
277
|
+
tag_key: str,
|
278
|
+
value: str):
|
279
|
+
"""
|
280
|
+
:param str namespace: This is the namespace of the defined tag.
|
281
|
+
:param str tag_key: This is the key of the defined tag.
|
282
|
+
:param str value: This is the value of the defined tag.
|
283
|
+
"""
|
284
|
+
pulumi.set(__self__, "namespace", namespace)
|
285
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
286
|
+
pulumi.set(__self__, "value", value)
|
287
|
+
|
288
|
+
@property
|
289
|
+
@pulumi.getter
|
290
|
+
def namespace(self) -> str:
|
291
|
+
"""
|
292
|
+
This is the namespace of the defined tag.
|
293
|
+
"""
|
294
|
+
return pulumi.get(self, "namespace")
|
295
|
+
|
296
|
+
@property
|
297
|
+
@pulumi.getter(name="tagKey")
|
298
|
+
def tag_key(self) -> str:
|
299
|
+
"""
|
300
|
+
This is the key of the defined tag.
|
301
|
+
"""
|
302
|
+
return pulumi.get(self, "tag_key")
|
303
|
+
|
304
|
+
@property
|
305
|
+
@pulumi.getter
|
306
|
+
def value(self) -> str:
|
307
|
+
"""
|
308
|
+
This is the value of the defined tag.
|
309
|
+
"""
|
310
|
+
return pulumi.get(self, "value")
|
311
|
+
|
312
|
+
|
313
|
+
@pulumi.output_type
|
314
|
+
class GetSchedulesFilterResult(dict):
|
315
|
+
def __init__(__self__, *,
|
316
|
+
name: str,
|
317
|
+
values: Sequence[str],
|
318
|
+
regex: Optional[bool] = None):
|
319
|
+
pulumi.set(__self__, "name", name)
|
320
|
+
pulumi.set(__self__, "values", values)
|
321
|
+
if regex is not None:
|
322
|
+
pulumi.set(__self__, "regex", regex)
|
323
|
+
|
324
|
+
@property
|
325
|
+
@pulumi.getter
|
326
|
+
def name(self) -> str:
|
327
|
+
return pulumi.get(self, "name")
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter
|
331
|
+
def values(self) -> Sequence[str]:
|
332
|
+
return pulumi.get(self, "values")
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter
|
336
|
+
def regex(self) -> Optional[bool]:
|
337
|
+
return pulumi.get(self, "regex")
|
338
|
+
|
339
|
+
|
340
|
+
@pulumi.output_type
|
341
|
+
class GetSchedulesScheduleCollectionResult(dict):
|
342
|
+
def __init__(__self__, *,
|
343
|
+
items: Sequence['outputs.GetSchedulesScheduleCollectionItemResult']):
|
344
|
+
pulumi.set(__self__, "items", items)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter
|
348
|
+
def items(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResult']:
|
349
|
+
return pulumi.get(self, "items")
|
350
|
+
|
351
|
+
|
352
|
+
@pulumi.output_type
|
353
|
+
class GetSchedulesScheduleCollectionItemResult(dict):
|
354
|
+
def __init__(__self__, *,
|
355
|
+
action: str,
|
356
|
+
compartment_id: str,
|
357
|
+
defined_tags: Mapping[str, Any],
|
358
|
+
description: str,
|
359
|
+
display_name: str,
|
360
|
+
freeform_tags: Mapping[str, Any],
|
361
|
+
id: str,
|
362
|
+
recurrence_details: str,
|
363
|
+
recurrence_type: str,
|
364
|
+
resource_filters: Sequence['outputs.GetSchedulesScheduleCollectionItemResourceFilterResult'],
|
365
|
+
resources: Sequence['outputs.GetSchedulesScheduleCollectionItemResourceResult'],
|
366
|
+
state: str,
|
367
|
+
system_tags: Mapping[str, Any],
|
368
|
+
time_created: str,
|
369
|
+
time_ends: str,
|
370
|
+
time_last_run: str,
|
371
|
+
time_next_run: str,
|
372
|
+
time_starts: str,
|
373
|
+
time_updated: str):
|
374
|
+
"""
|
375
|
+
:param str action: This is the action that will be executed by the schedule.
|
376
|
+
:param str compartment_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
377
|
+
:param Mapping[str, Any] defined_tags: These are 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"}`
|
378
|
+
:param str description: This is the description of the schedule.
|
379
|
+
:param str display_name: This is a filter to return only resources that match the given display name exactly.
|
380
|
+
:param Mapping[str, Any] freeform_tags: These are 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"}`
|
381
|
+
:param str id: This is the resource OCID.
|
382
|
+
:param str recurrence_details: This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field.
|
383
|
+
:param str recurrence_type: Type of recurrence of a schedule
|
384
|
+
:param Sequence['GetSchedulesScheduleCollectionItemResourceFilterArgs'] resource_filters: This is a list of resources filters. The schedule will be applied to resources matching all of them.
|
385
|
+
:param Sequence['GetSchedulesScheduleCollectionItemResourceArgs'] resources: This is the list of resources to which the scheduled operation is applied.
|
386
|
+
:param str state: This is a filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
387
|
+
:param Mapping[str, Any] system_tags: These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
388
|
+
:param str time_created: This is the date and time the schedule was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
389
|
+
:param str time_ends: This is the date and time the schedule ends, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339) Example: `2016-08-25T21:10:29.600Z`
|
390
|
+
:param str time_last_run: This is the date and time the schedule runs last time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
391
|
+
:param str time_next_run: This is the date and time the schedule run the next time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
392
|
+
:param str time_starts: This is the date and time the schedule starts, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339) Example: `2016-08-25T21:10:29.600Z`
|
393
|
+
:param str time_updated: This is the date and time the schedule was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
394
|
+
"""
|
395
|
+
pulumi.set(__self__, "action", action)
|
396
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
397
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
398
|
+
pulumi.set(__self__, "description", description)
|
399
|
+
pulumi.set(__self__, "display_name", display_name)
|
400
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
401
|
+
pulumi.set(__self__, "id", id)
|
402
|
+
pulumi.set(__self__, "recurrence_details", recurrence_details)
|
403
|
+
pulumi.set(__self__, "recurrence_type", recurrence_type)
|
404
|
+
pulumi.set(__self__, "resource_filters", resource_filters)
|
405
|
+
pulumi.set(__self__, "resources", resources)
|
406
|
+
pulumi.set(__self__, "state", state)
|
407
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
408
|
+
pulumi.set(__self__, "time_created", time_created)
|
409
|
+
pulumi.set(__self__, "time_ends", time_ends)
|
410
|
+
pulumi.set(__self__, "time_last_run", time_last_run)
|
411
|
+
pulumi.set(__self__, "time_next_run", time_next_run)
|
412
|
+
pulumi.set(__self__, "time_starts", time_starts)
|
413
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
414
|
+
|
415
|
+
@property
|
416
|
+
@pulumi.getter
|
417
|
+
def action(self) -> str:
|
418
|
+
"""
|
419
|
+
This is the action that will be executed by the schedule.
|
420
|
+
"""
|
421
|
+
return pulumi.get(self, "action")
|
422
|
+
|
423
|
+
@property
|
424
|
+
@pulumi.getter(name="compartmentId")
|
425
|
+
def compartment_id(self) -> str:
|
426
|
+
"""
|
427
|
+
This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
428
|
+
"""
|
429
|
+
return pulumi.get(self, "compartment_id")
|
430
|
+
|
431
|
+
@property
|
432
|
+
@pulumi.getter(name="definedTags")
|
433
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
434
|
+
"""
|
435
|
+
These are 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"}`
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "defined_tags")
|
438
|
+
|
439
|
+
@property
|
440
|
+
@pulumi.getter
|
441
|
+
def description(self) -> str:
|
442
|
+
"""
|
443
|
+
This is the description of the schedule.
|
444
|
+
"""
|
445
|
+
return pulumi.get(self, "description")
|
446
|
+
|
447
|
+
@property
|
448
|
+
@pulumi.getter(name="displayName")
|
449
|
+
def display_name(self) -> str:
|
450
|
+
"""
|
451
|
+
This is a filter to return only resources that match the given display name exactly.
|
452
|
+
"""
|
453
|
+
return pulumi.get(self, "display_name")
|
454
|
+
|
455
|
+
@property
|
456
|
+
@pulumi.getter(name="freeformTags")
|
457
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
458
|
+
"""
|
459
|
+
These are 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"}`
|
460
|
+
"""
|
461
|
+
return pulumi.get(self, "freeform_tags")
|
462
|
+
|
463
|
+
@property
|
464
|
+
@pulumi.getter
|
465
|
+
def id(self) -> str:
|
466
|
+
"""
|
467
|
+
This is the resource OCID.
|
468
|
+
"""
|
469
|
+
return pulumi.get(self, "id")
|
470
|
+
|
471
|
+
@property
|
472
|
+
@pulumi.getter(name="recurrenceDetails")
|
473
|
+
def recurrence_details(self) -> str:
|
474
|
+
"""
|
475
|
+
This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field.
|
476
|
+
"""
|
477
|
+
return pulumi.get(self, "recurrence_details")
|
478
|
+
|
479
|
+
@property
|
480
|
+
@pulumi.getter(name="recurrenceType")
|
481
|
+
def recurrence_type(self) -> str:
|
482
|
+
"""
|
483
|
+
Type of recurrence of a schedule
|
484
|
+
"""
|
485
|
+
return pulumi.get(self, "recurrence_type")
|
486
|
+
|
487
|
+
@property
|
488
|
+
@pulumi.getter(name="resourceFilters")
|
489
|
+
def resource_filters(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResourceFilterResult']:
|
490
|
+
"""
|
491
|
+
This is a list of resources filters. The schedule will be applied to resources matching all of them.
|
492
|
+
"""
|
493
|
+
return pulumi.get(self, "resource_filters")
|
494
|
+
|
495
|
+
@property
|
496
|
+
@pulumi.getter
|
497
|
+
def resources(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResourceResult']:
|
498
|
+
"""
|
499
|
+
This is the list of resources to which the scheduled operation is applied.
|
500
|
+
"""
|
501
|
+
return pulumi.get(self, "resources")
|
502
|
+
|
503
|
+
@property
|
504
|
+
@pulumi.getter
|
505
|
+
def state(self) -> str:
|
506
|
+
"""
|
507
|
+
This is a filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
508
|
+
"""
|
509
|
+
return pulumi.get(self, "state")
|
510
|
+
|
511
|
+
@property
|
512
|
+
@pulumi.getter(name="systemTags")
|
513
|
+
def system_tags(self) -> Mapping[str, Any]:
|
514
|
+
"""
|
515
|
+
These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
516
|
+
"""
|
517
|
+
return pulumi.get(self, "system_tags")
|
518
|
+
|
519
|
+
@property
|
520
|
+
@pulumi.getter(name="timeCreated")
|
521
|
+
def time_created(self) -> str:
|
522
|
+
"""
|
523
|
+
This is the date and time the schedule was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
524
|
+
"""
|
525
|
+
return pulumi.get(self, "time_created")
|
526
|
+
|
527
|
+
@property
|
528
|
+
@pulumi.getter(name="timeEnds")
|
529
|
+
def time_ends(self) -> str:
|
530
|
+
"""
|
531
|
+
This is the date and time the schedule ends, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339) Example: `2016-08-25T21:10:29.600Z`
|
532
|
+
"""
|
533
|
+
return pulumi.get(self, "time_ends")
|
534
|
+
|
535
|
+
@property
|
536
|
+
@pulumi.getter(name="timeLastRun")
|
537
|
+
def time_last_run(self) -> str:
|
538
|
+
"""
|
539
|
+
This is the date and time the schedule runs last time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
540
|
+
"""
|
541
|
+
return pulumi.get(self, "time_last_run")
|
542
|
+
|
543
|
+
@property
|
544
|
+
@pulumi.getter(name="timeNextRun")
|
545
|
+
def time_next_run(self) -> str:
|
546
|
+
"""
|
547
|
+
This is the date and time the schedule run the next time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
548
|
+
"""
|
549
|
+
return pulumi.get(self, "time_next_run")
|
550
|
+
|
551
|
+
@property
|
552
|
+
@pulumi.getter(name="timeStarts")
|
553
|
+
def time_starts(self) -> str:
|
554
|
+
"""
|
555
|
+
This is the date and time the schedule starts, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339) Example: `2016-08-25T21:10:29.600Z`
|
556
|
+
"""
|
557
|
+
return pulumi.get(self, "time_starts")
|
558
|
+
|
559
|
+
@property
|
560
|
+
@pulumi.getter(name="timeUpdated")
|
561
|
+
def time_updated(self) -> str:
|
562
|
+
"""
|
563
|
+
This is the date and time the schedule was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
564
|
+
"""
|
565
|
+
return pulumi.get(self, "time_updated")
|
566
|
+
|
567
|
+
|
568
|
+
@pulumi.output_type
|
569
|
+
class GetSchedulesScheduleCollectionItemResourceResult(dict):
|
570
|
+
def __init__(__self__, *,
|
571
|
+
id: str,
|
572
|
+
metadata: Mapping[str, Any]):
|
573
|
+
"""
|
574
|
+
:param str id: This is the resource OCID.
|
575
|
+
:param Mapping[str, Any] metadata: This is additional information that helps to identity the resource for the schedule.
|
576
|
+
"""
|
577
|
+
pulumi.set(__self__, "id", id)
|
578
|
+
pulumi.set(__self__, "metadata", metadata)
|
579
|
+
|
580
|
+
@property
|
581
|
+
@pulumi.getter
|
582
|
+
def id(self) -> str:
|
583
|
+
"""
|
584
|
+
This is the resource OCID.
|
585
|
+
"""
|
586
|
+
return pulumi.get(self, "id")
|
587
|
+
|
588
|
+
@property
|
589
|
+
@pulumi.getter
|
590
|
+
def metadata(self) -> Mapping[str, Any]:
|
591
|
+
"""
|
592
|
+
This is additional information that helps to identity the resource for the schedule.
|
593
|
+
"""
|
594
|
+
return pulumi.get(self, "metadata")
|
595
|
+
|
596
|
+
|
597
|
+
@pulumi.output_type
|
598
|
+
class GetSchedulesScheduleCollectionItemResourceFilterResult(dict):
|
599
|
+
def __init__(__self__, *,
|
600
|
+
attribute: str,
|
601
|
+
condition: str,
|
602
|
+
should_include_child_compartments: bool,
|
603
|
+
values: Sequence['outputs.GetSchedulesScheduleCollectionItemResourceFilterValueResult']):
|
604
|
+
"""
|
605
|
+
:param str attribute: This is the resource attribute on which the threshold is defined.
|
606
|
+
:param str condition: This is the condition for the filter in comparison to its creation time.
|
607
|
+
:param bool should_include_child_compartments: This sets whether to include child compartments.
|
608
|
+
:param Sequence['GetSchedulesScheduleCollectionItemResourceFilterValueArgs'] values: This is the value of the defined tag.
|
609
|
+
"""
|
610
|
+
pulumi.set(__self__, "attribute", attribute)
|
611
|
+
pulumi.set(__self__, "condition", condition)
|
612
|
+
pulumi.set(__self__, "should_include_child_compartments", should_include_child_compartments)
|
613
|
+
pulumi.set(__self__, "values", values)
|
614
|
+
|
615
|
+
@property
|
616
|
+
@pulumi.getter
|
617
|
+
def attribute(self) -> str:
|
618
|
+
"""
|
619
|
+
This is the resource attribute on which the threshold is defined.
|
620
|
+
"""
|
621
|
+
return pulumi.get(self, "attribute")
|
622
|
+
|
623
|
+
@property
|
624
|
+
@pulumi.getter
|
625
|
+
def condition(self) -> str:
|
626
|
+
"""
|
627
|
+
This is the condition for the filter in comparison to its creation time.
|
628
|
+
"""
|
629
|
+
return pulumi.get(self, "condition")
|
630
|
+
|
631
|
+
@property
|
632
|
+
@pulumi.getter(name="shouldIncludeChildCompartments")
|
633
|
+
def should_include_child_compartments(self) -> bool:
|
634
|
+
"""
|
635
|
+
This sets whether to include child compartments.
|
636
|
+
"""
|
637
|
+
return pulumi.get(self, "should_include_child_compartments")
|
638
|
+
|
639
|
+
@property
|
640
|
+
@pulumi.getter
|
641
|
+
def values(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResourceFilterValueResult']:
|
642
|
+
"""
|
643
|
+
This is the value of the defined tag.
|
644
|
+
"""
|
645
|
+
return pulumi.get(self, "values")
|
646
|
+
|
647
|
+
|
648
|
+
@pulumi.output_type
|
649
|
+
class GetSchedulesScheduleCollectionItemResourceFilterValueResult(dict):
|
650
|
+
def __init__(__self__, *,
|
651
|
+
namespace: str,
|
652
|
+
tag_key: str,
|
653
|
+
value: str):
|
654
|
+
"""
|
655
|
+
:param str namespace: This is the namespace of the defined tag.
|
656
|
+
:param str tag_key: This is the key of the defined tag.
|
657
|
+
:param str value: This is the value of the defined tag.
|
658
|
+
"""
|
659
|
+
pulumi.set(__self__, "namespace", namespace)
|
660
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
661
|
+
pulumi.set(__self__, "value", value)
|
662
|
+
|
663
|
+
@property
|
664
|
+
@pulumi.getter
|
665
|
+
def namespace(self) -> str:
|
666
|
+
"""
|
667
|
+
This is the namespace of the defined tag.
|
668
|
+
"""
|
669
|
+
return pulumi.get(self, "namespace")
|
670
|
+
|
671
|
+
@property
|
672
|
+
@pulumi.getter(name="tagKey")
|
673
|
+
def tag_key(self) -> str:
|
674
|
+
"""
|
675
|
+
This is the key of the defined tag.
|
676
|
+
"""
|
677
|
+
return pulumi.get(self, "tag_key")
|
678
|
+
|
679
|
+
@property
|
680
|
+
@pulumi.getter
|
681
|
+
def value(self) -> str:
|
682
|
+
"""
|
683
|
+
This is the value of the defined tag.
|
684
|
+
"""
|
685
|
+
return pulumi.get(self, "value")
|
686
|
+
|
687
|
+
|