pulumi-oci 3.1.0a1751948424__py3-none-any.whl → 3.2.0a1752121229__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 +40 -0
- pulumi_oci/bigdataservice/__init__.py +10 -0
- pulumi_oci/bigdataservice/_inputs.py +378 -0
- pulumi_oci/bigdataservice/bds_instance_node_backup.py +481 -0
- pulumi_oci/bigdataservice/bds_instance_node_backup_configuration.py +611 -0
- pulumi_oci/bigdataservice/bds_instance_node_replace_configuration.py +538 -0
- pulumi_oci/bigdataservice/bds_instance_replace_node_action.py +406 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup.py +245 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup_configuration.py +263 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup_configurations.py +192 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backups.py +211 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_replace_configuration.py +246 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_replace_configurations.py +192 -0
- pulumi_oci/bigdataservice/outputs.py +798 -0
- pulumi_oci/generativeai/__init__.py +3 -0
- pulumi_oci/generativeai/_inputs.py +1479 -132
- pulumi_oci/generativeai/agent_agent.py +66 -11
- pulumi_oci/generativeai/agent_agent_endpoint.py +296 -25
- pulumi_oci/generativeai/agent_data_source.py +70 -21
- pulumi_oci/generativeai/agent_tool.py +619 -0
- pulumi_oci/generativeai/get_agent_agent.py +17 -2
- pulumi_oci/generativeai/get_agent_agent_endpoint.py +72 -6
- pulumi_oci/generativeai/get_agent_agent_endpoints.py +0 -4
- pulumi_oci/generativeai/get_agent_data_source.py +15 -1
- pulumi_oci/generativeai/get_agent_tool.py +283 -0
- pulumi_oci/generativeai/get_agent_tools.py +214 -0
- pulumi_oci/generativeai/outputs.py +4001 -1259
- pulumi_oci/kms/vault_verification.py +62 -2
- pulumi_oci/ospgateway/_inputs.py +20 -0
- pulumi_oci/ospgateway/get_subscription.py +15 -1
- pulumi_oci/ospgateway/outputs.py +47 -0
- pulumi_oci/ospgateway/subscription.py +28 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/METADATA +1 -1
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/RECORD +37 -24
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,263 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetBdsInstanceNodeBackupConfigurationResult',
|
21
|
+
'AwaitableGetBdsInstanceNodeBackupConfigurationResult',
|
22
|
+
'get_bds_instance_node_backup_configuration',
|
23
|
+
'get_bds_instance_node_backup_configuration_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetBdsInstanceNodeBackupConfigurationResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getBdsInstanceNodeBackupConfiguration.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, backup_type=None, bds_instance_id=None, display_name=None, id=None, level_type_details=None, node_backup_configuration_id=None, number_of_backups_to_retain=None, schedule=None, state=None, time_created=None, time_updated=None, timezone=None):
|
32
|
+
if backup_type and not isinstance(backup_type, str):
|
33
|
+
raise TypeError("Expected argument 'backup_type' to be a str")
|
34
|
+
pulumi.set(__self__, "backup_type", backup_type)
|
35
|
+
if bds_instance_id and not isinstance(bds_instance_id, str):
|
36
|
+
raise TypeError("Expected argument 'bds_instance_id' to be a str")
|
37
|
+
pulumi.set(__self__, "bds_instance_id", bds_instance_id)
|
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 id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if level_type_details and not isinstance(level_type_details, list):
|
45
|
+
raise TypeError("Expected argument 'level_type_details' to be a list")
|
46
|
+
pulumi.set(__self__, "level_type_details", level_type_details)
|
47
|
+
if node_backup_configuration_id and not isinstance(node_backup_configuration_id, str):
|
48
|
+
raise TypeError("Expected argument 'node_backup_configuration_id' to be a str")
|
49
|
+
pulumi.set(__self__, "node_backup_configuration_id", node_backup_configuration_id)
|
50
|
+
if number_of_backups_to_retain and not isinstance(number_of_backups_to_retain, int):
|
51
|
+
raise TypeError("Expected argument 'number_of_backups_to_retain' to be a int")
|
52
|
+
pulumi.set(__self__, "number_of_backups_to_retain", number_of_backups_to_retain)
|
53
|
+
if schedule and not isinstance(schedule, str):
|
54
|
+
raise TypeError("Expected argument 'schedule' to be a str")
|
55
|
+
pulumi.set(__self__, "schedule", schedule)
|
56
|
+
if state and not isinstance(state, str):
|
57
|
+
raise TypeError("Expected argument 'state' to be a str")
|
58
|
+
pulumi.set(__self__, "state", state)
|
59
|
+
if time_created and not isinstance(time_created, str):
|
60
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
61
|
+
pulumi.set(__self__, "time_created", time_created)
|
62
|
+
if time_updated and not isinstance(time_updated, str):
|
63
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
64
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
65
|
+
if timezone and not isinstance(timezone, str):
|
66
|
+
raise TypeError("Expected argument 'timezone' to be a str")
|
67
|
+
pulumi.set(__self__, "timezone", timezone)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="backupType")
|
71
|
+
def backup_type(self) -> builtins.str:
|
72
|
+
"""
|
73
|
+
Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "backup_type")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="bdsInstanceId")
|
79
|
+
def bds_instance_id(self) -> builtins.str:
|
80
|
+
"""
|
81
|
+
The OCID of the bdsInstance which is the parent resource id.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "bds_instance_id")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="displayName")
|
87
|
+
def display_name(self) -> builtins.str:
|
88
|
+
"""
|
89
|
+
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "display_name")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def id(self) -> builtins.str:
|
96
|
+
"""
|
97
|
+
The unique identifier for the NodeBackupConfiguration.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "id")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="levelTypeDetails")
|
103
|
+
def level_type_details(self) -> Sequence['outputs.GetBdsInstanceNodeBackupConfigurationLevelTypeDetailResult']:
|
104
|
+
"""
|
105
|
+
Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "level_type_details")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter(name="nodeBackupConfigurationId")
|
111
|
+
def node_backup_configuration_id(self) -> builtins.str:
|
112
|
+
return pulumi.get(self, "node_backup_configuration_id")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter(name="numberOfBackupsToRetain")
|
116
|
+
def number_of_backups_to_retain(self) -> builtins.int:
|
117
|
+
"""
|
118
|
+
Number of backup copies to retain.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "number_of_backups_to_retain")
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def schedule(self) -> builtins.str:
|
125
|
+
"""
|
126
|
+
Day/time recurrence (specified following RFC 5545) at which to trigger the backup process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "schedule")
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter
|
132
|
+
def state(self) -> builtins.str:
|
133
|
+
"""
|
134
|
+
The state of the NodeBackupConfiguration.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "state")
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter(name="timeCreated")
|
140
|
+
def time_created(self) -> builtins.str:
|
141
|
+
"""
|
142
|
+
The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime string.
|
143
|
+
"""
|
144
|
+
return pulumi.get(self, "time_created")
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="timeUpdated")
|
148
|
+
def time_updated(self) -> builtins.str:
|
149
|
+
"""
|
150
|
+
The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime string.
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "time_updated")
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter
|
156
|
+
def timezone(self) -> builtins.str:
|
157
|
+
"""
|
158
|
+
The time zone of the execution schedule, in IANA time zone database name format
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "timezone")
|
161
|
+
|
162
|
+
|
163
|
+
class AwaitableGetBdsInstanceNodeBackupConfigurationResult(GetBdsInstanceNodeBackupConfigurationResult):
|
164
|
+
# pylint: disable=using-constant-test
|
165
|
+
def __await__(self):
|
166
|
+
if False:
|
167
|
+
yield self
|
168
|
+
return GetBdsInstanceNodeBackupConfigurationResult(
|
169
|
+
backup_type=self.backup_type,
|
170
|
+
bds_instance_id=self.bds_instance_id,
|
171
|
+
display_name=self.display_name,
|
172
|
+
id=self.id,
|
173
|
+
level_type_details=self.level_type_details,
|
174
|
+
node_backup_configuration_id=self.node_backup_configuration_id,
|
175
|
+
number_of_backups_to_retain=self.number_of_backups_to_retain,
|
176
|
+
schedule=self.schedule,
|
177
|
+
state=self.state,
|
178
|
+
time_created=self.time_created,
|
179
|
+
time_updated=self.time_updated,
|
180
|
+
timezone=self.timezone)
|
181
|
+
|
182
|
+
|
183
|
+
def get_bds_instance_node_backup_configuration(bds_instance_id: Optional[builtins.str] = None,
|
184
|
+
node_backup_configuration_id: Optional[builtins.str] = None,
|
185
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBdsInstanceNodeBackupConfigurationResult:
|
186
|
+
"""
|
187
|
+
This data source provides details about a specific Bds Instance Node Backup Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
|
188
|
+
|
189
|
+
Returns details of the NodeBackupConfiguration identified by the given ID.
|
190
|
+
|
191
|
+
## Example Usage
|
192
|
+
|
193
|
+
```python
|
194
|
+
import pulumi
|
195
|
+
import pulumi_oci as oci
|
196
|
+
|
197
|
+
test_bds_instance_node_backup_configuration = oci.BigDataService.get_bds_instance_node_backup_configuration(bds_instance_id=test_bds_instance["id"],
|
198
|
+
node_backup_configuration_id=test_configuration["id"])
|
199
|
+
```
|
200
|
+
|
201
|
+
|
202
|
+
:param builtins.str bds_instance_id: The OCID of the cluster.
|
203
|
+
:param builtins.str node_backup_configuration_id: Unique Oracle-assigned identifier of the NodeBackupConfiguration.
|
204
|
+
"""
|
205
|
+
__args__ = dict()
|
206
|
+
__args__['bdsInstanceId'] = bds_instance_id
|
207
|
+
__args__['nodeBackupConfigurationId'] = node_backup_configuration_id
|
208
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
209
|
+
__ret__ = pulumi.runtime.invoke('oci:BigDataService/getBdsInstanceNodeBackupConfiguration:getBdsInstanceNodeBackupConfiguration', __args__, opts=opts, typ=GetBdsInstanceNodeBackupConfigurationResult).value
|
210
|
+
|
211
|
+
return AwaitableGetBdsInstanceNodeBackupConfigurationResult(
|
212
|
+
backup_type=pulumi.get(__ret__, 'backup_type'),
|
213
|
+
bds_instance_id=pulumi.get(__ret__, 'bds_instance_id'),
|
214
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
215
|
+
id=pulumi.get(__ret__, 'id'),
|
216
|
+
level_type_details=pulumi.get(__ret__, 'level_type_details'),
|
217
|
+
node_backup_configuration_id=pulumi.get(__ret__, 'node_backup_configuration_id'),
|
218
|
+
number_of_backups_to_retain=pulumi.get(__ret__, 'number_of_backups_to_retain'),
|
219
|
+
schedule=pulumi.get(__ret__, 'schedule'),
|
220
|
+
state=pulumi.get(__ret__, 'state'),
|
221
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
222
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
223
|
+
timezone=pulumi.get(__ret__, 'timezone'))
|
224
|
+
def get_bds_instance_node_backup_configuration_output(bds_instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
225
|
+
node_backup_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
|
226
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBdsInstanceNodeBackupConfigurationResult]:
|
227
|
+
"""
|
228
|
+
This data source provides details about a specific Bds Instance Node Backup Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
|
229
|
+
|
230
|
+
Returns details of the NodeBackupConfiguration identified by the given ID.
|
231
|
+
|
232
|
+
## Example Usage
|
233
|
+
|
234
|
+
```python
|
235
|
+
import pulumi
|
236
|
+
import pulumi_oci as oci
|
237
|
+
|
238
|
+
test_bds_instance_node_backup_configuration = oci.BigDataService.get_bds_instance_node_backup_configuration(bds_instance_id=test_bds_instance["id"],
|
239
|
+
node_backup_configuration_id=test_configuration["id"])
|
240
|
+
```
|
241
|
+
|
242
|
+
|
243
|
+
:param builtins.str bds_instance_id: The OCID of the cluster.
|
244
|
+
:param builtins.str node_backup_configuration_id: Unique Oracle-assigned identifier of the NodeBackupConfiguration.
|
245
|
+
"""
|
246
|
+
__args__ = dict()
|
247
|
+
__args__['bdsInstanceId'] = bds_instance_id
|
248
|
+
__args__['nodeBackupConfigurationId'] = node_backup_configuration_id
|
249
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
250
|
+
__ret__ = pulumi.runtime.invoke_output('oci:BigDataService/getBdsInstanceNodeBackupConfiguration:getBdsInstanceNodeBackupConfiguration', __args__, opts=opts, typ=GetBdsInstanceNodeBackupConfigurationResult)
|
251
|
+
return __ret__.apply(lambda __response__: GetBdsInstanceNodeBackupConfigurationResult(
|
252
|
+
backup_type=pulumi.get(__response__, 'backup_type'),
|
253
|
+
bds_instance_id=pulumi.get(__response__, 'bds_instance_id'),
|
254
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
255
|
+
id=pulumi.get(__response__, 'id'),
|
256
|
+
level_type_details=pulumi.get(__response__, 'level_type_details'),
|
257
|
+
node_backup_configuration_id=pulumi.get(__response__, 'node_backup_configuration_id'),
|
258
|
+
number_of_backups_to_retain=pulumi.get(__response__, 'number_of_backups_to_retain'),
|
259
|
+
schedule=pulumi.get(__response__, 'schedule'),
|
260
|
+
state=pulumi.get(__response__, 'state'),
|
261
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
262
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
263
|
+
timezone=pulumi.get(__response__, 'timezone')))
|
@@ -0,0 +1,192 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'GetBdsInstanceNodeBackupConfigurationsResult',
|
22
|
+
'AwaitableGetBdsInstanceNodeBackupConfigurationsResult',
|
23
|
+
'get_bds_instance_node_backup_configurations',
|
24
|
+
'get_bds_instance_node_backup_configurations_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetBdsInstanceNodeBackupConfigurationsResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getBdsInstanceNodeBackupConfigurations.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, bds_instance_id=None, display_name=None, filters=None, id=None, node_backup_configurations=None, state=None):
|
33
|
+
if bds_instance_id and not isinstance(bds_instance_id, str):
|
34
|
+
raise TypeError("Expected argument 'bds_instance_id' to be a str")
|
35
|
+
pulumi.set(__self__, "bds_instance_id", bds_instance_id)
|
36
|
+
if display_name and not isinstance(display_name, str):
|
37
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name", display_name)
|
39
|
+
if filters and not isinstance(filters, list):
|
40
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
+
pulumi.set(__self__, "filters", filters)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if node_backup_configurations and not isinstance(node_backup_configurations, list):
|
46
|
+
raise TypeError("Expected argument 'node_backup_configurations' to be a list")
|
47
|
+
pulumi.set(__self__, "node_backup_configurations", node_backup_configurations)
|
48
|
+
if state and not isinstance(state, str):
|
49
|
+
raise TypeError("Expected argument 'state' to be a str")
|
50
|
+
pulumi.set(__self__, "state", state)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="bdsInstanceId")
|
54
|
+
def bds_instance_id(self) -> builtins.str:
|
55
|
+
"""
|
56
|
+
The OCID of the bdsInstance which is the parent resource id.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "bds_instance_id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="displayName")
|
62
|
+
def display_name(self) -> Optional[builtins.str]:
|
63
|
+
"""
|
64
|
+
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "display_name")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def filters(self) -> Optional[Sequence['outputs.GetBdsInstanceNodeBackupConfigurationsFilterResult']]:
|
71
|
+
return pulumi.get(self, "filters")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def id(self) -> builtins.str:
|
76
|
+
"""
|
77
|
+
The provider-assigned unique ID for this managed resource.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="nodeBackupConfigurations")
|
83
|
+
def node_backup_configurations(self) -> Sequence['outputs.GetBdsInstanceNodeBackupConfigurationsNodeBackupConfigurationResult']:
|
84
|
+
"""
|
85
|
+
The list of node_backup_configurations.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "node_backup_configurations")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def state(self) -> Optional[builtins.str]:
|
92
|
+
"""
|
93
|
+
The state of the NodeBackupConfiguration.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "state")
|
96
|
+
|
97
|
+
|
98
|
+
class AwaitableGetBdsInstanceNodeBackupConfigurationsResult(GetBdsInstanceNodeBackupConfigurationsResult):
|
99
|
+
# pylint: disable=using-constant-test
|
100
|
+
def __await__(self):
|
101
|
+
if False:
|
102
|
+
yield self
|
103
|
+
return GetBdsInstanceNodeBackupConfigurationsResult(
|
104
|
+
bds_instance_id=self.bds_instance_id,
|
105
|
+
display_name=self.display_name,
|
106
|
+
filters=self.filters,
|
107
|
+
id=self.id,
|
108
|
+
node_backup_configurations=self.node_backup_configurations,
|
109
|
+
state=self.state)
|
110
|
+
|
111
|
+
|
112
|
+
def get_bds_instance_node_backup_configurations(bds_instance_id: Optional[builtins.str] = None,
|
113
|
+
display_name: Optional[builtins.str] = None,
|
114
|
+
filters: Optional[Sequence[Union['GetBdsInstanceNodeBackupConfigurationsFilterArgs', 'GetBdsInstanceNodeBackupConfigurationsFilterArgsDict']]] = None,
|
115
|
+
state: Optional[builtins.str] = None,
|
116
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBdsInstanceNodeBackupConfigurationsResult:
|
117
|
+
"""
|
118
|
+
This data source provides the list of Bds Instance Node Backup Configurations in Oracle Cloud Infrastructure Big Data Service service.
|
119
|
+
|
120
|
+
Returns information about the NodeBackupConfigurations.
|
121
|
+
|
122
|
+
## Example Usage
|
123
|
+
|
124
|
+
```python
|
125
|
+
import pulumi
|
126
|
+
import pulumi_oci as oci
|
127
|
+
|
128
|
+
test_bds_instance_node_backup_configurations = oci.BigDataService.get_bds_instance_node_backup_configurations(bds_instance_id=test_bds_instance["id"],
|
129
|
+
display_name=bds_instance_node_backup_configuration_display_name,
|
130
|
+
state=bds_instance_node_backup_configuration_state)
|
131
|
+
```
|
132
|
+
|
133
|
+
|
134
|
+
:param builtins.str bds_instance_id: The OCID of the cluster.
|
135
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
136
|
+
:param builtins.str state: The state of the NodeBackupConfiguration configuration.
|
137
|
+
"""
|
138
|
+
__args__ = dict()
|
139
|
+
__args__['bdsInstanceId'] = bds_instance_id
|
140
|
+
__args__['displayName'] = display_name
|
141
|
+
__args__['filters'] = filters
|
142
|
+
__args__['state'] = state
|
143
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
144
|
+
__ret__ = pulumi.runtime.invoke('oci:BigDataService/getBdsInstanceNodeBackupConfigurations:getBdsInstanceNodeBackupConfigurations', __args__, opts=opts, typ=GetBdsInstanceNodeBackupConfigurationsResult).value
|
145
|
+
|
146
|
+
return AwaitableGetBdsInstanceNodeBackupConfigurationsResult(
|
147
|
+
bds_instance_id=pulumi.get(__ret__, 'bds_instance_id'),
|
148
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
149
|
+
filters=pulumi.get(__ret__, 'filters'),
|
150
|
+
id=pulumi.get(__ret__, 'id'),
|
151
|
+
node_backup_configurations=pulumi.get(__ret__, 'node_backup_configurations'),
|
152
|
+
state=pulumi.get(__ret__, 'state'))
|
153
|
+
def get_bds_instance_node_backup_configurations_output(bds_instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
154
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
155
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetBdsInstanceNodeBackupConfigurationsFilterArgs', 'GetBdsInstanceNodeBackupConfigurationsFilterArgsDict']]]]] = None,
|
156
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
157
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBdsInstanceNodeBackupConfigurationsResult]:
|
158
|
+
"""
|
159
|
+
This data source provides the list of Bds Instance Node Backup Configurations in Oracle Cloud Infrastructure Big Data Service service.
|
160
|
+
|
161
|
+
Returns information about the NodeBackupConfigurations.
|
162
|
+
|
163
|
+
## Example Usage
|
164
|
+
|
165
|
+
```python
|
166
|
+
import pulumi
|
167
|
+
import pulumi_oci as oci
|
168
|
+
|
169
|
+
test_bds_instance_node_backup_configurations = oci.BigDataService.get_bds_instance_node_backup_configurations(bds_instance_id=test_bds_instance["id"],
|
170
|
+
display_name=bds_instance_node_backup_configuration_display_name,
|
171
|
+
state=bds_instance_node_backup_configuration_state)
|
172
|
+
```
|
173
|
+
|
174
|
+
|
175
|
+
:param builtins.str bds_instance_id: The OCID of the cluster.
|
176
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
177
|
+
:param builtins.str state: The state of the NodeBackupConfiguration configuration.
|
178
|
+
"""
|
179
|
+
__args__ = dict()
|
180
|
+
__args__['bdsInstanceId'] = bds_instance_id
|
181
|
+
__args__['displayName'] = display_name
|
182
|
+
__args__['filters'] = filters
|
183
|
+
__args__['state'] = state
|
184
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
185
|
+
__ret__ = pulumi.runtime.invoke_output('oci:BigDataService/getBdsInstanceNodeBackupConfigurations:getBdsInstanceNodeBackupConfigurations', __args__, opts=opts, typ=GetBdsInstanceNodeBackupConfigurationsResult)
|
186
|
+
return __ret__.apply(lambda __response__: GetBdsInstanceNodeBackupConfigurationsResult(
|
187
|
+
bds_instance_id=pulumi.get(__response__, 'bds_instance_id'),
|
188
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
189
|
+
filters=pulumi.get(__response__, 'filters'),
|
190
|
+
id=pulumi.get(__response__, 'id'),
|
191
|
+
node_backup_configurations=pulumi.get(__response__, 'node_backup_configurations'),
|
192
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,211 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'GetBdsInstanceNodeBackupsResult',
|
22
|
+
'AwaitableGetBdsInstanceNodeBackupsResult',
|
23
|
+
'get_bds_instance_node_backups',
|
24
|
+
'get_bds_instance_node_backups_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetBdsInstanceNodeBackupsResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getBdsInstanceNodeBackups.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, bds_instance_id=None, display_name=None, filters=None, id=None, node_backups=None, node_host_name=None, state=None):
|
33
|
+
if bds_instance_id and not isinstance(bds_instance_id, str):
|
34
|
+
raise TypeError("Expected argument 'bds_instance_id' to be a str")
|
35
|
+
pulumi.set(__self__, "bds_instance_id", bds_instance_id)
|
36
|
+
if display_name and not isinstance(display_name, str):
|
37
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name", display_name)
|
39
|
+
if filters and not isinstance(filters, list):
|
40
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
+
pulumi.set(__self__, "filters", filters)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if node_backups and not isinstance(node_backups, list):
|
46
|
+
raise TypeError("Expected argument 'node_backups' to be a list")
|
47
|
+
pulumi.set(__self__, "node_backups", node_backups)
|
48
|
+
if node_host_name and not isinstance(node_host_name, str):
|
49
|
+
raise TypeError("Expected argument 'node_host_name' to be a str")
|
50
|
+
pulumi.set(__self__, "node_host_name", node_host_name)
|
51
|
+
if state and not isinstance(state, str):
|
52
|
+
raise TypeError("Expected argument 'state' to be a str")
|
53
|
+
pulumi.set(__self__, "state", state)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="bdsInstanceId")
|
57
|
+
def bds_instance_id(self) -> builtins.str:
|
58
|
+
return pulumi.get(self, "bds_instance_id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="displayName")
|
62
|
+
def display_name(self) -> Optional[builtins.str]:
|
63
|
+
"""
|
64
|
+
BDS generated name for the backup. Format is nodeHostName_timeCreated.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "display_name")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def filters(self) -> Optional[Sequence['outputs.GetBdsInstanceNodeBackupsFilterResult']]:
|
71
|
+
return pulumi.get(self, "filters")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def id(self) -> builtins.str:
|
76
|
+
"""
|
77
|
+
The provider-assigned unique ID for this managed resource.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="nodeBackups")
|
83
|
+
def node_backups(self) -> Sequence['outputs.GetBdsInstanceNodeBackupsNodeBackupResult']:
|
84
|
+
"""
|
85
|
+
The list of node_backups.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "node_backups")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="nodeHostName")
|
91
|
+
def node_host_name(self) -> Optional[builtins.str]:
|
92
|
+
"""
|
93
|
+
Host name of the node to which this backup belongs.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "node_host_name")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def state(self) -> Optional[builtins.str]:
|
100
|
+
"""
|
101
|
+
The state of the NodeBackup.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "state")
|
104
|
+
|
105
|
+
|
106
|
+
class AwaitableGetBdsInstanceNodeBackupsResult(GetBdsInstanceNodeBackupsResult):
|
107
|
+
# pylint: disable=using-constant-test
|
108
|
+
def __await__(self):
|
109
|
+
if False:
|
110
|
+
yield self
|
111
|
+
return GetBdsInstanceNodeBackupsResult(
|
112
|
+
bds_instance_id=self.bds_instance_id,
|
113
|
+
display_name=self.display_name,
|
114
|
+
filters=self.filters,
|
115
|
+
id=self.id,
|
116
|
+
node_backups=self.node_backups,
|
117
|
+
node_host_name=self.node_host_name,
|
118
|
+
state=self.state)
|
119
|
+
|
120
|
+
|
121
|
+
def get_bds_instance_node_backups(bds_instance_id: Optional[builtins.str] = None,
|
122
|
+
display_name: Optional[builtins.str] = None,
|
123
|
+
filters: Optional[Sequence[Union['GetBdsInstanceNodeBackupsFilterArgs', 'GetBdsInstanceNodeBackupsFilterArgsDict']]] = None,
|
124
|
+
node_host_name: Optional[builtins.str] = None,
|
125
|
+
state: Optional[builtins.str] = None,
|
126
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBdsInstanceNodeBackupsResult:
|
127
|
+
"""
|
128
|
+
This data source provides the list of Bds Instance Node Backups in Oracle Cloud Infrastructure Big Data Service service.
|
129
|
+
|
130
|
+
Returns information about the node Backups.
|
131
|
+
|
132
|
+
## Example Usage
|
133
|
+
|
134
|
+
```python
|
135
|
+
import pulumi
|
136
|
+
import pulumi_oci as oci
|
137
|
+
|
138
|
+
test_bds_instance_node_backups = oci.BigDataService.get_bds_instance_node_backups(bds_instance_id=test_bds_instance["id"],
|
139
|
+
display_name=bds_instance_node_backup_display_name,
|
140
|
+
node_host_name=bds_instance_node_backup_node_host_name,
|
141
|
+
state=bds_instance_node_backup_state)
|
142
|
+
```
|
143
|
+
|
144
|
+
|
145
|
+
:param builtins.str bds_instance_id: The OCID of the cluster.
|
146
|
+
:param builtins.str display_name: The display name belonged to the node backup.
|
147
|
+
:param builtins.str node_host_name: The node host name belonged to a node that has a node backup.
|
148
|
+
:param builtins.str state: The state of the Node's Backup.
|
149
|
+
"""
|
150
|
+
__args__ = dict()
|
151
|
+
__args__['bdsInstanceId'] = bds_instance_id
|
152
|
+
__args__['displayName'] = display_name
|
153
|
+
__args__['filters'] = filters
|
154
|
+
__args__['nodeHostName'] = node_host_name
|
155
|
+
__args__['state'] = state
|
156
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
157
|
+
__ret__ = pulumi.runtime.invoke('oci:BigDataService/getBdsInstanceNodeBackups:getBdsInstanceNodeBackups', __args__, opts=opts, typ=GetBdsInstanceNodeBackupsResult).value
|
158
|
+
|
159
|
+
return AwaitableGetBdsInstanceNodeBackupsResult(
|
160
|
+
bds_instance_id=pulumi.get(__ret__, 'bds_instance_id'),
|
161
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
162
|
+
filters=pulumi.get(__ret__, 'filters'),
|
163
|
+
id=pulumi.get(__ret__, 'id'),
|
164
|
+
node_backups=pulumi.get(__ret__, 'node_backups'),
|
165
|
+
node_host_name=pulumi.get(__ret__, 'node_host_name'),
|
166
|
+
state=pulumi.get(__ret__, 'state'))
|
167
|
+
def get_bds_instance_node_backups_output(bds_instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
168
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
169
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetBdsInstanceNodeBackupsFilterArgs', 'GetBdsInstanceNodeBackupsFilterArgsDict']]]]] = None,
|
170
|
+
node_host_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
171
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
172
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBdsInstanceNodeBackupsResult]:
|
173
|
+
"""
|
174
|
+
This data source provides the list of Bds Instance Node Backups in Oracle Cloud Infrastructure Big Data Service service.
|
175
|
+
|
176
|
+
Returns information about the node Backups.
|
177
|
+
|
178
|
+
## Example Usage
|
179
|
+
|
180
|
+
```python
|
181
|
+
import pulumi
|
182
|
+
import pulumi_oci as oci
|
183
|
+
|
184
|
+
test_bds_instance_node_backups = oci.BigDataService.get_bds_instance_node_backups(bds_instance_id=test_bds_instance["id"],
|
185
|
+
display_name=bds_instance_node_backup_display_name,
|
186
|
+
node_host_name=bds_instance_node_backup_node_host_name,
|
187
|
+
state=bds_instance_node_backup_state)
|
188
|
+
```
|
189
|
+
|
190
|
+
|
191
|
+
:param builtins.str bds_instance_id: The OCID of the cluster.
|
192
|
+
:param builtins.str display_name: The display name belonged to the node backup.
|
193
|
+
:param builtins.str node_host_name: The node host name belonged to a node that has a node backup.
|
194
|
+
:param builtins.str state: The state of the Node's Backup.
|
195
|
+
"""
|
196
|
+
__args__ = dict()
|
197
|
+
__args__['bdsInstanceId'] = bds_instance_id
|
198
|
+
__args__['displayName'] = display_name
|
199
|
+
__args__['filters'] = filters
|
200
|
+
__args__['nodeHostName'] = node_host_name
|
201
|
+
__args__['state'] = state
|
202
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
203
|
+
__ret__ = pulumi.runtime.invoke_output('oci:BigDataService/getBdsInstanceNodeBackups:getBdsInstanceNodeBackups', __args__, opts=opts, typ=GetBdsInstanceNodeBackupsResult)
|
204
|
+
return __ret__.apply(lambda __response__: GetBdsInstanceNodeBackupsResult(
|
205
|
+
bds_instance_id=pulumi.get(__response__, 'bds_instance_id'),
|
206
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
207
|
+
filters=pulumi.get(__response__, 'filters'),
|
208
|
+
id=pulumi.get(__response__, 'id'),
|
209
|
+
node_backups=pulumi.get(__response__, 'node_backups'),
|
210
|
+
node_host_name=pulumi.get(__response__, 'node_host_name'),
|
211
|
+
state=pulumi.get(__response__, 'state')))
|