pulumi-oci 2.1.0a1719905039__py3-none-any.whl → 2.1.0a1720054142__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 +1577 -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 +427 -0
- pulumi_oci/databasemigration/get_migration_object_types.py +24 -13
- pulumi_oci/databasemigration/get_migrations.py +407 -0
- pulumi_oci/databasemigration/job.py +16 -20
- pulumi_oci/databasemigration/migration.py +1471 -0
- pulumi_oci/databasemigration/outputs.py +4301 -73
- 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/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.0a1719905039.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/METADATA +1 -1
- {pulumi_oci-2.1.0a1719905039.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/RECORD +59 -36
- {pulumi_oci-2.1.0a1719905039.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.1.0a1719905039.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/top_level.txt +0 -0
pulumi_oci/pulumi-plugin.json
CHANGED
@@ -0,0 +1,12 @@
|
|
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
|
+
from .. import _utilities
|
6
|
+
import typing
|
7
|
+
# Export this package's modules as members:
|
8
|
+
from .get_schedule import *
|
9
|
+
from .get_schedules import *
|
10
|
+
from .schedule import *
|
11
|
+
from ._inputs import *
|
12
|
+
from . import outputs
|
@@ -0,0 +1,224 @@
|
|
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
|
+
|
12
|
+
__all__ = [
|
13
|
+
'ScheduleResourceArgs',
|
14
|
+
'ScheduleResourceFilterArgs',
|
15
|
+
'ScheduleResourceFilterValueArgs',
|
16
|
+
'GetSchedulesFilterArgs',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ScheduleResourceArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
id: pulumi.Input[str],
|
23
|
+
metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
24
|
+
"""
|
25
|
+
:param pulumi.Input[str] id: (Updatable) This is the resource OCID.
|
26
|
+
:param pulumi.Input[Mapping[str, Any]] metadata: (Updatable) This is additional information that helps to identity the resource for the schedule.
|
27
|
+
|
28
|
+
{ "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }
|
29
|
+
"""
|
30
|
+
pulumi.set(__self__, "id", id)
|
31
|
+
if metadata is not None:
|
32
|
+
pulumi.set(__self__, "metadata", metadata)
|
33
|
+
|
34
|
+
@property
|
35
|
+
@pulumi.getter
|
36
|
+
def id(self) -> pulumi.Input[str]:
|
37
|
+
"""
|
38
|
+
(Updatable) This is the resource OCID.
|
39
|
+
"""
|
40
|
+
return pulumi.get(self, "id")
|
41
|
+
|
42
|
+
@id.setter
|
43
|
+
def id(self, value: pulumi.Input[str]):
|
44
|
+
pulumi.set(self, "id", value)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def metadata(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
49
|
+
"""
|
50
|
+
(Updatable) This is additional information that helps to identity the resource for the schedule.
|
51
|
+
|
52
|
+
{ "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "metadata")
|
55
|
+
|
56
|
+
@metadata.setter
|
57
|
+
def metadata(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
58
|
+
pulumi.set(self, "metadata", value)
|
59
|
+
|
60
|
+
|
61
|
+
@pulumi.input_type
|
62
|
+
class ScheduleResourceFilterArgs:
|
63
|
+
def __init__(__self__, *,
|
64
|
+
attribute: pulumi.Input[str],
|
65
|
+
condition: Optional[pulumi.Input[str]] = None,
|
66
|
+
should_include_child_compartments: Optional[pulumi.Input[bool]] = None,
|
67
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduleResourceFilterValueArgs']]]] = None):
|
68
|
+
"""
|
69
|
+
:param pulumi.Input[str] attribute: (Updatable) This is the resource attribute on which the threshold is defined.
|
70
|
+
:param pulumi.Input[str] condition: (Updatable) This is the condition for the filter in comparison to its creation time.
|
71
|
+
:param pulumi.Input[bool] should_include_child_compartments: (Updatable) This sets whether to include child compartments.
|
72
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScheduleResourceFilterValueArgs']]] values: (Updatable) This is a collection of resource lifecycle state values.
|
73
|
+
"""
|
74
|
+
pulumi.set(__self__, "attribute", attribute)
|
75
|
+
if condition is not None:
|
76
|
+
pulumi.set(__self__, "condition", condition)
|
77
|
+
if should_include_child_compartments is not None:
|
78
|
+
pulumi.set(__self__, "should_include_child_compartments", should_include_child_compartments)
|
79
|
+
if values is not None:
|
80
|
+
pulumi.set(__self__, "values", values)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def attribute(self) -> pulumi.Input[str]:
|
85
|
+
"""
|
86
|
+
(Updatable) This is the resource attribute on which the threshold is defined.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "attribute")
|
89
|
+
|
90
|
+
@attribute.setter
|
91
|
+
def attribute(self, value: pulumi.Input[str]):
|
92
|
+
pulumi.set(self, "attribute", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def condition(self) -> Optional[pulumi.Input[str]]:
|
97
|
+
"""
|
98
|
+
(Updatable) This is the condition for the filter in comparison to its creation time.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "condition")
|
101
|
+
|
102
|
+
@condition.setter
|
103
|
+
def condition(self, value: Optional[pulumi.Input[str]]):
|
104
|
+
pulumi.set(self, "condition", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="shouldIncludeChildCompartments")
|
108
|
+
def should_include_child_compartments(self) -> Optional[pulumi.Input[bool]]:
|
109
|
+
"""
|
110
|
+
(Updatable) This sets whether to include child compartments.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "should_include_child_compartments")
|
113
|
+
|
114
|
+
@should_include_child_compartments.setter
|
115
|
+
def should_include_child_compartments(self, value: Optional[pulumi.Input[bool]]):
|
116
|
+
pulumi.set(self, "should_include_child_compartments", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter
|
120
|
+
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScheduleResourceFilterValueArgs']]]]:
|
121
|
+
"""
|
122
|
+
(Updatable) This is a collection of resource lifecycle state values.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "values")
|
125
|
+
|
126
|
+
@values.setter
|
127
|
+
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduleResourceFilterValueArgs']]]]):
|
128
|
+
pulumi.set(self, "values", value)
|
129
|
+
|
130
|
+
|
131
|
+
@pulumi.input_type
|
132
|
+
class ScheduleResourceFilterValueArgs:
|
133
|
+
def __init__(__self__, *,
|
134
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
135
|
+
tag_key: Optional[pulumi.Input[str]] = None,
|
136
|
+
value: Optional[pulumi.Input[str]] = None):
|
137
|
+
"""
|
138
|
+
:param pulumi.Input[str] namespace: (Updatable) This is the namespace of the defined tag.
|
139
|
+
:param pulumi.Input[str] tag_key: (Updatable) This is the key of the defined tag.
|
140
|
+
:param pulumi.Input[str] value: (Updatable) This is the value of the defined tag.
|
141
|
+
"""
|
142
|
+
if namespace is not None:
|
143
|
+
pulumi.set(__self__, "namespace", namespace)
|
144
|
+
if tag_key is not None:
|
145
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
146
|
+
if value is not None:
|
147
|
+
pulumi.set(__self__, "value", value)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def namespace(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
"""
|
153
|
+
(Updatable) This is the namespace of the defined tag.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "namespace")
|
156
|
+
|
157
|
+
@namespace.setter
|
158
|
+
def namespace(self, value: Optional[pulumi.Input[str]]):
|
159
|
+
pulumi.set(self, "namespace", value)
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="tagKey")
|
163
|
+
def tag_key(self) -> Optional[pulumi.Input[str]]:
|
164
|
+
"""
|
165
|
+
(Updatable) This is the key of the defined tag.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "tag_key")
|
168
|
+
|
169
|
+
@tag_key.setter
|
170
|
+
def tag_key(self, value: Optional[pulumi.Input[str]]):
|
171
|
+
pulumi.set(self, "tag_key", value)
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter
|
175
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
176
|
+
"""
|
177
|
+
(Updatable) This is the value of the defined tag.
|
178
|
+
"""
|
179
|
+
return pulumi.get(self, "value")
|
180
|
+
|
181
|
+
@value.setter
|
182
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
183
|
+
pulumi.set(self, "value", value)
|
184
|
+
|
185
|
+
|
186
|
+
@pulumi.input_type
|
187
|
+
class GetSchedulesFilterArgs:
|
188
|
+
def __init__(__self__, *,
|
189
|
+
name: str,
|
190
|
+
values: Sequence[str],
|
191
|
+
regex: Optional[bool] = None):
|
192
|
+
pulumi.set(__self__, "name", name)
|
193
|
+
pulumi.set(__self__, "values", values)
|
194
|
+
if regex is not None:
|
195
|
+
pulumi.set(__self__, "regex", regex)
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter
|
199
|
+
def name(self) -> str:
|
200
|
+
return pulumi.get(self, "name")
|
201
|
+
|
202
|
+
@name.setter
|
203
|
+
def name(self, value: str):
|
204
|
+
pulumi.set(self, "name", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def values(self) -> Sequence[str]:
|
209
|
+
return pulumi.get(self, "values")
|
210
|
+
|
211
|
+
@values.setter
|
212
|
+
def values(self, value: Sequence[str]):
|
213
|
+
pulumi.set(self, "values", value)
|
214
|
+
|
215
|
+
@property
|
216
|
+
@pulumi.getter
|
217
|
+
def regex(self) -> Optional[bool]:
|
218
|
+
return pulumi.get(self, "regex")
|
219
|
+
|
220
|
+
@regex.setter
|
221
|
+
def regex(self, value: Optional[bool]):
|
222
|
+
pulumi.set(self, "regex", value)
|
223
|
+
|
224
|
+
|
@@ -0,0 +1,340 @@
|
|
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
|
+
'GetScheduleResult',
|
15
|
+
'AwaitableGetScheduleResult',
|
16
|
+
'get_schedule',
|
17
|
+
'get_schedule_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetScheduleResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getSchedule.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, action=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, recurrence_details=None, recurrence_type=None, resource_filters=None, resources=None, schedule_id=None, state=None, system_tags=None, time_created=None, time_ends=None, time_last_run=None, time_next_run=None, time_starts=None, time_updated=None):
|
26
|
+
if action and not isinstance(action, str):
|
27
|
+
raise TypeError("Expected argument 'action' to be a str")
|
28
|
+
pulumi.set(__self__, "action", action)
|
29
|
+
if compartment_id and not isinstance(compartment_id, str):
|
30
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
31
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
32
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
33
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
34
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
35
|
+
if description and not isinstance(description, str):
|
36
|
+
raise TypeError("Expected argument 'description' to be a str")
|
37
|
+
pulumi.set(__self__, "description", description)
|
38
|
+
if display_name and not isinstance(display_name, str):
|
39
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
41
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
42
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
43
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if recurrence_details and not isinstance(recurrence_details, str):
|
48
|
+
raise TypeError("Expected argument 'recurrence_details' to be a str")
|
49
|
+
pulumi.set(__self__, "recurrence_details", recurrence_details)
|
50
|
+
if recurrence_type and not isinstance(recurrence_type, str):
|
51
|
+
raise TypeError("Expected argument 'recurrence_type' to be a str")
|
52
|
+
pulumi.set(__self__, "recurrence_type", recurrence_type)
|
53
|
+
if resource_filters and not isinstance(resource_filters, list):
|
54
|
+
raise TypeError("Expected argument 'resource_filters' to be a list")
|
55
|
+
pulumi.set(__self__, "resource_filters", resource_filters)
|
56
|
+
if resources and not isinstance(resources, list):
|
57
|
+
raise TypeError("Expected argument 'resources' to be a list")
|
58
|
+
pulumi.set(__self__, "resources", resources)
|
59
|
+
if schedule_id and not isinstance(schedule_id, str):
|
60
|
+
raise TypeError("Expected argument 'schedule_id' to be a str")
|
61
|
+
pulumi.set(__self__, "schedule_id", schedule_id)
|
62
|
+
if state and not isinstance(state, str):
|
63
|
+
raise TypeError("Expected argument 'state' to be a str")
|
64
|
+
pulumi.set(__self__, "state", state)
|
65
|
+
if system_tags and not isinstance(system_tags, dict):
|
66
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
67
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
68
|
+
if time_created and not isinstance(time_created, str):
|
69
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
70
|
+
pulumi.set(__self__, "time_created", time_created)
|
71
|
+
if time_ends and not isinstance(time_ends, str):
|
72
|
+
raise TypeError("Expected argument 'time_ends' to be a str")
|
73
|
+
pulumi.set(__self__, "time_ends", time_ends)
|
74
|
+
if time_last_run and not isinstance(time_last_run, str):
|
75
|
+
raise TypeError("Expected argument 'time_last_run' to be a str")
|
76
|
+
pulumi.set(__self__, "time_last_run", time_last_run)
|
77
|
+
if time_next_run and not isinstance(time_next_run, str):
|
78
|
+
raise TypeError("Expected argument 'time_next_run' to be a str")
|
79
|
+
pulumi.set(__self__, "time_next_run", time_next_run)
|
80
|
+
if time_starts and not isinstance(time_starts, str):
|
81
|
+
raise TypeError("Expected argument 'time_starts' to be a str")
|
82
|
+
pulumi.set(__self__, "time_starts", time_starts)
|
83
|
+
if time_updated and not isinstance(time_updated, str):
|
84
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
85
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def action(self) -> str:
|
90
|
+
"""
|
91
|
+
This is the action that will be executed by the schedule.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "action")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="compartmentId")
|
97
|
+
def compartment_id(self) -> str:
|
98
|
+
"""
|
99
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the schedule is created
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "compartment_id")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="definedTags")
|
105
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
106
|
+
"""
|
107
|
+
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"}`
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "defined_tags")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def description(self) -> str:
|
114
|
+
"""
|
115
|
+
This is the description of the schedule.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "description")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="displayName")
|
121
|
+
def display_name(self) -> str:
|
122
|
+
"""
|
123
|
+
This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "display_name")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="freeformTags")
|
129
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
130
|
+
"""
|
131
|
+
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"}`
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "freeform_tags")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def id(self) -> str:
|
138
|
+
"""
|
139
|
+
This is the resource OCID.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "id")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="recurrenceDetails")
|
145
|
+
def recurrence_details(self) -> str:
|
146
|
+
"""
|
147
|
+
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.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "recurrence_details")
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter(name="recurrenceType")
|
153
|
+
def recurrence_type(self) -> str:
|
154
|
+
"""
|
155
|
+
Type of recurrence of a schedule
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "recurrence_type")
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="resourceFilters")
|
161
|
+
def resource_filters(self) -> Sequence['outputs.GetScheduleResourceFilterResult']:
|
162
|
+
"""
|
163
|
+
This is a list of resources filters. The schedule will be applied to resources matching all of them.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "resource_filters")
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter
|
169
|
+
def resources(self) -> Sequence['outputs.GetScheduleResourceResult']:
|
170
|
+
"""
|
171
|
+
This is the list of resources to which the scheduled operation is applied.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "resources")
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="scheduleId")
|
177
|
+
def schedule_id(self) -> str:
|
178
|
+
return pulumi.get(self, "schedule_id")
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def state(self) -> str:
|
183
|
+
"""
|
184
|
+
This is the current state of a schedule.
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "state")
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter(name="systemTags")
|
190
|
+
def system_tags(self) -> Mapping[str, Any]:
|
191
|
+
"""
|
192
|
+
These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "system_tags")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="timeCreated")
|
198
|
+
def time_created(self) -> str:
|
199
|
+
"""
|
200
|
+
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`
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "time_created")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="timeEnds")
|
206
|
+
def time_ends(self) -> str:
|
207
|
+
"""
|
208
|
+
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`
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "time_ends")
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter(name="timeLastRun")
|
214
|
+
def time_last_run(self) -> str:
|
215
|
+
"""
|
216
|
+
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`
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "time_last_run")
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="timeNextRun")
|
222
|
+
def time_next_run(self) -> str:
|
223
|
+
"""
|
224
|
+
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`
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "time_next_run")
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter(name="timeStarts")
|
230
|
+
def time_starts(self) -> str:
|
231
|
+
"""
|
232
|
+
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`
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "time_starts")
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter(name="timeUpdated")
|
238
|
+
def time_updated(self) -> str:
|
239
|
+
"""
|
240
|
+
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`
|
241
|
+
"""
|
242
|
+
return pulumi.get(self, "time_updated")
|
243
|
+
|
244
|
+
|
245
|
+
class AwaitableGetScheduleResult(GetScheduleResult):
|
246
|
+
# pylint: disable=using-constant-test
|
247
|
+
def __await__(self):
|
248
|
+
if False:
|
249
|
+
yield self
|
250
|
+
return GetScheduleResult(
|
251
|
+
action=self.action,
|
252
|
+
compartment_id=self.compartment_id,
|
253
|
+
defined_tags=self.defined_tags,
|
254
|
+
description=self.description,
|
255
|
+
display_name=self.display_name,
|
256
|
+
freeform_tags=self.freeform_tags,
|
257
|
+
id=self.id,
|
258
|
+
recurrence_details=self.recurrence_details,
|
259
|
+
recurrence_type=self.recurrence_type,
|
260
|
+
resource_filters=self.resource_filters,
|
261
|
+
resources=self.resources,
|
262
|
+
schedule_id=self.schedule_id,
|
263
|
+
state=self.state,
|
264
|
+
system_tags=self.system_tags,
|
265
|
+
time_created=self.time_created,
|
266
|
+
time_ends=self.time_ends,
|
267
|
+
time_last_run=self.time_last_run,
|
268
|
+
time_next_run=self.time_next_run,
|
269
|
+
time_starts=self.time_starts,
|
270
|
+
time_updated=self.time_updated)
|
271
|
+
|
272
|
+
|
273
|
+
def get_schedule(schedule_id: Optional[str] = None,
|
274
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduleResult:
|
275
|
+
"""
|
276
|
+
This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Resource Scheduler service.
|
277
|
+
|
278
|
+
This API gets information about a schedule.
|
279
|
+
|
280
|
+
## Example Usage
|
281
|
+
|
282
|
+
```python
|
283
|
+
import pulumi
|
284
|
+
import pulumi_oci as oci
|
285
|
+
|
286
|
+
test_schedule = oci.ResourceScheduler.get_schedule(schedule_id=test_schedule_oci_resource_scheduler_schedule["id"])
|
287
|
+
```
|
288
|
+
|
289
|
+
|
290
|
+
:param str schedule_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule.
|
291
|
+
"""
|
292
|
+
__args__ = dict()
|
293
|
+
__args__['scheduleId'] = schedule_id
|
294
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
295
|
+
__ret__ = pulumi.runtime.invoke('oci:ResourceScheduler/getSchedule:getSchedule', __args__, opts=opts, typ=GetScheduleResult).value
|
296
|
+
|
297
|
+
return AwaitableGetScheduleResult(
|
298
|
+
action=pulumi.get(__ret__, 'action'),
|
299
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
300
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
301
|
+
description=pulumi.get(__ret__, 'description'),
|
302
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
303
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
304
|
+
id=pulumi.get(__ret__, 'id'),
|
305
|
+
recurrence_details=pulumi.get(__ret__, 'recurrence_details'),
|
306
|
+
recurrence_type=pulumi.get(__ret__, 'recurrence_type'),
|
307
|
+
resource_filters=pulumi.get(__ret__, 'resource_filters'),
|
308
|
+
resources=pulumi.get(__ret__, 'resources'),
|
309
|
+
schedule_id=pulumi.get(__ret__, 'schedule_id'),
|
310
|
+
state=pulumi.get(__ret__, 'state'),
|
311
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
312
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
313
|
+
time_ends=pulumi.get(__ret__, 'time_ends'),
|
314
|
+
time_last_run=pulumi.get(__ret__, 'time_last_run'),
|
315
|
+
time_next_run=pulumi.get(__ret__, 'time_next_run'),
|
316
|
+
time_starts=pulumi.get(__ret__, 'time_starts'),
|
317
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
318
|
+
|
319
|
+
|
320
|
+
@_utilities.lift_output_func(get_schedule)
|
321
|
+
def get_schedule_output(schedule_id: Optional[pulumi.Input[str]] = None,
|
322
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduleResult]:
|
323
|
+
"""
|
324
|
+
This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Resource Scheduler service.
|
325
|
+
|
326
|
+
This API gets information about a schedule.
|
327
|
+
|
328
|
+
## Example Usage
|
329
|
+
|
330
|
+
```python
|
331
|
+
import pulumi
|
332
|
+
import pulumi_oci as oci
|
333
|
+
|
334
|
+
test_schedule = oci.ResourceScheduler.get_schedule(schedule_id=test_schedule_oci_resource_scheduler_schedule["id"])
|
335
|
+
```
|
336
|
+
|
337
|
+
|
338
|
+
:param str schedule_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule.
|
339
|
+
"""
|
340
|
+
...
|