pulumi-oci 2.33.0a1745955172__py3-none-any.whl → 2.33.0a1746138884__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/containerengine/_inputs.py +43 -3
- pulumi_oci/containerengine/get_cluster.py +22 -3
- pulumi_oci/containerengine/node_pool.py +4 -0
- pulumi_oci/containerengine/outputs.py +79 -7
- pulumi_oci/database/_inputs.py +6 -5
- pulumi_oci/database/autonomous_database.py +47 -0
- pulumi_oci/database/get_autonomous_database.py +15 -1
- pulumi_oci/database/outputs.py +15 -3
- pulumi_oci/disasterrecovery/_inputs.py +566 -16
- pulumi_oci/disasterrecovery/dr_protection_group.py +312 -0
- pulumi_oci/disasterrecovery/outputs.py +1077 -27
- pulumi_oci/nosql/table.py +7 -7
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/_inputs.py +89 -1
- pulumi_oci/resourcescheduler/get_schedule.py +15 -1
- pulumi_oci/resourcescheduler/get_schedules.py +22 -7
- pulumi_oci/resourcescheduler/outputs.py +174 -11
- pulumi_oci/resourcescheduler/schedule.py +58 -2
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/METADATA +1 -1
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/RECORD +22 -22
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/top_level.txt +0 -0
@@ -4261,6 +4261,10 @@ if not MYPY:
|
|
4261
4261
|
"""
|
4262
4262
|
(Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
|
4263
4263
|
"""
|
4264
|
+
is_force_action_after_grace_duration: NotRequired[pulumi.Input[builtins.bool]]
|
4265
|
+
"""
|
4266
|
+
(Updatable) If the node action should be performed if not all the pods can be evicted in the grace period
|
4267
|
+
"""
|
4264
4268
|
is_force_delete_after_grace_duration: NotRequired[pulumi.Input[builtins.bool]]
|
4265
4269
|
"""
|
4266
4270
|
(Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
|
@@ -4272,13 +4276,17 @@ elif False:
|
|
4272
4276
|
class NodePoolNodeEvictionNodePoolSettingsArgs:
|
4273
4277
|
def __init__(__self__, *,
|
4274
4278
|
eviction_grace_duration: Optional[pulumi.Input[builtins.str]] = None,
|
4279
|
+
is_force_action_after_grace_duration: Optional[pulumi.Input[builtins.bool]] = None,
|
4275
4280
|
is_force_delete_after_grace_duration: Optional[pulumi.Input[builtins.bool]] = None):
|
4276
4281
|
"""
|
4277
4282
|
:param pulumi.Input[builtins.str] eviction_grace_duration: (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
|
4283
|
+
:param pulumi.Input[builtins.bool] is_force_action_after_grace_duration: (Updatable) If the node action should be performed if not all the pods can be evicted in the grace period
|
4278
4284
|
:param pulumi.Input[builtins.bool] is_force_delete_after_grace_duration: (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
|
4279
4285
|
"""
|
4280
4286
|
if eviction_grace_duration is not None:
|
4281
4287
|
pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration)
|
4288
|
+
if is_force_action_after_grace_duration is not None:
|
4289
|
+
pulumi.set(__self__, "is_force_action_after_grace_duration", is_force_action_after_grace_duration)
|
4282
4290
|
if is_force_delete_after_grace_duration is not None:
|
4283
4291
|
pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration)
|
4284
4292
|
|
@@ -4294,6 +4302,18 @@ class NodePoolNodeEvictionNodePoolSettingsArgs:
|
|
4294
4302
|
def eviction_grace_duration(self, value: Optional[pulumi.Input[builtins.str]]):
|
4295
4303
|
pulumi.set(self, "eviction_grace_duration", value)
|
4296
4304
|
|
4305
|
+
@property
|
4306
|
+
@pulumi.getter(name="isForceActionAfterGraceDuration")
|
4307
|
+
def is_force_action_after_grace_duration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
4308
|
+
"""
|
4309
|
+
(Updatable) If the node action should be performed if not all the pods can be evicted in the grace period
|
4310
|
+
"""
|
4311
|
+
return pulumi.get(self, "is_force_action_after_grace_duration")
|
4312
|
+
|
4313
|
+
@is_force_action_after_grace_duration.setter
|
4314
|
+
def is_force_action_after_grace_duration(self, value: Optional[pulumi.Input[builtins.bool]]):
|
4315
|
+
pulumi.set(self, "is_force_action_after_grace_duration", value)
|
4316
|
+
|
4297
4317
|
@property
|
4298
4318
|
@pulumi.getter(name="isForceDeleteAfterGraceDuration")
|
4299
4319
|
def is_force_delete_after_grace_duration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
@@ -4309,9 +4329,13 @@ class NodePoolNodeEvictionNodePoolSettingsArgs:
|
|
4309
4329
|
|
4310
4330
|
if not MYPY:
|
4311
4331
|
class NodePoolNodePoolCyclingDetailsArgsDict(TypedDict):
|
4332
|
+
cycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
4333
|
+
"""
|
4334
|
+
(Updatable) An ordered list of cycle modes that should be performed on the OKE nodes.
|
4335
|
+
"""
|
4312
4336
|
is_node_cycling_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
4313
4337
|
"""
|
4314
|
-
(Updatable) If
|
4338
|
+
(Updatable) If cycling operation should be performed on the nodes in the node pool.
|
4315
4339
|
"""
|
4316
4340
|
maximum_surge: NotRequired[pulumi.Input[builtins.str]]
|
4317
4341
|
"""
|
@@ -4327,14 +4351,18 @@ elif False:
|
|
4327
4351
|
@pulumi.input_type
|
4328
4352
|
class NodePoolNodePoolCyclingDetailsArgs:
|
4329
4353
|
def __init__(__self__, *,
|
4354
|
+
cycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
4330
4355
|
is_node_cycling_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
4331
4356
|
maximum_surge: Optional[pulumi.Input[builtins.str]] = None,
|
4332
4357
|
maximum_unavailable: Optional[pulumi.Input[builtins.str]] = None):
|
4333
4358
|
"""
|
4334
|
-
:param pulumi.Input[builtins.
|
4359
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] cycle_modes: (Updatable) An ordered list of cycle modes that should be performed on the OKE nodes.
|
4360
|
+
:param pulumi.Input[builtins.bool] is_node_cycling_enabled: (Updatable) If cycling operation should be performed on the nodes in the node pool.
|
4335
4361
|
:param pulumi.Input[builtins.str] maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
4336
4362
|
:param pulumi.Input[builtins.str] maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
4337
4363
|
"""
|
4364
|
+
if cycle_modes is not None:
|
4365
|
+
pulumi.set(__self__, "cycle_modes", cycle_modes)
|
4338
4366
|
if is_node_cycling_enabled is not None:
|
4339
4367
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
4340
4368
|
if maximum_surge is not None:
|
@@ -4342,11 +4370,23 @@ class NodePoolNodePoolCyclingDetailsArgs:
|
|
4342
4370
|
if maximum_unavailable is not None:
|
4343
4371
|
pulumi.set(__self__, "maximum_unavailable", maximum_unavailable)
|
4344
4372
|
|
4373
|
+
@property
|
4374
|
+
@pulumi.getter(name="cycleModes")
|
4375
|
+
def cycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
4376
|
+
"""
|
4377
|
+
(Updatable) An ordered list of cycle modes that should be performed on the OKE nodes.
|
4378
|
+
"""
|
4379
|
+
return pulumi.get(self, "cycle_modes")
|
4380
|
+
|
4381
|
+
@cycle_modes.setter
|
4382
|
+
def cycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
4383
|
+
pulumi.set(self, "cycle_modes", value)
|
4384
|
+
|
4345
4385
|
@property
|
4346
4386
|
@pulumi.getter(name="isNodeCyclingEnabled")
|
4347
4387
|
def is_node_cycling_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
4348
4388
|
"""
|
4349
|
-
(Updatable) If
|
4389
|
+
(Updatable) If cycling operation should be performed on the nodes in the node pool.
|
4350
4390
|
"""
|
4351
4391
|
return pulumi.get(self, "is_node_cycling_enabled")
|
4352
4392
|
|
@@ -28,7 +28,7 @@ class GetClusterResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getCluster.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, available_kubernetes_upgrades=None, cluster_id=None, cluster_pod_network_options=None, compartment_id=None, defined_tags=None, endpoint_configs=None, endpoints=None, freeform_tags=None, id=None, image_policy_configs=None, kms_key_id=None, kubernetes_version=None, lifecycle_details=None, metadatas=None, name=None, open_id_connect_discovery_endpoint=None, options=None, state=None, type=None, vcn_id=None):
|
31
|
+
def __init__(__self__, available_kubernetes_upgrades=None, cluster_id=None, cluster_pod_network_options=None, compartment_id=None, defined_tags=None, endpoint_configs=None, endpoints=None, freeform_tags=None, id=None, image_policy_configs=None, kms_key_id=None, kubernetes_version=None, lifecycle_details=None, metadatas=None, name=None, open_id_connect_discovery_endpoint=None, options=None, should_include_oidc_config_file=None, state=None, type=None, vcn_id=None):
|
32
32
|
if available_kubernetes_upgrades and not isinstance(available_kubernetes_upgrades, list):
|
33
33
|
raise TypeError("Expected argument 'available_kubernetes_upgrades' to be a list")
|
34
34
|
pulumi.set(__self__, "available_kubernetes_upgrades", available_kubernetes_upgrades)
|
@@ -80,6 +80,9 @@ class GetClusterResult:
|
|
80
80
|
if options and not isinstance(options, list):
|
81
81
|
raise TypeError("Expected argument 'options' to be a list")
|
82
82
|
pulumi.set(__self__, "options", options)
|
83
|
+
if should_include_oidc_config_file and not isinstance(should_include_oidc_config_file, str):
|
84
|
+
raise TypeError("Expected argument 'should_include_oidc_config_file' to be a str")
|
85
|
+
pulumi.set(__self__, "should_include_oidc_config_file", should_include_oidc_config_file)
|
83
86
|
if state and not isinstance(state, str):
|
84
87
|
raise TypeError("Expected argument 'state' to be a str")
|
85
88
|
pulumi.set(__self__, "state", state)
|
@@ -220,6 +223,11 @@ class GetClusterResult:
|
|
220
223
|
"""
|
221
224
|
return pulumi.get(self, "options")
|
222
225
|
|
226
|
+
@property
|
227
|
+
@pulumi.getter(name="shouldIncludeOidcConfigFile")
|
228
|
+
def should_include_oidc_config_file(self) -> Optional[builtins.str]:
|
229
|
+
return pulumi.get(self, "should_include_oidc_config_file")
|
230
|
+
|
223
231
|
@property
|
224
232
|
@pulumi.getter
|
225
233
|
def state(self) -> builtins.str:
|
@@ -268,12 +276,14 @@ class AwaitableGetClusterResult(GetClusterResult):
|
|
268
276
|
name=self.name,
|
269
277
|
open_id_connect_discovery_endpoint=self.open_id_connect_discovery_endpoint,
|
270
278
|
options=self.options,
|
279
|
+
should_include_oidc_config_file=self.should_include_oidc_config_file,
|
271
280
|
state=self.state,
|
272
281
|
type=self.type,
|
273
282
|
vcn_id=self.vcn_id)
|
274
283
|
|
275
284
|
|
276
285
|
def get_cluster(cluster_id: Optional[builtins.str] = None,
|
286
|
+
should_include_oidc_config_file: Optional[builtins.str] = None,
|
277
287
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterResult:
|
278
288
|
"""
|
279
289
|
This data source provides details about a specific Cluster resource in Oracle Cloud Infrastructure Container Engine service.
|
@@ -286,14 +296,17 @@ def get_cluster(cluster_id: Optional[builtins.str] = None,
|
|
286
296
|
import pulumi
|
287
297
|
import pulumi_oci as oci
|
288
298
|
|
289
|
-
test_cluster = oci.ContainerEngine.get_cluster(cluster_id=test_cluster_oci_containerengine_cluster["id"]
|
299
|
+
test_cluster = oci.ContainerEngine.get_cluster(cluster_id=test_cluster_oci_containerengine_cluster["id"],
|
300
|
+
should_include_oidc_config_file=cluster_should_include_oidc_config_file)
|
290
301
|
```
|
291
302
|
|
292
303
|
|
293
304
|
:param builtins.str cluster_id: The OCID of the cluster.
|
305
|
+
:param builtins.str should_include_oidc_config_file: Boolean value to determine if the OpenIdConnectAuth configuration file should be displayed for the provided cluster.
|
294
306
|
"""
|
295
307
|
__args__ = dict()
|
296
308
|
__args__['clusterId'] = cluster_id
|
309
|
+
__args__['shouldIncludeOidcConfigFile'] = should_include_oidc_config_file
|
297
310
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
298
311
|
__ret__ = pulumi.runtime.invoke('oci:ContainerEngine/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult).value
|
299
312
|
|
@@ -315,10 +328,12 @@ def get_cluster(cluster_id: Optional[builtins.str] = None,
|
|
315
328
|
name=pulumi.get(__ret__, 'name'),
|
316
329
|
open_id_connect_discovery_endpoint=pulumi.get(__ret__, 'open_id_connect_discovery_endpoint'),
|
317
330
|
options=pulumi.get(__ret__, 'options'),
|
331
|
+
should_include_oidc_config_file=pulumi.get(__ret__, 'should_include_oidc_config_file'),
|
318
332
|
state=pulumi.get(__ret__, 'state'),
|
319
333
|
type=pulumi.get(__ret__, 'type'),
|
320
334
|
vcn_id=pulumi.get(__ret__, 'vcn_id'))
|
321
335
|
def get_cluster_output(cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
336
|
+
should_include_oidc_config_file: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
322
337
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClusterResult]:
|
323
338
|
"""
|
324
339
|
This data source provides details about a specific Cluster resource in Oracle Cloud Infrastructure Container Engine service.
|
@@ -331,14 +346,17 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
346
|
import pulumi
|
332
347
|
import pulumi_oci as oci
|
333
348
|
|
334
|
-
test_cluster = oci.ContainerEngine.get_cluster(cluster_id=test_cluster_oci_containerengine_cluster["id"]
|
349
|
+
test_cluster = oci.ContainerEngine.get_cluster(cluster_id=test_cluster_oci_containerengine_cluster["id"],
|
350
|
+
should_include_oidc_config_file=cluster_should_include_oidc_config_file)
|
335
351
|
```
|
336
352
|
|
337
353
|
|
338
354
|
:param builtins.str cluster_id: The OCID of the cluster.
|
355
|
+
:param builtins.str should_include_oidc_config_file: Boolean value to determine if the OpenIdConnectAuth configuration file should be displayed for the provided cluster.
|
339
356
|
"""
|
340
357
|
__args__ = dict()
|
341
358
|
__args__['clusterId'] = cluster_id
|
359
|
+
__args__['shouldIncludeOidcConfigFile'] = should_include_oidc_config_file
|
342
360
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
343
361
|
__ret__ = pulumi.runtime.invoke_output('oci:ContainerEngine/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult)
|
344
362
|
return __ret__.apply(lambda __response__: GetClusterResult(
|
@@ -359,6 +377,7 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
359
377
|
name=pulumi.get(__response__, 'name'),
|
360
378
|
open_id_connect_discovery_endpoint=pulumi.get(__response__, 'open_id_connect_discovery_endpoint'),
|
361
379
|
options=pulumi.get(__response__, 'options'),
|
380
|
+
should_include_oidc_config_file=pulumi.get(__response__, 'should_include_oidc_config_file'),
|
362
381
|
state=pulumi.get(__response__, 'state'),
|
363
382
|
type=pulumi.get(__response__, 'type'),
|
364
383
|
vcn_id=pulumi.get(__response__, 'vcn_id')))
|
@@ -823,11 +823,13 @@ class NodePool(pulumi.CustomResource):
|
|
823
823
|
},
|
824
824
|
node_eviction_node_pool_settings={
|
825
825
|
"eviction_grace_duration": node_pool_node_eviction_node_pool_settings_eviction_grace_duration,
|
826
|
+
"is_force_action_after_grace_duration": node_pool_node_eviction_node_pool_settings_is_force_action_after_grace_duration,
|
826
827
|
"is_force_delete_after_grace_duration": node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration,
|
827
828
|
},
|
828
829
|
node_image_name=test_image["name"],
|
829
830
|
node_metadata=node_pool_node_metadata,
|
830
831
|
node_pool_cycling_details={
|
832
|
+
"cycle_modes": node_pool_node_pool_cycling_details_cycle_modes,
|
831
833
|
"is_node_cycling_enabled": node_pool_node_pool_cycling_details_is_node_cycling_enabled,
|
832
834
|
"maximum_surge": node_pool_node_pool_cycling_details_maximum_surge,
|
833
835
|
"maximum_unavailable": node_pool_node_pool_cycling_details_maximum_unavailable,
|
@@ -945,11 +947,13 @@ class NodePool(pulumi.CustomResource):
|
|
945
947
|
},
|
946
948
|
node_eviction_node_pool_settings={
|
947
949
|
"eviction_grace_duration": node_pool_node_eviction_node_pool_settings_eviction_grace_duration,
|
950
|
+
"is_force_action_after_grace_duration": node_pool_node_eviction_node_pool_settings_is_force_action_after_grace_duration,
|
948
951
|
"is_force_delete_after_grace_duration": node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration,
|
949
952
|
},
|
950
953
|
node_image_name=test_image["name"],
|
951
954
|
node_metadata=node_pool_node_metadata,
|
952
955
|
node_pool_cycling_details={
|
956
|
+
"cycle_modes": node_pool_node_pool_cycling_details_cycle_modes,
|
953
957
|
"is_node_cycling_enabled": node_pool_node_pool_cycling_details_is_node_cycling_enabled,
|
954
958
|
"maximum_surge": node_pool_node_pool_cycling_details_maximum_surge,
|
955
959
|
"maximum_unavailable": node_pool_node_pool_cycling_details_maximum_unavailable,
|
@@ -3380,6 +3380,8 @@ class NodePoolNodeEvictionNodePoolSettings(dict):
|
|
3380
3380
|
suggest = None
|
3381
3381
|
if key == "evictionGraceDuration":
|
3382
3382
|
suggest = "eviction_grace_duration"
|
3383
|
+
elif key == "isForceActionAfterGraceDuration":
|
3384
|
+
suggest = "is_force_action_after_grace_duration"
|
3383
3385
|
elif key == "isForceDeleteAfterGraceDuration":
|
3384
3386
|
suggest = "is_force_delete_after_grace_duration"
|
3385
3387
|
|
@@ -3396,13 +3398,17 @@ class NodePoolNodeEvictionNodePoolSettings(dict):
|
|
3396
3398
|
|
3397
3399
|
def __init__(__self__, *,
|
3398
3400
|
eviction_grace_duration: Optional[builtins.str] = None,
|
3401
|
+
is_force_action_after_grace_duration: Optional[builtins.bool] = None,
|
3399
3402
|
is_force_delete_after_grace_duration: Optional[builtins.bool] = None):
|
3400
3403
|
"""
|
3401
3404
|
:param builtins.str eviction_grace_duration: (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
|
3405
|
+
:param builtins.bool is_force_action_after_grace_duration: (Updatable) If the node action should be performed if not all the pods can be evicted in the grace period
|
3402
3406
|
:param builtins.bool is_force_delete_after_grace_duration: (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
|
3403
3407
|
"""
|
3404
3408
|
if eviction_grace_duration is not None:
|
3405
3409
|
pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration)
|
3410
|
+
if is_force_action_after_grace_duration is not None:
|
3411
|
+
pulumi.set(__self__, "is_force_action_after_grace_duration", is_force_action_after_grace_duration)
|
3406
3412
|
if is_force_delete_after_grace_duration is not None:
|
3407
3413
|
pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration)
|
3408
3414
|
|
@@ -3414,6 +3420,14 @@ class NodePoolNodeEvictionNodePoolSettings(dict):
|
|
3414
3420
|
"""
|
3415
3421
|
return pulumi.get(self, "eviction_grace_duration")
|
3416
3422
|
|
3423
|
+
@property
|
3424
|
+
@pulumi.getter(name="isForceActionAfterGraceDuration")
|
3425
|
+
def is_force_action_after_grace_duration(self) -> Optional[builtins.bool]:
|
3426
|
+
"""
|
3427
|
+
(Updatable) If the node action should be performed if not all the pods can be evicted in the grace period
|
3428
|
+
"""
|
3429
|
+
return pulumi.get(self, "is_force_action_after_grace_duration")
|
3430
|
+
|
3417
3431
|
@property
|
3418
3432
|
@pulumi.getter(name="isForceDeleteAfterGraceDuration")
|
3419
3433
|
def is_force_delete_after_grace_duration(self) -> Optional[builtins.bool]:
|
@@ -3428,7 +3442,9 @@ class NodePoolNodePoolCyclingDetails(dict):
|
|
3428
3442
|
@staticmethod
|
3429
3443
|
def __key_warning(key: str):
|
3430
3444
|
suggest = None
|
3431
|
-
if key == "
|
3445
|
+
if key == "cycleModes":
|
3446
|
+
suggest = "cycle_modes"
|
3447
|
+
elif key == "isNodeCyclingEnabled":
|
3432
3448
|
suggest = "is_node_cycling_enabled"
|
3433
3449
|
elif key == "maximumSurge":
|
3434
3450
|
suggest = "maximum_surge"
|
@@ -3447,14 +3463,18 @@ class NodePoolNodePoolCyclingDetails(dict):
|
|
3447
3463
|
return super().get(key, default)
|
3448
3464
|
|
3449
3465
|
def __init__(__self__, *,
|
3466
|
+
cycle_modes: Optional[Sequence[builtins.str]] = None,
|
3450
3467
|
is_node_cycling_enabled: Optional[builtins.bool] = None,
|
3451
3468
|
maximum_surge: Optional[builtins.str] = None,
|
3452
3469
|
maximum_unavailable: Optional[builtins.str] = None):
|
3453
3470
|
"""
|
3454
|
-
:param builtins.
|
3471
|
+
:param Sequence[builtins.str] cycle_modes: (Updatable) An ordered list of cycle modes that should be performed on the OKE nodes.
|
3472
|
+
:param builtins.bool is_node_cycling_enabled: (Updatable) If cycling operation should be performed on the nodes in the node pool.
|
3455
3473
|
:param builtins.str maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
3456
3474
|
:param builtins.str maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
3457
3475
|
"""
|
3476
|
+
if cycle_modes is not None:
|
3477
|
+
pulumi.set(__self__, "cycle_modes", cycle_modes)
|
3458
3478
|
if is_node_cycling_enabled is not None:
|
3459
3479
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
3460
3480
|
if maximum_surge is not None:
|
@@ -3462,11 +3482,19 @@ class NodePoolNodePoolCyclingDetails(dict):
|
|
3462
3482
|
if maximum_unavailable is not None:
|
3463
3483
|
pulumi.set(__self__, "maximum_unavailable", maximum_unavailable)
|
3464
3484
|
|
3485
|
+
@property
|
3486
|
+
@pulumi.getter(name="cycleModes")
|
3487
|
+
def cycle_modes(self) -> Optional[Sequence[builtins.str]]:
|
3488
|
+
"""
|
3489
|
+
(Updatable) An ordered list of cycle modes that should be performed on the OKE nodes.
|
3490
|
+
"""
|
3491
|
+
return pulumi.get(self, "cycle_modes")
|
3492
|
+
|
3465
3493
|
@property
|
3466
3494
|
@pulumi.getter(name="isNodeCyclingEnabled")
|
3467
3495
|
def is_node_cycling_enabled(self) -> Optional[builtins.bool]:
|
3468
3496
|
"""
|
3469
|
-
(Updatable) If
|
3497
|
+
(Updatable) If cycling operation should be performed on the nodes in the node pool.
|
3470
3498
|
"""
|
3471
3499
|
return pulumi.get(self, "is_node_cycling_enabled")
|
3472
3500
|
|
@@ -6801,12 +6829,15 @@ class GetNodePoolNodeErrorResult(dict):
|
|
6801
6829
|
class GetNodePoolNodeEvictionNodePoolSettingResult(dict):
|
6802
6830
|
def __init__(__self__, *,
|
6803
6831
|
eviction_grace_duration: builtins.str,
|
6832
|
+
is_force_action_after_grace_duration: builtins.bool,
|
6804
6833
|
is_force_delete_after_grace_duration: builtins.bool):
|
6805
6834
|
"""
|
6806
6835
|
:param builtins.str eviction_grace_duration: Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
|
6836
|
+
:param builtins.bool is_force_action_after_grace_duration: If the node action should be performed if not all the pods can be evicted in the grace period
|
6807
6837
|
:param builtins.bool is_force_delete_after_grace_duration: If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
|
6808
6838
|
"""
|
6809
6839
|
pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration)
|
6840
|
+
pulumi.set(__self__, "is_force_action_after_grace_duration", is_force_action_after_grace_duration)
|
6810
6841
|
pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration)
|
6811
6842
|
|
6812
6843
|
@property
|
@@ -6817,6 +6848,14 @@ class GetNodePoolNodeEvictionNodePoolSettingResult(dict):
|
|
6817
6848
|
"""
|
6818
6849
|
return pulumi.get(self, "eviction_grace_duration")
|
6819
6850
|
|
6851
|
+
@property
|
6852
|
+
@pulumi.getter(name="isForceActionAfterGraceDuration")
|
6853
|
+
def is_force_action_after_grace_duration(self) -> builtins.bool:
|
6854
|
+
"""
|
6855
|
+
If the node action should be performed if not all the pods can be evicted in the grace period
|
6856
|
+
"""
|
6857
|
+
return pulumi.get(self, "is_force_action_after_grace_duration")
|
6858
|
+
|
6820
6859
|
@property
|
6821
6860
|
@pulumi.getter(name="isForceDeleteAfterGraceDuration")
|
6822
6861
|
def is_force_delete_after_grace_duration(self) -> builtins.bool:
|
@@ -6829,23 +6868,34 @@ class GetNodePoolNodeEvictionNodePoolSettingResult(dict):
|
|
6829
6868
|
@pulumi.output_type
|
6830
6869
|
class GetNodePoolNodePoolCyclingDetailResult(dict):
|
6831
6870
|
def __init__(__self__, *,
|
6871
|
+
cycle_modes: Sequence[builtins.str],
|
6832
6872
|
is_node_cycling_enabled: builtins.bool,
|
6833
6873
|
maximum_surge: builtins.str,
|
6834
6874
|
maximum_unavailable: builtins.str):
|
6835
6875
|
"""
|
6836
|
-
:param builtins.
|
6876
|
+
:param Sequence[builtins.str] cycle_modes: An ordered list of cycle modes that should be performed on the OKE nodes.
|
6877
|
+
:param builtins.bool is_node_cycling_enabled: If cycling operation should be performed on the nodes in the node pool.
|
6837
6878
|
:param builtins.str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
6838
6879
|
:param builtins.str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
6839
6880
|
"""
|
6881
|
+
pulumi.set(__self__, "cycle_modes", cycle_modes)
|
6840
6882
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
6841
6883
|
pulumi.set(__self__, "maximum_surge", maximum_surge)
|
6842
6884
|
pulumi.set(__self__, "maximum_unavailable", maximum_unavailable)
|
6843
6885
|
|
6886
|
+
@property
|
6887
|
+
@pulumi.getter(name="cycleModes")
|
6888
|
+
def cycle_modes(self) -> Sequence[builtins.str]:
|
6889
|
+
"""
|
6890
|
+
An ordered list of cycle modes that should be performed on the OKE nodes.
|
6891
|
+
"""
|
6892
|
+
return pulumi.get(self, "cycle_modes")
|
6893
|
+
|
6844
6894
|
@property
|
6845
6895
|
@pulumi.getter(name="isNodeCyclingEnabled")
|
6846
6896
|
def is_node_cycling_enabled(self) -> builtins.bool:
|
6847
6897
|
"""
|
6848
|
-
If
|
6898
|
+
If cycling operation should be performed on the nodes in the node pool.
|
6849
6899
|
"""
|
6850
6900
|
return pulumi.get(self, "is_node_cycling_enabled")
|
6851
6901
|
|
@@ -7775,12 +7825,15 @@ class GetNodePoolsNodePoolNodeErrorResult(dict):
|
|
7775
7825
|
class GetNodePoolsNodePoolNodeEvictionNodePoolSettingResult(dict):
|
7776
7826
|
def __init__(__self__, *,
|
7777
7827
|
eviction_grace_duration: builtins.str,
|
7828
|
+
is_force_action_after_grace_duration: builtins.bool,
|
7778
7829
|
is_force_delete_after_grace_duration: builtins.bool):
|
7779
7830
|
"""
|
7780
7831
|
:param builtins.str eviction_grace_duration: Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
|
7832
|
+
:param builtins.bool is_force_action_after_grace_duration: If the node action should be performed if not all the pods can be evicted in the grace period
|
7781
7833
|
:param builtins.bool is_force_delete_after_grace_duration: If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
|
7782
7834
|
"""
|
7783
7835
|
pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration)
|
7836
|
+
pulumi.set(__self__, "is_force_action_after_grace_duration", is_force_action_after_grace_duration)
|
7784
7837
|
pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration)
|
7785
7838
|
|
7786
7839
|
@property
|
@@ -7791,6 +7844,14 @@ class GetNodePoolsNodePoolNodeEvictionNodePoolSettingResult(dict):
|
|
7791
7844
|
"""
|
7792
7845
|
return pulumi.get(self, "eviction_grace_duration")
|
7793
7846
|
|
7847
|
+
@property
|
7848
|
+
@pulumi.getter(name="isForceActionAfterGraceDuration")
|
7849
|
+
def is_force_action_after_grace_duration(self) -> builtins.bool:
|
7850
|
+
"""
|
7851
|
+
If the node action should be performed if not all the pods can be evicted in the grace period
|
7852
|
+
"""
|
7853
|
+
return pulumi.get(self, "is_force_action_after_grace_duration")
|
7854
|
+
|
7794
7855
|
@property
|
7795
7856
|
@pulumi.getter(name="isForceDeleteAfterGraceDuration")
|
7796
7857
|
def is_force_delete_after_grace_duration(self) -> builtins.bool:
|
@@ -7803,23 +7864,34 @@ class GetNodePoolsNodePoolNodeEvictionNodePoolSettingResult(dict):
|
|
7803
7864
|
@pulumi.output_type
|
7804
7865
|
class GetNodePoolsNodePoolNodePoolCyclingDetailResult(dict):
|
7805
7866
|
def __init__(__self__, *,
|
7867
|
+
cycle_modes: Sequence[builtins.str],
|
7806
7868
|
is_node_cycling_enabled: builtins.bool,
|
7807
7869
|
maximum_surge: builtins.str,
|
7808
7870
|
maximum_unavailable: builtins.str):
|
7809
7871
|
"""
|
7810
|
-
:param builtins.
|
7872
|
+
:param Sequence[builtins.str] cycle_modes: An ordered list of cycle modes that should be performed on the OKE nodes.
|
7873
|
+
:param builtins.bool is_node_cycling_enabled: If cycling operation should be performed on the nodes in the node pool.
|
7811
7874
|
:param builtins.str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
7812
7875
|
:param builtins.str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
7813
7876
|
"""
|
7877
|
+
pulumi.set(__self__, "cycle_modes", cycle_modes)
|
7814
7878
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
7815
7879
|
pulumi.set(__self__, "maximum_surge", maximum_surge)
|
7816
7880
|
pulumi.set(__self__, "maximum_unavailable", maximum_unavailable)
|
7817
7881
|
|
7882
|
+
@property
|
7883
|
+
@pulumi.getter(name="cycleModes")
|
7884
|
+
def cycle_modes(self) -> Sequence[builtins.str]:
|
7885
|
+
"""
|
7886
|
+
An ordered list of cycle modes that should be performed on the OKE nodes.
|
7887
|
+
"""
|
7888
|
+
return pulumi.get(self, "cycle_modes")
|
7889
|
+
|
7818
7890
|
@property
|
7819
7891
|
@pulumi.getter(name="isNodeCyclingEnabled")
|
7820
7892
|
def is_node_cycling_enabled(self) -> builtins.bool:
|
7821
7893
|
"""
|
7822
|
-
If
|
7894
|
+
If cycling operation should be performed on the nodes in the node pool.
|
7823
7895
|
"""
|
7824
7896
|
return pulumi.get(self, "is_node_cycling_enabled")
|
7825
7897
|
|
pulumi_oci/database/_inputs.py
CHANGED
@@ -6495,7 +6495,7 @@ class AutonomousDatabaseResourcePoolSummaryArgs:
|
|
6495
6495
|
|
6496
6496
|
if not MYPY:
|
6497
6497
|
class AutonomousDatabaseScheduledOperationArgsDict(TypedDict):
|
6498
|
-
day_of_week: pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgsDict']
|
6498
|
+
day_of_week: NotRequired[pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgsDict']]
|
6499
6499
|
"""
|
6500
6500
|
(Updatable) Day of the week.
|
6501
6501
|
"""
|
@@ -6513,7 +6513,7 @@ elif False:
|
|
6513
6513
|
@pulumi.input_type
|
6514
6514
|
class AutonomousDatabaseScheduledOperationArgs:
|
6515
6515
|
def __init__(__self__, *,
|
6516
|
-
day_of_week: pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgs'],
|
6516
|
+
day_of_week: Optional[pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgs']] = None,
|
6517
6517
|
scheduled_start_time: Optional[pulumi.Input[builtins.str]] = None,
|
6518
6518
|
scheduled_stop_time: Optional[pulumi.Input[builtins.str]] = None):
|
6519
6519
|
"""
|
@@ -6521,7 +6521,8 @@ class AutonomousDatabaseScheduledOperationArgs:
|
|
6521
6521
|
:param pulumi.Input[builtins.str] scheduled_start_time: (Updatable) auto start time. value must be of ISO-8601 format "HH:mm"
|
6522
6522
|
:param pulumi.Input[builtins.str] scheduled_stop_time: (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm"
|
6523
6523
|
"""
|
6524
|
-
|
6524
|
+
if day_of_week is not None:
|
6525
|
+
pulumi.set(__self__, "day_of_week", day_of_week)
|
6525
6526
|
if scheduled_start_time is not None:
|
6526
6527
|
pulumi.set(__self__, "scheduled_start_time", scheduled_start_time)
|
6527
6528
|
if scheduled_stop_time is not None:
|
@@ -6529,14 +6530,14 @@ class AutonomousDatabaseScheduledOperationArgs:
|
|
6529
6530
|
|
6530
6531
|
@property
|
6531
6532
|
@pulumi.getter(name="dayOfWeek")
|
6532
|
-
def day_of_week(self) -> pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgs']:
|
6533
|
+
def day_of_week(self) -> Optional[pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgs']]:
|
6533
6534
|
"""
|
6534
6535
|
(Updatable) Day of the week.
|
6535
6536
|
"""
|
6536
6537
|
return pulumi.get(self, "day_of_week")
|
6537
6538
|
|
6538
6539
|
@day_of_week.setter
|
6539
|
-
def day_of_week(self, value: pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgs']):
|
6540
|
+
def day_of_week(self, value: Optional[pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgs']]):
|
6540
6541
|
pulumi.set(self, "day_of_week", value)
|
6541
6542
|
|
6542
6543
|
@property
|