pulumi-oci 1.34.0a1714766740__py3-none-any.whl → 1.35.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/database/_inputs.py +112 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
- pulumi_oci/database/cloud_vm_cluster.py +55 -0
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +14 -1
- pulumi_oci/database/outputs.py +316 -6
- pulumi_oci/disasterrecovery/_inputs.py +16 -0
- pulumi_oci/disasterrecovery/outputs.py +36 -0
- pulumi_oci/loadbalancer/_inputs.py +144 -20
- pulumi_oci/loadbalancer/backend.py +49 -0
- pulumi_oci/loadbalancer/backend_set.py +57 -0
- pulumi_oci/loadbalancer/get_listener_rules.py +2 -2
- pulumi_oci/loadbalancer/load_balancer.py +98 -7
- pulumi_oci/loadbalancer/outputs.py +361 -36
- pulumi_oci/loadbalancer/rule_set.py +10 -0
- pulumi_oci/provider.py +0 -8
- {pulumi_oci-1.34.0a1714766740.dist-info → pulumi_oci-1.35.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.34.0a1714766740.dist-info → pulumi_oci-1.35.0.dist-info}/RECORD +20 -20
- {pulumi_oci-1.34.0a1714766740.dist-info → pulumi_oci-1.35.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.34.0a1714766740.dist-info → pulumi_oci-1.35.0.dist-info}/top_level.txt +0 -0
@@ -19,6 +19,7 @@ class BackendSetArgs:
|
|
19
19
|
health_checker: pulumi.Input['BackendSetHealthCheckerArgs'],
|
20
20
|
load_balancer_id: pulumi.Input[str],
|
21
21
|
policy: pulumi.Input[str],
|
22
|
+
backend_max_connections: Optional[pulumi.Input[int]] = None,
|
22
23
|
lb_cookie_session_persistence_configuration: Optional[pulumi.Input['BackendSetLbCookieSessionPersistenceConfigurationArgs']] = None,
|
23
24
|
name: Optional[pulumi.Input[str]] = None,
|
24
25
|
session_persistence_configuration: Optional[pulumi.Input['BackendSetSessionPersistenceConfigurationArgs']] = None,
|
@@ -28,6 +29,7 @@ class BackendSetArgs:
|
|
28
29
|
:param pulumi.Input['BackendSetHealthCheckerArgs'] health_checker: (Updatable) The health check policy's configuration details.
|
29
30
|
:param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a backend set.
|
30
31
|
:param pulumi.Input[str] policy: (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the [ListPolicies](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerPolicy/ListPolicies) operation. Example: `LEAST_CONNECTIONS`
|
32
|
+
:param pulumi.Input[int] backend_max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited. Example: `300`
|
31
33
|
:param pulumi.Input['BackendSetLbCookieSessionPersistenceConfigurationArgs'] lb_cookie_session_persistence_configuration: (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
|
32
34
|
|
33
35
|
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see [Session Persistence](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/sessionpersistence.htm).
|
@@ -68,6 +70,8 @@ class BackendSetArgs:
|
|
68
70
|
pulumi.set(__self__, "health_checker", health_checker)
|
69
71
|
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
|
70
72
|
pulumi.set(__self__, "policy", policy)
|
73
|
+
if backend_max_connections is not None:
|
74
|
+
pulumi.set(__self__, "backend_max_connections", backend_max_connections)
|
71
75
|
if lb_cookie_session_persistence_configuration is not None:
|
72
76
|
pulumi.set(__self__, "lb_cookie_session_persistence_configuration", lb_cookie_session_persistence_configuration)
|
73
77
|
if name is not None:
|
@@ -113,6 +117,18 @@ class BackendSetArgs:
|
|
113
117
|
def policy(self, value: pulumi.Input[str]):
|
114
118
|
pulumi.set(self, "policy", value)
|
115
119
|
|
120
|
+
@property
|
121
|
+
@pulumi.getter(name="backendMaxConnections")
|
122
|
+
def backend_max_connections(self) -> Optional[pulumi.Input[int]]:
|
123
|
+
"""
|
124
|
+
(Updatable) The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited. Example: `300`
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "backend_max_connections")
|
127
|
+
|
128
|
+
@backend_max_connections.setter
|
129
|
+
def backend_max_connections(self, value: Optional[pulumi.Input[int]]):
|
130
|
+
pulumi.set(self, "backend_max_connections", value)
|
131
|
+
|
116
132
|
@property
|
117
133
|
@pulumi.getter(name="lbCookieSessionPersistenceConfiguration")
|
118
134
|
def lb_cookie_session_persistence_configuration(self) -> Optional[pulumi.Input['BackendSetLbCookieSessionPersistenceConfigurationArgs']]:
|
@@ -197,6 +213,7 @@ class BackendSetArgs:
|
|
197
213
|
@pulumi.input_type
|
198
214
|
class _BackendSetState:
|
199
215
|
def __init__(__self__, *,
|
216
|
+
backend_max_connections: Optional[pulumi.Input[int]] = None,
|
200
217
|
backends: Optional[pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]]] = None,
|
201
218
|
health_checker: Optional[pulumi.Input['BackendSetHealthCheckerArgs']] = None,
|
202
219
|
lb_cookie_session_persistence_configuration: Optional[pulumi.Input['BackendSetLbCookieSessionPersistenceConfigurationArgs']] = None,
|
@@ -208,6 +225,8 @@ class _BackendSetState:
|
|
208
225
|
state: Optional[pulumi.Input[str]] = None):
|
209
226
|
"""
|
210
227
|
Input properties used for looking up and filtering BackendSet resources.
|
228
|
+
:param pulumi.Input[int] backend_max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited. Example: `300`
|
229
|
+
:param pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]] backends: (Updatable)
|
211
230
|
:param pulumi.Input['BackendSetHealthCheckerArgs'] health_checker: (Updatable) The health check policy's configuration details.
|
212
231
|
:param pulumi.Input['BackendSetLbCookieSessionPersistenceConfigurationArgs'] lb_cookie_session_persistence_configuration: (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
|
213
232
|
|
@@ -248,6 +267,8 @@ class _BackendSetState:
|
|
248
267
|
|
249
268
|
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
250
269
|
"""
|
270
|
+
if backend_max_connections is not None:
|
271
|
+
pulumi.set(__self__, "backend_max_connections", backend_max_connections)
|
251
272
|
if backends is not None:
|
252
273
|
pulumi.set(__self__, "backends", backends)
|
253
274
|
if health_checker is not None:
|
@@ -267,9 +288,24 @@ class _BackendSetState:
|
|
267
288
|
if state is not None:
|
268
289
|
pulumi.set(__self__, "state", state)
|
269
290
|
|
291
|
+
@property
|
292
|
+
@pulumi.getter(name="backendMaxConnections")
|
293
|
+
def backend_max_connections(self) -> Optional[pulumi.Input[int]]:
|
294
|
+
"""
|
295
|
+
(Updatable) The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited. Example: `300`
|
296
|
+
"""
|
297
|
+
return pulumi.get(self, "backend_max_connections")
|
298
|
+
|
299
|
+
@backend_max_connections.setter
|
300
|
+
def backend_max_connections(self, value: Optional[pulumi.Input[int]]):
|
301
|
+
pulumi.set(self, "backend_max_connections", value)
|
302
|
+
|
270
303
|
@property
|
271
304
|
@pulumi.getter
|
272
305
|
def backends(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]]]:
|
306
|
+
"""
|
307
|
+
(Updatable)
|
308
|
+
"""
|
273
309
|
return pulumi.get(self, "backends")
|
274
310
|
|
275
311
|
@backends.setter
|
@@ -407,6 +443,7 @@ class BackendSet(pulumi.CustomResource):
|
|
407
443
|
def __init__(__self__,
|
408
444
|
resource_name: str,
|
409
445
|
opts: Optional[pulumi.ResourceOptions] = None,
|
446
|
+
backend_max_connections: Optional[pulumi.Input[int]] = None,
|
410
447
|
health_checker: Optional[pulumi.Input[pulumi.InputType['BackendSetHealthCheckerArgs']]] = None,
|
411
448
|
lb_cookie_session_persistence_configuration: Optional[pulumi.Input[pulumi.InputType['BackendSetLbCookieSessionPersistenceConfigurationArgs']]] = None,
|
412
449
|
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
@@ -445,6 +482,7 @@ class BackendSet(pulumi.CustomResource):
|
|
445
482
|
load_balancer_id=test_load_balancer["id"],
|
446
483
|
name=backend_set_name,
|
447
484
|
policy=backend_set_policy,
|
485
|
+
backend_max_connections=backend_set_backend_max_connections,
|
448
486
|
lb_cookie_session_persistence_configuration=oci.load_balancer.BackendSetLbCookieSessionPersistenceConfigurationArgs(
|
449
487
|
cookie_name=backend_set_lb_cookie_session_persistence_configuration_cookie_name,
|
450
488
|
disable_fallback=backend_set_lb_cookie_session_persistence_configuration_disable_fallback,
|
@@ -483,6 +521,7 @@ class BackendSet(pulumi.CustomResource):
|
|
483
521
|
|
484
522
|
:param str resource_name: The name of the resource.
|
485
523
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
524
|
+
:param pulumi.Input[int] backend_max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited. Example: `300`
|
486
525
|
:param pulumi.Input[pulumi.InputType['BackendSetHealthCheckerArgs']] health_checker: (Updatable) The health check policy's configuration details.
|
487
526
|
:param pulumi.Input[pulumi.InputType['BackendSetLbCookieSessionPersistenceConfigurationArgs']] lb_cookie_session_persistence_configuration: (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
|
488
527
|
|
@@ -559,6 +598,7 @@ class BackendSet(pulumi.CustomResource):
|
|
559
598
|
load_balancer_id=test_load_balancer["id"],
|
560
599
|
name=backend_set_name,
|
561
600
|
policy=backend_set_policy,
|
601
|
+
backend_max_connections=backend_set_backend_max_connections,
|
562
602
|
lb_cookie_session_persistence_configuration=oci.load_balancer.BackendSetLbCookieSessionPersistenceConfigurationArgs(
|
563
603
|
cookie_name=backend_set_lb_cookie_session_persistence_configuration_cookie_name,
|
564
604
|
disable_fallback=backend_set_lb_cookie_session_persistence_configuration_disable_fallback,
|
@@ -610,6 +650,7 @@ class BackendSet(pulumi.CustomResource):
|
|
610
650
|
def _internal_init(__self__,
|
611
651
|
resource_name: str,
|
612
652
|
opts: Optional[pulumi.ResourceOptions] = None,
|
653
|
+
backend_max_connections: Optional[pulumi.Input[int]] = None,
|
613
654
|
health_checker: Optional[pulumi.Input[pulumi.InputType['BackendSetHealthCheckerArgs']]] = None,
|
614
655
|
lb_cookie_session_persistence_configuration: Optional[pulumi.Input[pulumi.InputType['BackendSetLbCookieSessionPersistenceConfigurationArgs']]] = None,
|
615
656
|
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
@@ -626,6 +667,7 @@ class BackendSet(pulumi.CustomResource):
|
|
626
667
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
627
668
|
__props__ = BackendSetArgs.__new__(BackendSetArgs)
|
628
669
|
|
670
|
+
__props__.__dict__["backend_max_connections"] = backend_max_connections
|
629
671
|
if health_checker is None and not opts.urn:
|
630
672
|
raise TypeError("Missing required property 'health_checker'")
|
631
673
|
__props__.__dict__["health_checker"] = health_checker
|
@@ -651,6 +693,7 @@ class BackendSet(pulumi.CustomResource):
|
|
651
693
|
def get(resource_name: str,
|
652
694
|
id: pulumi.Input[str],
|
653
695
|
opts: Optional[pulumi.ResourceOptions] = None,
|
696
|
+
backend_max_connections: Optional[pulumi.Input[int]] = None,
|
654
697
|
backends: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BackendSetBackendArgs']]]]] = None,
|
655
698
|
health_checker: Optional[pulumi.Input[pulumi.InputType['BackendSetHealthCheckerArgs']]] = None,
|
656
699
|
lb_cookie_session_persistence_configuration: Optional[pulumi.Input[pulumi.InputType['BackendSetLbCookieSessionPersistenceConfigurationArgs']]] = None,
|
@@ -667,6 +710,8 @@ class BackendSet(pulumi.CustomResource):
|
|
667
710
|
:param str resource_name: The unique name of the resulting resource.
|
668
711
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
669
712
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
713
|
+
:param pulumi.Input[int] backend_max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited. Example: `300`
|
714
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BackendSetBackendArgs']]]] backends: (Updatable)
|
670
715
|
:param pulumi.Input[pulumi.InputType['BackendSetHealthCheckerArgs']] health_checker: (Updatable) The health check policy's configuration details.
|
671
716
|
:param pulumi.Input[pulumi.InputType['BackendSetLbCookieSessionPersistenceConfigurationArgs']] lb_cookie_session_persistence_configuration: (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
|
672
717
|
|
@@ -711,6 +756,7 @@ class BackendSet(pulumi.CustomResource):
|
|
711
756
|
|
712
757
|
__props__ = _BackendSetState.__new__(_BackendSetState)
|
713
758
|
|
759
|
+
__props__.__dict__["backend_max_connections"] = backend_max_connections
|
714
760
|
__props__.__dict__["backends"] = backends
|
715
761
|
__props__.__dict__["health_checker"] = health_checker
|
716
762
|
__props__.__dict__["lb_cookie_session_persistence_configuration"] = lb_cookie_session_persistence_configuration
|
@@ -722,9 +768,20 @@ class BackendSet(pulumi.CustomResource):
|
|
722
768
|
__props__.__dict__["state"] = state
|
723
769
|
return BackendSet(resource_name, opts=opts, __props__=__props__)
|
724
770
|
|
771
|
+
@property
|
772
|
+
@pulumi.getter(name="backendMaxConnections")
|
773
|
+
def backend_max_connections(self) -> pulumi.Output[int]:
|
774
|
+
"""
|
775
|
+
(Updatable) The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited. Example: `300`
|
776
|
+
"""
|
777
|
+
return pulumi.get(self, "backend_max_connections")
|
778
|
+
|
725
779
|
@property
|
726
780
|
@pulumi.getter
|
727
781
|
def backends(self) -> pulumi.Output[Sequence['outputs.BackendSetBackend']]:
|
782
|
+
"""
|
783
|
+
(Updatable)
|
784
|
+
"""
|
728
785
|
return pulumi.get(self, "backends")
|
729
786
|
|
730
787
|
@property
|
@@ -111,7 +111,7 @@ def get_listener_rules(filters: Optional[Sequence[pulumi.InputType['GetListenerR
|
|
111
111
|
```
|
112
112
|
|
113
113
|
|
114
|
-
:param str listener_name: The name of the listener the rules are associated with.
|
114
|
+
:param str listener_name: The name of the listener the rules are associated with. Example: `example_listener`
|
115
115
|
:param str load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener.
|
116
116
|
"""
|
117
117
|
__args__ = dict()
|
@@ -156,7 +156,7 @@ def get_listener_rules_output(filters: Optional[pulumi.Input[Optional[Sequence[p
|
|
156
156
|
```
|
157
157
|
|
158
158
|
|
159
|
-
:param str listener_name: The name of the listener the rules are associated with.
|
159
|
+
:param str listener_name: The name of the listener the rules are associated with. Example: `example_listener`
|
160
160
|
:param str load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener.
|
161
161
|
"""
|
162
162
|
...
|
@@ -23,6 +23,7 @@ class LoadBalancerArgs:
|
|
23
23
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
24
24
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
25
25
|
ip_mode: Optional[pulumi.Input[str]] = None,
|
26
|
+
is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
26
27
|
is_private: Optional[pulumi.Input[bool]] = None,
|
27
28
|
network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
29
|
reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]]] = None,
|
@@ -31,7 +32,7 @@ class LoadBalancerArgs:
|
|
31
32
|
The set of arguments for constructing a LoadBalancer resource.
|
32
33
|
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to create the load balancer.
|
33
34
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `example_load_balancer`
|
34
|
-
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE:
|
35
|
+
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`.
|
35
36
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: An array of subnet [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
36
37
|
|
37
38
|
|
@@ -46,6 +47,13 @@ class LoadBalancerArgs:
|
|
46
47
|
If "IPV6", the service assigns an IPv6 address and the load balancer supports IPv6 traffic.
|
47
48
|
|
48
49
|
Example: "ipMode":"IPV6"
|
50
|
+
:param pulumi.Input[bool] is_delete_protection_enabled: (Updatable) Whether or not the load balancer has delete protection enabled.
|
51
|
+
|
52
|
+
If "true", the loadbalancer will be protected against deletion if configured to accept traffic.
|
53
|
+
|
54
|
+
If "false", the loadbalancer will not be protected against deletion.
|
55
|
+
|
56
|
+
Delete protection will not be enabled unless a value of "true" is provided. Example: `true`
|
49
57
|
:param pulumi.Input[bool] is_private: Whether the load balancer has a VCN-local (private) IP address.
|
50
58
|
|
51
59
|
If "true", the service assigns a private IP address to the load balancer.
|
@@ -77,6 +85,8 @@ class LoadBalancerArgs:
|
|
77
85
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
78
86
|
if ip_mode is not None:
|
79
87
|
pulumi.set(__self__, "ip_mode", ip_mode)
|
88
|
+
if is_delete_protection_enabled is not None:
|
89
|
+
pulumi.set(__self__, "is_delete_protection_enabled", is_delete_protection_enabled)
|
80
90
|
if is_private is not None:
|
81
91
|
pulumi.set(__self__, "is_private", is_private)
|
82
92
|
if network_security_group_ids is not None:
|
@@ -114,7 +124,7 @@ class LoadBalancerArgs:
|
|
114
124
|
@pulumi.getter
|
115
125
|
def shape(self) -> pulumi.Input[str]:
|
116
126
|
"""
|
117
|
-
(Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE:
|
127
|
+
(Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`.
|
118
128
|
"""
|
119
129
|
return pulumi.get(self, "shape")
|
120
130
|
|
@@ -180,6 +190,24 @@ class LoadBalancerArgs:
|
|
180
190
|
def ip_mode(self, value: Optional[pulumi.Input[str]]):
|
181
191
|
pulumi.set(self, "ip_mode", value)
|
182
192
|
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="isDeleteProtectionEnabled")
|
195
|
+
def is_delete_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
|
196
|
+
"""
|
197
|
+
(Updatable) Whether or not the load balancer has delete protection enabled.
|
198
|
+
|
199
|
+
If "true", the loadbalancer will be protected against deletion if configured to accept traffic.
|
200
|
+
|
201
|
+
If "false", the loadbalancer will not be protected against deletion.
|
202
|
+
|
203
|
+
Delete protection will not be enabled unless a value of "true" is provided. Example: `true`
|
204
|
+
"""
|
205
|
+
return pulumi.get(self, "is_delete_protection_enabled")
|
206
|
+
|
207
|
+
@is_delete_protection_enabled.setter
|
208
|
+
def is_delete_protection_enabled(self, value: Optional[pulumi.Input[bool]]):
|
209
|
+
pulumi.set(self, "is_delete_protection_enabled", value)
|
210
|
+
|
183
211
|
@property
|
184
212
|
@pulumi.getter(name="isPrivate")
|
185
213
|
def is_private(self) -> Optional[pulumi.Input[bool]]:
|
@@ -255,6 +283,7 @@ class _LoadBalancerState:
|
|
255
283
|
ip_address_details: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerIpAddressDetailArgs']]]] = None,
|
256
284
|
ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
257
285
|
ip_mode: Optional[pulumi.Input[str]] = None,
|
286
|
+
is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
258
287
|
is_private: Optional[pulumi.Input[bool]] = None,
|
259
288
|
network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
260
289
|
reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]]] = None,
|
@@ -279,6 +308,13 @@ class _LoadBalancerState:
|
|
279
308
|
If "IPV6", the service assigns an IPv6 address and the load balancer supports IPv6 traffic.
|
280
309
|
|
281
310
|
Example: "ipMode":"IPV6"
|
311
|
+
:param pulumi.Input[bool] is_delete_protection_enabled: (Updatable) Whether or not the load balancer has delete protection enabled.
|
312
|
+
|
313
|
+
If "true", the loadbalancer will be protected against deletion if configured to accept traffic.
|
314
|
+
|
315
|
+
If "false", the loadbalancer will not be protected against deletion.
|
316
|
+
|
317
|
+
Delete protection will not be enabled unless a value of "true" is provided. Example: `true`
|
282
318
|
:param pulumi.Input[bool] is_private: Whether the load balancer has a VCN-local (private) IP address.
|
283
319
|
|
284
320
|
If "true", the service assigns a private IP address to the load balancer.
|
@@ -298,7 +334,7 @@ class _LoadBalancerState:
|
|
298
334
|
|
299
335
|
Example: `["ocid1.nsg.oc1.phx.unique_ID"]`
|
300
336
|
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]] reserved_ips: An array of reserved Ips. Pre-created public IP that will be used as the IP of this load balancer. This reserved IP will not be deleted when load balancer is deleted. This ip should not be already mapped to any other resource.
|
301
|
-
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE:
|
337
|
+
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`.
|
302
338
|
:param pulumi.Input['LoadBalancerShapeDetailsArgs'] shape_details: (Updatable) The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`.
|
303
339
|
:param pulumi.Input[str] state: The current state of the load balancer.
|
304
340
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: An array of subnet [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
@@ -326,6 +362,8 @@ class _LoadBalancerState:
|
|
326
362
|
pulumi.set(__self__, "ip_addresses", ip_addresses)
|
327
363
|
if ip_mode is not None:
|
328
364
|
pulumi.set(__self__, "ip_mode", ip_mode)
|
365
|
+
if is_delete_protection_enabled is not None:
|
366
|
+
pulumi.set(__self__, "is_delete_protection_enabled", is_delete_protection_enabled)
|
329
367
|
if is_private is not None:
|
330
368
|
pulumi.set(__self__, "is_private", is_private)
|
331
369
|
if network_security_group_ids is not None:
|
@@ -438,6 +476,24 @@ class _LoadBalancerState:
|
|
438
476
|
def ip_mode(self, value: Optional[pulumi.Input[str]]):
|
439
477
|
pulumi.set(self, "ip_mode", value)
|
440
478
|
|
479
|
+
@property
|
480
|
+
@pulumi.getter(name="isDeleteProtectionEnabled")
|
481
|
+
def is_delete_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
|
482
|
+
"""
|
483
|
+
(Updatable) Whether or not the load balancer has delete protection enabled.
|
484
|
+
|
485
|
+
If "true", the loadbalancer will be protected against deletion if configured to accept traffic.
|
486
|
+
|
487
|
+
If "false", the loadbalancer will not be protected against deletion.
|
488
|
+
|
489
|
+
Delete protection will not be enabled unless a value of "true" is provided. Example: `true`
|
490
|
+
"""
|
491
|
+
return pulumi.get(self, "is_delete_protection_enabled")
|
492
|
+
|
493
|
+
@is_delete_protection_enabled.setter
|
494
|
+
def is_delete_protection_enabled(self, value: Optional[pulumi.Input[bool]]):
|
495
|
+
pulumi.set(self, "is_delete_protection_enabled", value)
|
496
|
+
|
441
497
|
@property
|
442
498
|
@pulumi.getter(name="isPrivate")
|
443
499
|
def is_private(self) -> Optional[pulumi.Input[bool]]:
|
@@ -494,7 +550,7 @@ class _LoadBalancerState:
|
|
494
550
|
@pulumi.getter
|
495
551
|
def shape(self) -> Optional[pulumi.Input[str]]:
|
496
552
|
"""
|
497
|
-
(Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE:
|
553
|
+
(Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`.
|
498
554
|
"""
|
499
555
|
return pulumi.get(self, "shape")
|
500
556
|
|
@@ -577,6 +633,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
577
633
|
display_name: Optional[pulumi.Input[str]] = None,
|
578
634
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
579
635
|
ip_mode: Optional[pulumi.Input[str]] = None,
|
636
|
+
is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
580
637
|
is_private: Optional[pulumi.Input[bool]] = None,
|
581
638
|
network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
582
639
|
reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerReservedIpArgs']]]]] = None,
|
@@ -634,6 +691,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
634
691
|
"Department": "Finance",
|
635
692
|
},
|
636
693
|
ip_mode=load_balancer_ip_mode,
|
694
|
+
is_delete_protection_enabled=load_balancer_is_delete_protection_enabled,
|
637
695
|
is_private=load_balancer_is_private,
|
638
696
|
network_security_group_ids=load_balancer_network_security_group_ids,
|
639
697
|
reserved_ips=[oci.load_balancer.LoadBalancerReservedIpArgs(
|
@@ -666,6 +724,13 @@ class LoadBalancer(pulumi.CustomResource):
|
|
666
724
|
If "IPV6", the service assigns an IPv6 address and the load balancer supports IPv6 traffic.
|
667
725
|
|
668
726
|
Example: "ipMode":"IPV6"
|
727
|
+
:param pulumi.Input[bool] is_delete_protection_enabled: (Updatable) Whether or not the load balancer has delete protection enabled.
|
728
|
+
|
729
|
+
If "true", the loadbalancer will be protected against deletion if configured to accept traffic.
|
730
|
+
|
731
|
+
If "false", the loadbalancer will not be protected against deletion.
|
732
|
+
|
733
|
+
Delete protection will not be enabled unless a value of "true" is provided. Example: `true`
|
669
734
|
:param pulumi.Input[bool] is_private: Whether the load balancer has a VCN-local (private) IP address.
|
670
735
|
|
671
736
|
If "true", the service assigns a private IP address to the load balancer.
|
@@ -685,7 +750,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
685
750
|
|
686
751
|
Example: `["ocid1.nsg.oc1.phx.unique_ID"]`
|
687
752
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerReservedIpArgs']]]] reserved_ips: An array of reserved Ips. Pre-created public IP that will be used as the IP of this load balancer. This reserved IP will not be deleted when load balancer is deleted. This ip should not be already mapped to any other resource.
|
688
|
-
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE:
|
753
|
+
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`.
|
689
754
|
:param pulumi.Input[pulumi.InputType['LoadBalancerShapeDetailsArgs']] shape_details: (Updatable) The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`.
|
690
755
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: An array of subnet [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
691
756
|
|
@@ -749,6 +814,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
749
814
|
"Department": "Finance",
|
750
815
|
},
|
751
816
|
ip_mode=load_balancer_ip_mode,
|
817
|
+
is_delete_protection_enabled=load_balancer_is_delete_protection_enabled,
|
752
818
|
is_private=load_balancer_is_private,
|
753
819
|
network_security_group_ids=load_balancer_network_security_group_ids,
|
754
820
|
reserved_ips=[oci.load_balancer.LoadBalancerReservedIpArgs(
|
@@ -788,6 +854,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
788
854
|
display_name: Optional[pulumi.Input[str]] = None,
|
789
855
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
790
856
|
ip_mode: Optional[pulumi.Input[str]] = None,
|
857
|
+
is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
791
858
|
is_private: Optional[pulumi.Input[bool]] = None,
|
792
859
|
network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
793
860
|
reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerReservedIpArgs']]]]] = None,
|
@@ -812,6 +879,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
812
879
|
__props__.__dict__["display_name"] = display_name
|
813
880
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
814
881
|
__props__.__dict__["ip_mode"] = ip_mode
|
882
|
+
__props__.__dict__["is_delete_protection_enabled"] = is_delete_protection_enabled
|
815
883
|
__props__.__dict__["is_private"] = is_private
|
816
884
|
__props__.__dict__["network_security_group_ids"] = network_security_group_ids
|
817
885
|
__props__.__dict__["reserved_ips"] = reserved_ips
|
@@ -844,6 +912,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
844
912
|
ip_address_details: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerIpAddressDetailArgs']]]]] = None,
|
845
913
|
ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
846
914
|
ip_mode: Optional[pulumi.Input[str]] = None,
|
915
|
+
is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
847
916
|
is_private: Optional[pulumi.Input[bool]] = None,
|
848
917
|
network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
849
918
|
reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerReservedIpArgs']]]]] = None,
|
@@ -873,6 +942,13 @@ class LoadBalancer(pulumi.CustomResource):
|
|
873
942
|
If "IPV6", the service assigns an IPv6 address and the load balancer supports IPv6 traffic.
|
874
943
|
|
875
944
|
Example: "ipMode":"IPV6"
|
945
|
+
:param pulumi.Input[bool] is_delete_protection_enabled: (Updatable) Whether or not the load balancer has delete protection enabled.
|
946
|
+
|
947
|
+
If "true", the loadbalancer will be protected against deletion if configured to accept traffic.
|
948
|
+
|
949
|
+
If "false", the loadbalancer will not be protected against deletion.
|
950
|
+
|
951
|
+
Delete protection will not be enabled unless a value of "true" is provided. Example: `true`
|
876
952
|
:param pulumi.Input[bool] is_private: Whether the load balancer has a VCN-local (private) IP address.
|
877
953
|
|
878
954
|
If "true", the service assigns a private IP address to the load balancer.
|
@@ -892,7 +968,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
892
968
|
|
893
969
|
Example: `["ocid1.nsg.oc1.phx.unique_ID"]`
|
894
970
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerReservedIpArgs']]]] reserved_ips: An array of reserved Ips. Pre-created public IP that will be used as the IP of this load balancer. This reserved IP will not be deleted when load balancer is deleted. This ip should not be already mapped to any other resource.
|
895
|
-
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE:
|
971
|
+
:param pulumi.Input[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`.
|
896
972
|
:param pulumi.Input[pulumi.InputType['LoadBalancerShapeDetailsArgs']] shape_details: (Updatable) The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`.
|
897
973
|
:param pulumi.Input[str] state: The current state of the load balancer.
|
898
974
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: An array of subnet [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
@@ -914,6 +990,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
914
990
|
__props__.__dict__["ip_address_details"] = ip_address_details
|
915
991
|
__props__.__dict__["ip_addresses"] = ip_addresses
|
916
992
|
__props__.__dict__["ip_mode"] = ip_mode
|
993
|
+
__props__.__dict__["is_delete_protection_enabled"] = is_delete_protection_enabled
|
917
994
|
__props__.__dict__["is_private"] = is_private
|
918
995
|
__props__.__dict__["network_security_group_ids"] = network_security_group_ids
|
919
996
|
__props__.__dict__["reserved_ips"] = reserved_ips
|
@@ -990,6 +1067,20 @@ class LoadBalancer(pulumi.CustomResource):
|
|
990
1067
|
"""
|
991
1068
|
return pulumi.get(self, "ip_mode")
|
992
1069
|
|
1070
|
+
@property
|
1071
|
+
@pulumi.getter(name="isDeleteProtectionEnabled")
|
1072
|
+
def is_delete_protection_enabled(self) -> pulumi.Output[bool]:
|
1073
|
+
"""
|
1074
|
+
(Updatable) Whether or not the load balancer has delete protection enabled.
|
1075
|
+
|
1076
|
+
If "true", the loadbalancer will be protected against deletion if configured to accept traffic.
|
1077
|
+
|
1078
|
+
If "false", the loadbalancer will not be protected against deletion.
|
1079
|
+
|
1080
|
+
Delete protection will not be enabled unless a value of "true" is provided. Example: `true`
|
1081
|
+
"""
|
1082
|
+
return pulumi.get(self, "is_delete_protection_enabled")
|
1083
|
+
|
993
1084
|
@property
|
994
1085
|
@pulumi.getter(name="isPrivate")
|
995
1086
|
def is_private(self) -> pulumi.Output[bool]:
|
@@ -1034,7 +1125,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
1034
1125
|
@pulumi.getter
|
1035
1126
|
def shape(self) -> pulumi.Output[str]:
|
1036
1127
|
"""
|
1037
|
-
(Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE:
|
1128
|
+
(Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`.
|
1038
1129
|
"""
|
1039
1130
|
return pulumi.get(self, "shape")
|
1040
1131
|
|