pulumi-oci 2.10.0a1726294433__py3-none-any.whl → 2.11.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 +62 -0
- pulumi_oci/bigdataservice/__init__.py +3 -0
- pulumi_oci/bigdataservice/_inputs.py +66 -0
- pulumi_oci/bigdataservice/bds_instance_os_patch_action.py +136 -2
- pulumi_oci/bigdataservice/bds_instance_resource_principal_configuration.py +524 -0
- pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configuration.py +236 -0
- pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configurations.py +176 -0
- pulumi_oci/bigdataservice/outputs.py +175 -0
- pulumi_oci/capacitymanagement/__init__.py +8 -0
- pulumi_oci/capacitymanagement/_inputs.py +465 -3
- pulumi_oci/capacitymanagement/get_internal_namespace_occ_overviews.py +221 -0
- pulumi_oci/capacitymanagement/get_internal_occ_availability_catalogs.py +7 -7
- pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_block_details.py +150 -0
- pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_blocks.py +247 -0
- pulumi_oci/capacitymanagement/get_namespace_occ_overviews.py +204 -0
- pulumi_oci/capacitymanagement/get_occ_availability_catalog.py +1 -1
- pulumi_oci/capacitymanagement/get_occ_capacity_request.py +15 -2
- pulumi_oci/capacitymanagement/get_occ_capacity_requests.py +25 -5
- pulumi_oci/capacitymanagement/get_occ_customer_group.py +1 -1
- pulumi_oci/capacitymanagement/get_occ_handover_resource_block_details.py +150 -0
- pulumi_oci/capacitymanagement/get_occ_handover_resource_blocks.py +227 -0
- pulumi_oci/capacitymanagement/occ_availability_catalog.py +4 -4
- pulumi_oci/capacitymanagement/occ_capacity_request.py +78 -32
- pulumi_oci/capacitymanagement/occ_customer_group.py +690 -0
- pulumi_oci/capacitymanagement/occ_customer_group_occ_customer.py +412 -0
- pulumi_oci/capacitymanagement/outputs.py +1668 -166
- pulumi_oci/containerengine/__init__.py +1 -0
- pulumi_oci/containerengine/get_cluster.py +327 -0
- pulumi_oci/containerengine/outputs.py +492 -0
- pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +717 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +804 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +1231 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +301 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +196 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +431 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +233 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +2129 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +7 -0
- pulumi_oci/generativeai/get_model.py +3 -0
- pulumi_oci/generativeai/outputs.py +4 -0
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +300 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +742 -0
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/RECORD +55 -25
- {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,524 @@
|
|
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__ = ['BdsInstanceResourcePrincipalConfigurationArgs', 'BdsInstanceResourcePrincipalConfiguration']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class BdsInstanceResourcePrincipalConfigurationArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
bds_instance_id: pulumi.Input[str],
|
18
|
+
cluster_admin_password: pulumi.Input[str],
|
19
|
+
display_name: pulumi.Input[str],
|
20
|
+
force_refresh_resource_principal_trigger: Optional[pulumi.Input[int]] = None,
|
21
|
+
session_token_life_span_duration_in_hours: Optional[pulumi.Input[int]] = None):
|
22
|
+
"""
|
23
|
+
The set of arguments for constructing a BdsInstanceResourcePrincipalConfiguration resource.
|
24
|
+
:param pulumi.Input[str] bds_instance_id: The OCID of the cluster.
|
25
|
+
:param pulumi.Input[str] cluster_admin_password: Base-64 encoded Cluster Admin Password for cluster admin user.
|
26
|
+
:param pulumi.Input[str] display_name: (Updatable) 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.
|
27
|
+
:param pulumi.Input[int] force_refresh_resource_principal_trigger: (Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value.
|
28
|
+
:param pulumi.Input[int] session_token_life_span_duration_in_hours: (Updatable) Life span in hours for the resource principal session token.
|
29
|
+
"""
|
30
|
+
pulumi.set(__self__, "bds_instance_id", bds_instance_id)
|
31
|
+
pulumi.set(__self__, "cluster_admin_password", cluster_admin_password)
|
32
|
+
pulumi.set(__self__, "display_name", display_name)
|
33
|
+
if force_refresh_resource_principal_trigger is not None:
|
34
|
+
pulumi.set(__self__, "force_refresh_resource_principal_trigger", force_refresh_resource_principal_trigger)
|
35
|
+
if session_token_life_span_duration_in_hours is not None:
|
36
|
+
pulumi.set(__self__, "session_token_life_span_duration_in_hours", session_token_life_span_duration_in_hours)
|
37
|
+
|
38
|
+
@property
|
39
|
+
@pulumi.getter(name="bdsInstanceId")
|
40
|
+
def bds_instance_id(self) -> pulumi.Input[str]:
|
41
|
+
"""
|
42
|
+
The OCID of the cluster.
|
43
|
+
"""
|
44
|
+
return pulumi.get(self, "bds_instance_id")
|
45
|
+
|
46
|
+
@bds_instance_id.setter
|
47
|
+
def bds_instance_id(self, value: pulumi.Input[str]):
|
48
|
+
pulumi.set(self, "bds_instance_id", value)
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter(name="clusterAdminPassword")
|
52
|
+
def cluster_admin_password(self) -> pulumi.Input[str]:
|
53
|
+
"""
|
54
|
+
Base-64 encoded Cluster Admin Password for cluster admin user.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "cluster_admin_password")
|
57
|
+
|
58
|
+
@cluster_admin_password.setter
|
59
|
+
def cluster_admin_password(self, value: pulumi.Input[str]):
|
60
|
+
pulumi.set(self, "cluster_admin_password", value)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="displayName")
|
64
|
+
def display_name(self) -> pulumi.Input[str]:
|
65
|
+
"""
|
66
|
+
(Updatable) 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.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "display_name")
|
69
|
+
|
70
|
+
@display_name.setter
|
71
|
+
def display_name(self, value: pulumi.Input[str]):
|
72
|
+
pulumi.set(self, "display_name", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="forceRefreshResourcePrincipalTrigger")
|
76
|
+
def force_refresh_resource_principal_trigger(self) -> Optional[pulumi.Input[int]]:
|
77
|
+
"""
|
78
|
+
(Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "force_refresh_resource_principal_trigger")
|
81
|
+
|
82
|
+
@force_refresh_resource_principal_trigger.setter
|
83
|
+
def force_refresh_resource_principal_trigger(self, value: Optional[pulumi.Input[int]]):
|
84
|
+
pulumi.set(self, "force_refresh_resource_principal_trigger", value)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="sessionTokenLifeSpanDurationInHours")
|
88
|
+
def session_token_life_span_duration_in_hours(self) -> Optional[pulumi.Input[int]]:
|
89
|
+
"""
|
90
|
+
(Updatable) Life span in hours for the resource principal session token.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "session_token_life_span_duration_in_hours")
|
93
|
+
|
94
|
+
@session_token_life_span_duration_in_hours.setter
|
95
|
+
def session_token_life_span_duration_in_hours(self, value: Optional[pulumi.Input[int]]):
|
96
|
+
pulumi.set(self, "session_token_life_span_duration_in_hours", value)
|
97
|
+
|
98
|
+
|
99
|
+
@pulumi.input_type
|
100
|
+
class _BdsInstanceResourcePrincipalConfigurationState:
|
101
|
+
def __init__(__self__, *,
|
102
|
+
bds_instance_id: Optional[pulumi.Input[str]] = None,
|
103
|
+
cluster_admin_password: Optional[pulumi.Input[str]] = None,
|
104
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
105
|
+
force_refresh_resource_principal_trigger: Optional[pulumi.Input[int]] = None,
|
106
|
+
session_token_life_span_duration_in_hours: Optional[pulumi.Input[int]] = None,
|
107
|
+
state: Optional[pulumi.Input[str]] = None,
|
108
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
109
|
+
time_token_expiry: Optional[pulumi.Input[str]] = None,
|
110
|
+
time_token_refreshed: Optional[pulumi.Input[str]] = None,
|
111
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
112
|
+
"""
|
113
|
+
Input properties used for looking up and filtering BdsInstanceResourcePrincipalConfiguration resources.
|
114
|
+
:param pulumi.Input[str] bds_instance_id: The OCID of the cluster.
|
115
|
+
:param pulumi.Input[str] cluster_admin_password: Base-64 encoded Cluster Admin Password for cluster admin user.
|
116
|
+
:param pulumi.Input[str] display_name: (Updatable) 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.
|
117
|
+
:param pulumi.Input[int] force_refresh_resource_principal_trigger: (Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value.
|
118
|
+
:param pulumi.Input[int] session_token_life_span_duration_in_hours: (Updatable) Life span in hours for the resource principal session token.
|
119
|
+
:param pulumi.Input[str] state: The state of the ResourcePrincipalConfiguration.
|
120
|
+
:param pulumi.Input[str] time_created: The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
|
121
|
+
:param pulumi.Input[str] time_token_expiry: the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
|
122
|
+
:param pulumi.Input[str] time_token_refreshed: the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
|
123
|
+
:param pulumi.Input[str] time_updated: The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
|
124
|
+
"""
|
125
|
+
if bds_instance_id is not None:
|
126
|
+
pulumi.set(__self__, "bds_instance_id", bds_instance_id)
|
127
|
+
if cluster_admin_password is not None:
|
128
|
+
pulumi.set(__self__, "cluster_admin_password", cluster_admin_password)
|
129
|
+
if display_name is not None:
|
130
|
+
pulumi.set(__self__, "display_name", display_name)
|
131
|
+
if force_refresh_resource_principal_trigger is not None:
|
132
|
+
pulumi.set(__self__, "force_refresh_resource_principal_trigger", force_refresh_resource_principal_trigger)
|
133
|
+
if session_token_life_span_duration_in_hours is not None:
|
134
|
+
pulumi.set(__self__, "session_token_life_span_duration_in_hours", session_token_life_span_duration_in_hours)
|
135
|
+
if state is not None:
|
136
|
+
pulumi.set(__self__, "state", state)
|
137
|
+
if time_created is not None:
|
138
|
+
pulumi.set(__self__, "time_created", time_created)
|
139
|
+
if time_token_expiry is not None:
|
140
|
+
pulumi.set(__self__, "time_token_expiry", time_token_expiry)
|
141
|
+
if time_token_refreshed is not None:
|
142
|
+
pulumi.set(__self__, "time_token_refreshed", time_token_refreshed)
|
143
|
+
if time_updated is not None:
|
144
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="bdsInstanceId")
|
148
|
+
def bds_instance_id(self) -> Optional[pulumi.Input[str]]:
|
149
|
+
"""
|
150
|
+
The OCID of the cluster.
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "bds_instance_id")
|
153
|
+
|
154
|
+
@bds_instance_id.setter
|
155
|
+
def bds_instance_id(self, value: Optional[pulumi.Input[str]]):
|
156
|
+
pulumi.set(self, "bds_instance_id", value)
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="clusterAdminPassword")
|
160
|
+
def cluster_admin_password(self) -> Optional[pulumi.Input[str]]:
|
161
|
+
"""
|
162
|
+
Base-64 encoded Cluster Admin Password for cluster admin user.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "cluster_admin_password")
|
165
|
+
|
166
|
+
@cluster_admin_password.setter
|
167
|
+
def cluster_admin_password(self, value: Optional[pulumi.Input[str]]):
|
168
|
+
pulumi.set(self, "cluster_admin_password", value)
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter(name="displayName")
|
172
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
"""
|
174
|
+
(Updatable) 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.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "display_name")
|
177
|
+
|
178
|
+
@display_name.setter
|
179
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
pulumi.set(self, "display_name", value)
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="forceRefreshResourcePrincipalTrigger")
|
184
|
+
def force_refresh_resource_principal_trigger(self) -> Optional[pulumi.Input[int]]:
|
185
|
+
"""
|
186
|
+
(Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "force_refresh_resource_principal_trigger")
|
189
|
+
|
190
|
+
@force_refresh_resource_principal_trigger.setter
|
191
|
+
def force_refresh_resource_principal_trigger(self, value: Optional[pulumi.Input[int]]):
|
192
|
+
pulumi.set(self, "force_refresh_resource_principal_trigger", value)
|
193
|
+
|
194
|
+
@property
|
195
|
+
@pulumi.getter(name="sessionTokenLifeSpanDurationInHours")
|
196
|
+
def session_token_life_span_duration_in_hours(self) -> Optional[pulumi.Input[int]]:
|
197
|
+
"""
|
198
|
+
(Updatable) Life span in hours for the resource principal session token.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "session_token_life_span_duration_in_hours")
|
201
|
+
|
202
|
+
@session_token_life_span_duration_in_hours.setter
|
203
|
+
def session_token_life_span_duration_in_hours(self, value: Optional[pulumi.Input[int]]):
|
204
|
+
pulumi.set(self, "session_token_life_span_duration_in_hours", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
209
|
+
"""
|
210
|
+
The state of the ResourcePrincipalConfiguration.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "state")
|
213
|
+
|
214
|
+
@state.setter
|
215
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
216
|
+
pulumi.set(self, "state", value)
|
217
|
+
|
218
|
+
@property
|
219
|
+
@pulumi.getter(name="timeCreated")
|
220
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
221
|
+
"""
|
222
|
+
The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "time_created")
|
225
|
+
|
226
|
+
@time_created.setter
|
227
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
228
|
+
pulumi.set(self, "time_created", value)
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="timeTokenExpiry")
|
232
|
+
def time_token_expiry(self) -> Optional[pulumi.Input[str]]:
|
233
|
+
"""
|
234
|
+
the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "time_token_expiry")
|
237
|
+
|
238
|
+
@time_token_expiry.setter
|
239
|
+
def time_token_expiry(self, value: Optional[pulumi.Input[str]]):
|
240
|
+
pulumi.set(self, "time_token_expiry", value)
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter(name="timeTokenRefreshed")
|
244
|
+
def time_token_refreshed(self) -> Optional[pulumi.Input[str]]:
|
245
|
+
"""
|
246
|
+
the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "time_token_refreshed")
|
249
|
+
|
250
|
+
@time_token_refreshed.setter
|
251
|
+
def time_token_refreshed(self, value: Optional[pulumi.Input[str]]):
|
252
|
+
pulumi.set(self, "time_token_refreshed", value)
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="timeUpdated")
|
256
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
257
|
+
"""
|
258
|
+
The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "time_updated")
|
261
|
+
|
262
|
+
@time_updated.setter
|
263
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
264
|
+
pulumi.set(self, "time_updated", value)
|
265
|
+
|
266
|
+
|
267
|
+
class BdsInstanceResourcePrincipalConfiguration(pulumi.CustomResource):
|
268
|
+
@overload
|
269
|
+
def __init__(__self__,
|
270
|
+
resource_name: str,
|
271
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
272
|
+
bds_instance_id: Optional[pulumi.Input[str]] = None,
|
273
|
+
cluster_admin_password: Optional[pulumi.Input[str]] = None,
|
274
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
275
|
+
force_refresh_resource_principal_trigger: Optional[pulumi.Input[int]] = None,
|
276
|
+
session_token_life_span_duration_in_hours: Optional[pulumi.Input[int]] = None,
|
277
|
+
__props__=None):
|
278
|
+
"""
|
279
|
+
This resource provides the Bds Instance Resource Principal Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
|
280
|
+
|
281
|
+
Create a resource principal session token configuration.
|
282
|
+
|
283
|
+
## Example Usage
|
284
|
+
|
285
|
+
```python
|
286
|
+
import pulumi
|
287
|
+
import pulumi_oci as oci
|
288
|
+
|
289
|
+
test_bds_instance_resource_principal_configuration = oci.big_data_service.BdsInstanceResourcePrincipalConfiguration("test_bds_instance_resource_principal_configuration",
|
290
|
+
bds_instance_id=test_bds_instance["id"],
|
291
|
+
cluster_admin_password=bds_instance_resource_principal_configuration_cluster_admin_password,
|
292
|
+
display_name=bds_instance_resource_principal_configuration_display_name,
|
293
|
+
session_token_life_span_duration_in_hours=bds_instance_resource_principal_configuration_session_token_life_span_duration_in_hours)
|
294
|
+
```
|
295
|
+
|
296
|
+
## Import
|
297
|
+
|
298
|
+
BdsInstanceResourcePrincipalConfigurations can be imported using the `id`, e.g.
|
299
|
+
|
300
|
+
```sh
|
301
|
+
$ pulumi import oci:BigDataService/bdsInstanceResourcePrincipalConfiguration:BdsInstanceResourcePrincipalConfiguration test_bds_instance_resource_principal_configuration "bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}"
|
302
|
+
```
|
303
|
+
|
304
|
+
:param str resource_name: The name of the resource.
|
305
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
306
|
+
:param pulumi.Input[str] bds_instance_id: The OCID of the cluster.
|
307
|
+
:param pulumi.Input[str] cluster_admin_password: Base-64 encoded Cluster Admin Password for cluster admin user.
|
308
|
+
:param pulumi.Input[str] display_name: (Updatable) 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.
|
309
|
+
:param pulumi.Input[int] force_refresh_resource_principal_trigger: (Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value.
|
310
|
+
:param pulumi.Input[int] session_token_life_span_duration_in_hours: (Updatable) Life span in hours for the resource principal session token.
|
311
|
+
"""
|
312
|
+
...
|
313
|
+
@overload
|
314
|
+
def __init__(__self__,
|
315
|
+
resource_name: str,
|
316
|
+
args: BdsInstanceResourcePrincipalConfigurationArgs,
|
317
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
318
|
+
"""
|
319
|
+
This resource provides the Bds Instance Resource Principal Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
|
320
|
+
|
321
|
+
Create a resource principal session token configuration.
|
322
|
+
|
323
|
+
## Example Usage
|
324
|
+
|
325
|
+
```python
|
326
|
+
import pulumi
|
327
|
+
import pulumi_oci as oci
|
328
|
+
|
329
|
+
test_bds_instance_resource_principal_configuration = oci.big_data_service.BdsInstanceResourcePrincipalConfiguration("test_bds_instance_resource_principal_configuration",
|
330
|
+
bds_instance_id=test_bds_instance["id"],
|
331
|
+
cluster_admin_password=bds_instance_resource_principal_configuration_cluster_admin_password,
|
332
|
+
display_name=bds_instance_resource_principal_configuration_display_name,
|
333
|
+
session_token_life_span_duration_in_hours=bds_instance_resource_principal_configuration_session_token_life_span_duration_in_hours)
|
334
|
+
```
|
335
|
+
|
336
|
+
## Import
|
337
|
+
|
338
|
+
BdsInstanceResourcePrincipalConfigurations can be imported using the `id`, e.g.
|
339
|
+
|
340
|
+
```sh
|
341
|
+
$ pulumi import oci:BigDataService/bdsInstanceResourcePrincipalConfiguration:BdsInstanceResourcePrincipalConfiguration test_bds_instance_resource_principal_configuration "bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}"
|
342
|
+
```
|
343
|
+
|
344
|
+
:param str resource_name: The name of the resource.
|
345
|
+
:param BdsInstanceResourcePrincipalConfigurationArgs args: The arguments to use to populate this resource's properties.
|
346
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
347
|
+
"""
|
348
|
+
...
|
349
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
350
|
+
resource_args, opts = _utilities.get_resource_args_opts(BdsInstanceResourcePrincipalConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
351
|
+
if resource_args is not None:
|
352
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
353
|
+
else:
|
354
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
355
|
+
|
356
|
+
def _internal_init(__self__,
|
357
|
+
resource_name: str,
|
358
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
359
|
+
bds_instance_id: Optional[pulumi.Input[str]] = None,
|
360
|
+
cluster_admin_password: Optional[pulumi.Input[str]] = None,
|
361
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
362
|
+
force_refresh_resource_principal_trigger: Optional[pulumi.Input[int]] = None,
|
363
|
+
session_token_life_span_duration_in_hours: Optional[pulumi.Input[int]] = None,
|
364
|
+
__props__=None):
|
365
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
366
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
367
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
368
|
+
if opts.id is None:
|
369
|
+
if __props__ is not None:
|
370
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
371
|
+
__props__ = BdsInstanceResourcePrincipalConfigurationArgs.__new__(BdsInstanceResourcePrincipalConfigurationArgs)
|
372
|
+
|
373
|
+
if bds_instance_id is None and not opts.urn:
|
374
|
+
raise TypeError("Missing required property 'bds_instance_id'")
|
375
|
+
__props__.__dict__["bds_instance_id"] = bds_instance_id
|
376
|
+
if cluster_admin_password is None and not opts.urn:
|
377
|
+
raise TypeError("Missing required property 'cluster_admin_password'")
|
378
|
+
__props__.__dict__["cluster_admin_password"] = None if cluster_admin_password is None else pulumi.Output.secret(cluster_admin_password)
|
379
|
+
if display_name is None and not opts.urn:
|
380
|
+
raise TypeError("Missing required property 'display_name'")
|
381
|
+
__props__.__dict__["display_name"] = display_name
|
382
|
+
__props__.__dict__["force_refresh_resource_principal_trigger"] = force_refresh_resource_principal_trigger
|
383
|
+
__props__.__dict__["session_token_life_span_duration_in_hours"] = session_token_life_span_duration_in_hours
|
384
|
+
__props__.__dict__["state"] = None
|
385
|
+
__props__.__dict__["time_created"] = None
|
386
|
+
__props__.__dict__["time_token_expiry"] = None
|
387
|
+
__props__.__dict__["time_token_refreshed"] = None
|
388
|
+
__props__.__dict__["time_updated"] = None
|
389
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clusterAdminPassword"])
|
390
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
391
|
+
super(BdsInstanceResourcePrincipalConfiguration, __self__).__init__(
|
392
|
+
'oci:BigDataService/bdsInstanceResourcePrincipalConfiguration:BdsInstanceResourcePrincipalConfiguration',
|
393
|
+
resource_name,
|
394
|
+
__props__,
|
395
|
+
opts)
|
396
|
+
|
397
|
+
@staticmethod
|
398
|
+
def get(resource_name: str,
|
399
|
+
id: pulumi.Input[str],
|
400
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
401
|
+
bds_instance_id: Optional[pulumi.Input[str]] = None,
|
402
|
+
cluster_admin_password: Optional[pulumi.Input[str]] = None,
|
403
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
404
|
+
force_refresh_resource_principal_trigger: Optional[pulumi.Input[int]] = None,
|
405
|
+
session_token_life_span_duration_in_hours: Optional[pulumi.Input[int]] = None,
|
406
|
+
state: Optional[pulumi.Input[str]] = None,
|
407
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
408
|
+
time_token_expiry: Optional[pulumi.Input[str]] = None,
|
409
|
+
time_token_refreshed: Optional[pulumi.Input[str]] = None,
|
410
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'BdsInstanceResourcePrincipalConfiguration':
|
411
|
+
"""
|
412
|
+
Get an existing BdsInstanceResourcePrincipalConfiguration resource's state with the given name, id, and optional extra
|
413
|
+
properties used to qualify the lookup.
|
414
|
+
|
415
|
+
:param str resource_name: The unique name of the resulting resource.
|
416
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
417
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
418
|
+
:param pulumi.Input[str] bds_instance_id: The OCID of the cluster.
|
419
|
+
:param pulumi.Input[str] cluster_admin_password: Base-64 encoded Cluster Admin Password for cluster admin user.
|
420
|
+
:param pulumi.Input[str] display_name: (Updatable) 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.
|
421
|
+
:param pulumi.Input[int] force_refresh_resource_principal_trigger: (Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value.
|
422
|
+
:param pulumi.Input[int] session_token_life_span_duration_in_hours: (Updatable) Life span in hours for the resource principal session token.
|
423
|
+
:param pulumi.Input[str] state: The state of the ResourcePrincipalConfiguration.
|
424
|
+
:param pulumi.Input[str] time_created: The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
|
425
|
+
:param pulumi.Input[str] time_token_expiry: the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
|
426
|
+
:param pulumi.Input[str] time_token_refreshed: the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
|
427
|
+
:param pulumi.Input[str] time_updated: The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
|
428
|
+
"""
|
429
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
430
|
+
|
431
|
+
__props__ = _BdsInstanceResourcePrincipalConfigurationState.__new__(_BdsInstanceResourcePrincipalConfigurationState)
|
432
|
+
|
433
|
+
__props__.__dict__["bds_instance_id"] = bds_instance_id
|
434
|
+
__props__.__dict__["cluster_admin_password"] = cluster_admin_password
|
435
|
+
__props__.__dict__["display_name"] = display_name
|
436
|
+
__props__.__dict__["force_refresh_resource_principal_trigger"] = force_refresh_resource_principal_trigger
|
437
|
+
__props__.__dict__["session_token_life_span_duration_in_hours"] = session_token_life_span_duration_in_hours
|
438
|
+
__props__.__dict__["state"] = state
|
439
|
+
__props__.__dict__["time_created"] = time_created
|
440
|
+
__props__.__dict__["time_token_expiry"] = time_token_expiry
|
441
|
+
__props__.__dict__["time_token_refreshed"] = time_token_refreshed
|
442
|
+
__props__.__dict__["time_updated"] = time_updated
|
443
|
+
return BdsInstanceResourcePrincipalConfiguration(resource_name, opts=opts, __props__=__props__)
|
444
|
+
|
445
|
+
@property
|
446
|
+
@pulumi.getter(name="bdsInstanceId")
|
447
|
+
def bds_instance_id(self) -> pulumi.Output[str]:
|
448
|
+
"""
|
449
|
+
The OCID of the cluster.
|
450
|
+
"""
|
451
|
+
return pulumi.get(self, "bds_instance_id")
|
452
|
+
|
453
|
+
@property
|
454
|
+
@pulumi.getter(name="clusterAdminPassword")
|
455
|
+
def cluster_admin_password(self) -> pulumi.Output[str]:
|
456
|
+
"""
|
457
|
+
Base-64 encoded Cluster Admin Password for cluster admin user.
|
458
|
+
"""
|
459
|
+
return pulumi.get(self, "cluster_admin_password")
|
460
|
+
|
461
|
+
@property
|
462
|
+
@pulumi.getter(name="displayName")
|
463
|
+
def display_name(self) -> pulumi.Output[str]:
|
464
|
+
"""
|
465
|
+
(Updatable) 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.
|
466
|
+
"""
|
467
|
+
return pulumi.get(self, "display_name")
|
468
|
+
|
469
|
+
@property
|
470
|
+
@pulumi.getter(name="forceRefreshResourcePrincipalTrigger")
|
471
|
+
def force_refresh_resource_principal_trigger(self) -> pulumi.Output[Optional[int]]:
|
472
|
+
"""
|
473
|
+
(Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value.
|
474
|
+
"""
|
475
|
+
return pulumi.get(self, "force_refresh_resource_principal_trigger")
|
476
|
+
|
477
|
+
@property
|
478
|
+
@pulumi.getter(name="sessionTokenLifeSpanDurationInHours")
|
479
|
+
def session_token_life_span_duration_in_hours(self) -> pulumi.Output[int]:
|
480
|
+
"""
|
481
|
+
(Updatable) Life span in hours for the resource principal session token.
|
482
|
+
"""
|
483
|
+
return pulumi.get(self, "session_token_life_span_duration_in_hours")
|
484
|
+
|
485
|
+
@property
|
486
|
+
@pulumi.getter
|
487
|
+
def state(self) -> pulumi.Output[str]:
|
488
|
+
"""
|
489
|
+
The state of the ResourcePrincipalConfiguration.
|
490
|
+
"""
|
491
|
+
return pulumi.get(self, "state")
|
492
|
+
|
493
|
+
@property
|
494
|
+
@pulumi.getter(name="timeCreated")
|
495
|
+
def time_created(self) -> pulumi.Output[str]:
|
496
|
+
"""
|
497
|
+
The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
|
498
|
+
"""
|
499
|
+
return pulumi.get(self, "time_created")
|
500
|
+
|
501
|
+
@property
|
502
|
+
@pulumi.getter(name="timeTokenExpiry")
|
503
|
+
def time_token_expiry(self) -> pulumi.Output[str]:
|
504
|
+
"""
|
505
|
+
the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
|
506
|
+
"""
|
507
|
+
return pulumi.get(self, "time_token_expiry")
|
508
|
+
|
509
|
+
@property
|
510
|
+
@pulumi.getter(name="timeTokenRefreshed")
|
511
|
+
def time_token_refreshed(self) -> pulumi.Output[str]:
|
512
|
+
"""
|
513
|
+
the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "time_token_refreshed")
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter(name="timeUpdated")
|
519
|
+
def time_updated(self) -> pulumi.Output[str]:
|
520
|
+
"""
|
521
|
+
The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
|
522
|
+
"""
|
523
|
+
return pulumi.get(self, "time_updated")
|
524
|
+
|