pulumi-oci 1.35.0a1715235617__py3-none-any.whl → 1.35.0a1715356469__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.35.0a1715235617.dist-info → pulumi_oci-1.35.0a1715356469.dist-info}/METADATA +1 -1
- {pulumi_oci-1.35.0a1715235617.dist-info → pulumi_oci-1.35.0a1715356469.dist-info}/RECORD +20 -20
- {pulumi_oci-1.35.0a1715235617.dist-info → pulumi_oci-1.35.0a1715356469.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.35.0a1715235617.dist-info → pulumi_oci-1.35.0a1715356469.dist-info}/top_level.txt +0 -0
@@ -27,6 +27,7 @@ __all__ = [
|
|
27
27
|
'PathRouteSetPathRoutePathMatchTypeArgs',
|
28
28
|
'RuleSetItemArgs',
|
29
29
|
'RuleSetItemConditionArgs',
|
30
|
+
'RuleSetItemIpMaxConnectionArgs',
|
30
31
|
'RuleSetItemRedirectUriArgs',
|
31
32
|
'GetBackendSetsFilterArgs',
|
32
33
|
'GetBackendsFilterArgs',
|
@@ -50,21 +51,27 @@ class BackendSetBackendArgs:
|
|
50
51
|
port: pulumi.Input[int],
|
51
52
|
backup: Optional[pulumi.Input[bool]] = None,
|
52
53
|
drain: Optional[pulumi.Input[bool]] = None,
|
54
|
+
max_connections: Optional[pulumi.Input[int]] = None,
|
53
55
|
name: Optional[pulumi.Input[str]] = None,
|
54
56
|
offline: Optional[pulumi.Input[bool]] = None,
|
55
57
|
weight: Optional[pulumi.Input[int]] = None):
|
56
58
|
"""
|
57
|
-
:param pulumi.Input[str] ip_address: The IP address of the backend server. Example: `10.0.0.3`
|
59
|
+
:param pulumi.Input[str] ip_address: (Updatable) The IP address of the backend server. Example: `10.0.0.3`
|
58
60
|
:param pulumi.Input[int] port: (Updatable) The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the `Backend` object. Example: `8080`
|
59
|
-
:param pulumi.Input[bool] backup: Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.
|
60
|
-
|
61
|
+
:param pulumi.Input[bool] backup: (Updatable) Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.
|
62
|
+
|
63
|
+
**Note:** You cannot add a backend server marked as `backup` to a backend set that uses the IP Hash policy.
|
64
|
+
|
65
|
+
Example: `false`
|
66
|
+
:param pulumi.Input[bool] drain: (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example: `false`
|
67
|
+
:param pulumi.Input[int] max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
61
68
|
:param pulumi.Input[str] name: A friendly name for the backend set. It must be unique and it cannot be changed.
|
62
69
|
|
63
70
|
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot contain spaces. Avoid entering confidential information.
|
64
71
|
|
65
72
|
Example: `example_backend_set`
|
66
|
-
:param pulumi.Input[bool] offline: Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
67
|
-
:param pulumi.Input[int] weight: The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
|
73
|
+
:param pulumi.Input[bool] offline: (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
74
|
+
:param pulumi.Input[int] weight: (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
|
68
75
|
"""
|
69
76
|
pulumi.set(__self__, "ip_address", ip_address)
|
70
77
|
pulumi.set(__self__, "port", port)
|
@@ -72,6 +79,8 @@ class BackendSetBackendArgs:
|
|
72
79
|
pulumi.set(__self__, "backup", backup)
|
73
80
|
if drain is not None:
|
74
81
|
pulumi.set(__self__, "drain", drain)
|
82
|
+
if max_connections is not None:
|
83
|
+
pulumi.set(__self__, "max_connections", max_connections)
|
75
84
|
if name is not None:
|
76
85
|
pulumi.set(__self__, "name", name)
|
77
86
|
if offline is not None:
|
@@ -83,7 +92,7 @@ class BackendSetBackendArgs:
|
|
83
92
|
@pulumi.getter(name="ipAddress")
|
84
93
|
def ip_address(self) -> pulumi.Input[str]:
|
85
94
|
"""
|
86
|
-
The IP address of the backend server. Example: `10.0.0.3`
|
95
|
+
(Updatable) The IP address of the backend server. Example: `10.0.0.3`
|
87
96
|
"""
|
88
97
|
return pulumi.get(self, "ip_address")
|
89
98
|
|
@@ -107,7 +116,11 @@ class BackendSetBackendArgs:
|
|
107
116
|
@pulumi.getter
|
108
117
|
def backup(self) -> Optional[pulumi.Input[bool]]:
|
109
118
|
"""
|
110
|
-
Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.
|
119
|
+
(Updatable) Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.
|
120
|
+
|
121
|
+
**Note:** You cannot add a backend server marked as `backup` to a backend set that uses the IP Hash policy.
|
122
|
+
|
123
|
+
Example: `false`
|
111
124
|
"""
|
112
125
|
return pulumi.get(self, "backup")
|
113
126
|
|
@@ -119,7 +132,7 @@ class BackendSetBackendArgs:
|
|
119
132
|
@pulumi.getter
|
120
133
|
def drain(self) -> Optional[pulumi.Input[bool]]:
|
121
134
|
"""
|
122
|
-
Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example: `false`
|
135
|
+
(Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example: `false`
|
123
136
|
"""
|
124
137
|
return pulumi.get(self, "drain")
|
125
138
|
|
@@ -127,6 +140,18 @@ class BackendSetBackendArgs:
|
|
127
140
|
def drain(self, value: Optional[pulumi.Input[bool]]):
|
128
141
|
pulumi.set(self, "drain", value)
|
129
142
|
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="maxConnections")
|
145
|
+
def max_connections(self) -> Optional[pulumi.Input[int]]:
|
146
|
+
"""
|
147
|
+
(Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "max_connections")
|
150
|
+
|
151
|
+
@max_connections.setter
|
152
|
+
def max_connections(self, value: Optional[pulumi.Input[int]]):
|
153
|
+
pulumi.set(self, "max_connections", value)
|
154
|
+
|
130
155
|
@property
|
131
156
|
@pulumi.getter
|
132
157
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -147,7 +172,7 @@ class BackendSetBackendArgs:
|
|
147
172
|
@pulumi.getter
|
148
173
|
def offline(self) -> Optional[pulumi.Input[bool]]:
|
149
174
|
"""
|
150
|
-
Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
175
|
+
(Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
151
176
|
"""
|
152
177
|
return pulumi.get(self, "offline")
|
153
178
|
|
@@ -159,7 +184,7 @@ class BackendSetBackendArgs:
|
|
159
184
|
@pulumi.getter
|
160
185
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
161
186
|
"""
|
162
|
-
The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
|
187
|
+
(Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
|
163
188
|
"""
|
164
189
|
return pulumi.get(self, "weight")
|
165
190
|
|
@@ -1006,7 +1031,6 @@ class LoadBalancerIpAddressDetailArgs:
|
|
1006
1031
|
"""
|
1007
1032
|
:param pulumi.Input[str] ip_address: An IP address. Example: `192.168.0.3`
|
1008
1033
|
:param pulumi.Input[bool] is_public: Whether the IP address is public or private.
|
1009
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerIpAddressDetailReservedIpArgs']]] 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.
|
1010
1034
|
"""
|
1011
1035
|
if ip_address is not None:
|
1012
1036
|
pulumi.set(__self__, "ip_address", ip_address)
|
@@ -1042,9 +1066,6 @@ class LoadBalancerIpAddressDetailArgs:
|
|
1042
1066
|
@property
|
1043
1067
|
@pulumi.getter(name="reservedIps")
|
1044
1068
|
def reserved_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerIpAddressDetailReservedIpArgs']]]]:
|
1045
|
-
"""
|
1046
|
-
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.
|
1047
|
-
"""
|
1048
1069
|
return pulumi.get(self, "reserved_ips")
|
1049
1070
|
|
1050
1071
|
@reserved_ips.setter
|
@@ -1057,7 +1078,15 @@ class LoadBalancerIpAddressDetailReservedIpArgs:
|
|
1057
1078
|
def __init__(__self__, *,
|
1058
1079
|
id: Optional[pulumi.Input[str]] = None):
|
1059
1080
|
"""
|
1060
|
-
:param pulumi.Input[str] id: Ocid of the
|
1081
|
+
:param pulumi.Input[str] id: Ocid of the Reserved IP/Public Ip created with VCN.
|
1082
|
+
|
1083
|
+
Reserved IPs are IPs which already registered using VCN API.
|
1084
|
+
|
1085
|
+
Create a reserved Public IP and then while creating the load balancer pass the ocid of the reserved IP in this field reservedIp to attach the Ip to Load balancer. Load balancer will be configured to listen to traffic on this IP.
|
1086
|
+
|
1087
|
+
Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer.
|
1088
|
+
|
1089
|
+
Example: "ocid1.publicip.oc1.phx.unique_ID" Ocid of the pre-created public IP that should be attached to this load balancer. The public IP will be attached to a private IP. **Note** If public IP resource is present in the config, the pulumi preview will throw `After applying this step and refreshing, the plan was not empty` error, and `private_ip_id` needs to be added as an input argument to the public IP resource block or ignore from its lifecycle as shown in examples to resolve this error.
|
1061
1090
|
"""
|
1062
1091
|
if id is not None:
|
1063
1092
|
pulumi.set(__self__, "id", id)
|
@@ -1066,7 +1095,15 @@ class LoadBalancerIpAddressDetailReservedIpArgs:
|
|
1066
1095
|
@pulumi.getter
|
1067
1096
|
def id(self) -> Optional[pulumi.Input[str]]:
|
1068
1097
|
"""
|
1069
|
-
Ocid of the
|
1098
|
+
Ocid of the Reserved IP/Public Ip created with VCN.
|
1099
|
+
|
1100
|
+
Reserved IPs are IPs which already registered using VCN API.
|
1101
|
+
|
1102
|
+
Create a reserved Public IP and then while creating the load balancer pass the ocid of the reserved IP in this field reservedIp to attach the Ip to Load balancer. Load balancer will be configured to listen to traffic on this IP.
|
1103
|
+
|
1104
|
+
Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer.
|
1105
|
+
|
1106
|
+
Example: "ocid1.publicip.oc1.phx.unique_ID" Ocid of the pre-created public IP that should be attached to this load balancer. The public IP will be attached to a private IP. **Note** If public IP resource is present in the config, the pulumi preview will throw `After applying this step and refreshing, the plan was not empty` error, and `private_ip_id` needs to be added as an input argument to the public IP resource block or ignore from its lifecycle as shown in examples to resolve this error.
|
1070
1107
|
"""
|
1071
1108
|
return pulumi.get(self, "id")
|
1072
1109
|
|
@@ -1080,7 +1117,15 @@ class LoadBalancerReservedIpArgs:
|
|
1080
1117
|
def __init__(__self__, *,
|
1081
1118
|
id: Optional[pulumi.Input[str]] = None):
|
1082
1119
|
"""
|
1083
|
-
:param pulumi.Input[str] id: Ocid of the
|
1120
|
+
:param pulumi.Input[str] id: Ocid of the Reserved IP/Public Ip created with VCN.
|
1121
|
+
|
1122
|
+
Reserved IPs are IPs which already registered using VCN API.
|
1123
|
+
|
1124
|
+
Create a reserved Public IP and then while creating the load balancer pass the ocid of the reserved IP in this field reservedIp to attach the Ip to Load balancer. Load balancer will be configured to listen to traffic on this IP.
|
1125
|
+
|
1126
|
+
Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer.
|
1127
|
+
|
1128
|
+
Example: "ocid1.publicip.oc1.phx.unique_ID" Ocid of the pre-created public IP that should be attached to this load balancer. The public IP will be attached to a private IP. **Note** If public IP resource is present in the config, the pulumi preview will throw `After applying this step and refreshing, the plan was not empty` error, and `private_ip_id` needs to be added as an input argument to the public IP resource block or ignore from its lifecycle as shown in examples to resolve this error.
|
1084
1129
|
"""
|
1085
1130
|
if id is not None:
|
1086
1131
|
pulumi.set(__self__, "id", id)
|
@@ -1089,7 +1134,15 @@ class LoadBalancerReservedIpArgs:
|
|
1089
1134
|
@pulumi.getter
|
1090
1135
|
def id(self) -> Optional[pulumi.Input[str]]:
|
1091
1136
|
"""
|
1092
|
-
Ocid of the
|
1137
|
+
Ocid of the Reserved IP/Public Ip created with VCN.
|
1138
|
+
|
1139
|
+
Reserved IPs are IPs which already registered using VCN API.
|
1140
|
+
|
1141
|
+
Create a reserved Public IP and then while creating the load balancer pass the ocid of the reserved IP in this field reservedIp to attach the Ip to Load balancer. Load balancer will be configured to listen to traffic on this IP.
|
1142
|
+
|
1143
|
+
Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer.
|
1144
|
+
|
1145
|
+
Example: "ocid1.publicip.oc1.phx.unique_ID" Ocid of the pre-created public IP that should be attached to this load balancer. The public IP will be attached to a private IP. **Note** If public IP resource is present in the config, the pulumi preview will throw `After applying this step and refreshing, the plan was not empty` error, and `private_ip_id` needs to be added as an input argument to the public IP resource block or ignore from its lifecycle as shown in examples to resolve this error.
|
1093
1146
|
"""
|
1094
1147
|
return pulumi.get(self, "id")
|
1095
1148
|
|
@@ -1359,9 +1412,11 @@ class RuleSetItemArgs:
|
|
1359
1412
|
allowed_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1360
1413
|
are_invalid_characters_allowed: Optional[pulumi.Input[bool]] = None,
|
1361
1414
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['RuleSetItemConditionArgs']]]] = None,
|
1415
|
+
default_max_connections: Optional[pulumi.Input[int]] = None,
|
1362
1416
|
description: Optional[pulumi.Input[str]] = None,
|
1363
1417
|
header: Optional[pulumi.Input[str]] = None,
|
1364
1418
|
http_large_header_size_in_kb: Optional[pulumi.Input[int]] = None,
|
1419
|
+
ip_max_connections: Optional[pulumi.Input[Sequence[pulumi.Input['RuleSetItemIpMaxConnectionArgs']]]] = None,
|
1365
1420
|
prefix: Optional[pulumi.Input[str]] = None,
|
1366
1421
|
redirect_uri: Optional[pulumi.Input['RuleSetItemRedirectUriArgs']] = None,
|
1367
1422
|
response_code: Optional[pulumi.Input[int]] = None,
|
@@ -1369,7 +1424,7 @@ class RuleSetItemArgs:
|
|
1369
1424
|
suffix: Optional[pulumi.Input[str]] = None,
|
1370
1425
|
value: Optional[pulumi.Input[str]] = None):
|
1371
1426
|
"""
|
1372
|
-
:param pulumi.Input[str] action: (Updatable) The action can be one of these values: `ADD_HTTP_REQUEST_HEADER`, `ADD_HTTP_RESPONSE_HEADER`, `ALLOW`, `CONTROL_ACCESS_USING_HTTP_METHODS`, `EXTEND_HTTP_REQUEST_HEADER_VALUE`, `EXTEND_HTTP_RESPONSE_HEADER_VALUE`, `HTTP_HEADER`, `REDIRECT`, `REMOVE_HTTP_REQUEST_HEADER`, `REMOVE_HTTP_RESPONSE_HEADER`
|
1427
|
+
:param pulumi.Input[str] action: (Updatable) The action can be one of these values: `ADD_HTTP_REQUEST_HEADER`, `ADD_HTTP_RESPONSE_HEADER`, `ALLOW`, `CONTROL_ACCESS_USING_HTTP_METHODS`, `EXTEND_HTTP_REQUEST_HEADER_VALUE`, `EXTEND_HTTP_RESPONSE_HEADER_VALUE`, `HTTP_HEADER`, `IP_BASED_MAX_CONNECTIONS`, `REDIRECT`, `REMOVE_HTTP_REQUEST_HEADER`, `REMOVE_HTTP_RESPONSE_HEADER`
|
1373
1428
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_methods: (Updatable) The list of HTTP methods allowed for this listener.
|
1374
1429
|
|
1375
1430
|
By default, you can specify only the standard HTTP methods defined in the [HTTP Method Registry](http://www.iana.org/assignments/http-methods/http-methods.xhtml). You can also see a list of supported standard HTTP methods in the Load Balancing service documentation at [Managing Rule Sets](https://docs.cloud.oracle.com/iaas/Content/Balance/Tasks/managingrulesets.htm).
|
@@ -1381,11 +1436,13 @@ class RuleSetItemArgs:
|
|
1381
1436
|
Example: ["GET", "PUT", "POST", "PROPFIND"]
|
1382
1437
|
:param pulumi.Input[bool] are_invalid_characters_allowed: (Updatable) Indicates whether or not invalid characters in client header fields will be allowed. Valid names are composed of English letters, digits, hyphens and underscores. If "true", invalid characters are allowed in the HTTP header. If "false", invalid characters are not allowed in the HTTP header
|
1383
1438
|
:param pulumi.Input[Sequence[pulumi.Input['RuleSetItemConditionArgs']]] conditions: (Updatable)
|
1439
|
+
:param pulumi.Input[int] default_max_connections: (Updatable) The maximum number of connections that the any IP can make to a listener unless the IP is mentioned in maxConnections. If no defaultMaxConnections is specified the default is unlimited.
|
1384
1440
|
:param pulumi.Input[str] description: (Updatable) A brief description of the access control rule. Avoid entering confidential information.
|
1385
1441
|
|
1386
1442
|
example: `192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.`
|
1387
1443
|
:param pulumi.Input[str] header: (Updatable) A header name that conforms to RFC 7230. Example: `example_header_name`
|
1388
1444
|
:param pulumi.Input[int] http_large_header_size_in_kb: (Updatable) The maximum size of each buffer used for reading http client request header. This value indicates the maximum size allowed for each buffer. The allowed values for buffer size are 8, 16, 32 and 64.
|
1445
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleSetItemIpMaxConnectionArgs']]] ip_max_connections: (Updatable) An array of IPs that have a maxConnection setting different than the default and what that maxConnection setting is
|
1389
1446
|
:param pulumi.Input[str] prefix: (Updatable) A string to prepend to the header value. The resulting header value must still conform to RFC 7230. With the following exceptions:
|
1390
1447
|
* value cannot contain `$`
|
1391
1448
|
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
@@ -1446,12 +1503,16 @@ class RuleSetItemArgs:
|
|
1446
1503
|
pulumi.set(__self__, "are_invalid_characters_allowed", are_invalid_characters_allowed)
|
1447
1504
|
if conditions is not None:
|
1448
1505
|
pulumi.set(__self__, "conditions", conditions)
|
1506
|
+
if default_max_connections is not None:
|
1507
|
+
pulumi.set(__self__, "default_max_connections", default_max_connections)
|
1449
1508
|
if description is not None:
|
1450
1509
|
pulumi.set(__self__, "description", description)
|
1451
1510
|
if header is not None:
|
1452
1511
|
pulumi.set(__self__, "header", header)
|
1453
1512
|
if http_large_header_size_in_kb is not None:
|
1454
1513
|
pulumi.set(__self__, "http_large_header_size_in_kb", http_large_header_size_in_kb)
|
1514
|
+
if ip_max_connections is not None:
|
1515
|
+
pulumi.set(__self__, "ip_max_connections", ip_max_connections)
|
1455
1516
|
if prefix is not None:
|
1456
1517
|
pulumi.set(__self__, "prefix", prefix)
|
1457
1518
|
if redirect_uri is not None:
|
@@ -1469,7 +1530,7 @@ class RuleSetItemArgs:
|
|
1469
1530
|
@pulumi.getter
|
1470
1531
|
def action(self) -> pulumi.Input[str]:
|
1471
1532
|
"""
|
1472
|
-
(Updatable) The action can be one of these values: `ADD_HTTP_REQUEST_HEADER`, `ADD_HTTP_RESPONSE_HEADER`, `ALLOW`, `CONTROL_ACCESS_USING_HTTP_METHODS`, `EXTEND_HTTP_REQUEST_HEADER_VALUE`, `EXTEND_HTTP_RESPONSE_HEADER_VALUE`, `HTTP_HEADER`, `REDIRECT`, `REMOVE_HTTP_REQUEST_HEADER`, `REMOVE_HTTP_RESPONSE_HEADER`
|
1533
|
+
(Updatable) The action can be one of these values: `ADD_HTTP_REQUEST_HEADER`, `ADD_HTTP_RESPONSE_HEADER`, `ALLOW`, `CONTROL_ACCESS_USING_HTTP_METHODS`, `EXTEND_HTTP_REQUEST_HEADER_VALUE`, `EXTEND_HTTP_RESPONSE_HEADER_VALUE`, `HTTP_HEADER`, `IP_BASED_MAX_CONNECTIONS`, `REDIRECT`, `REMOVE_HTTP_REQUEST_HEADER`, `REMOVE_HTTP_RESPONSE_HEADER`
|
1473
1534
|
"""
|
1474
1535
|
return pulumi.get(self, "action")
|
1475
1536
|
|
@@ -1521,6 +1582,18 @@ class RuleSetItemArgs:
|
|
1521
1582
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleSetItemConditionArgs']]]]):
|
1522
1583
|
pulumi.set(self, "conditions", value)
|
1523
1584
|
|
1585
|
+
@property
|
1586
|
+
@pulumi.getter(name="defaultMaxConnections")
|
1587
|
+
def default_max_connections(self) -> Optional[pulumi.Input[int]]:
|
1588
|
+
"""
|
1589
|
+
(Updatable) The maximum number of connections that the any IP can make to a listener unless the IP is mentioned in maxConnections. If no defaultMaxConnections is specified the default is unlimited.
|
1590
|
+
"""
|
1591
|
+
return pulumi.get(self, "default_max_connections")
|
1592
|
+
|
1593
|
+
@default_max_connections.setter
|
1594
|
+
def default_max_connections(self, value: Optional[pulumi.Input[int]]):
|
1595
|
+
pulumi.set(self, "default_max_connections", value)
|
1596
|
+
|
1524
1597
|
@property
|
1525
1598
|
@pulumi.getter
|
1526
1599
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -1559,6 +1632,18 @@ class RuleSetItemArgs:
|
|
1559
1632
|
def http_large_header_size_in_kb(self, value: Optional[pulumi.Input[int]]):
|
1560
1633
|
pulumi.set(self, "http_large_header_size_in_kb", value)
|
1561
1634
|
|
1635
|
+
@property
|
1636
|
+
@pulumi.getter(name="ipMaxConnections")
|
1637
|
+
def ip_max_connections(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleSetItemIpMaxConnectionArgs']]]]:
|
1638
|
+
"""
|
1639
|
+
(Updatable) An array of IPs that have a maxConnection setting different than the default and what that maxConnection setting is
|
1640
|
+
"""
|
1641
|
+
return pulumi.get(self, "ip_max_connections")
|
1642
|
+
|
1643
|
+
@ip_max_connections.setter
|
1644
|
+
def ip_max_connections(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleSetItemIpMaxConnectionArgs']]]]):
|
1645
|
+
pulumi.set(self, "ip_max_connections", value)
|
1646
|
+
|
1562
1647
|
@property
|
1563
1648
|
@pulumi.getter
|
1564
1649
|
def prefix(self) -> Optional[pulumi.Input[str]]:
|
@@ -1745,6 +1830,45 @@ class RuleSetItemConditionArgs:
|
|
1745
1830
|
pulumi.set(self, "operator", value)
|
1746
1831
|
|
1747
1832
|
|
1833
|
+
@pulumi.input_type
|
1834
|
+
class RuleSetItemIpMaxConnectionArgs:
|
1835
|
+
def __init__(__self__, *,
|
1836
|
+
ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1837
|
+
max_connections: Optional[pulumi.Input[int]] = None):
|
1838
|
+
"""
|
1839
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_addresses: (Updatable) Each element in the list should be valid IPv4 or IPv6 CIDR Block address. Example: '["129.213.176.0/24", "150.136.187.0/24", "2002::1234:abcd:ffff:c0a8:101/64"]'
|
1840
|
+
:param pulumi.Input[int] max_connections: (Updatable) The maximum number of simultaneous connections that the specified IPs can make to the Listener. IPs without a maxConnections setting can make either defaultMaxConnections simultaneous connections to a listener or, if no defaultMaxConnections is specified, an unlimited number of simultaneous connections to a listener.
|
1841
|
+
"""
|
1842
|
+
if ip_addresses is not None:
|
1843
|
+
pulumi.set(__self__, "ip_addresses", ip_addresses)
|
1844
|
+
if max_connections is not None:
|
1845
|
+
pulumi.set(__self__, "max_connections", max_connections)
|
1846
|
+
|
1847
|
+
@property
|
1848
|
+
@pulumi.getter(name="ipAddresses")
|
1849
|
+
def ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
1850
|
+
"""
|
1851
|
+
(Updatable) Each element in the list should be valid IPv4 or IPv6 CIDR Block address. Example: '["129.213.176.0/24", "150.136.187.0/24", "2002::1234:abcd:ffff:c0a8:101/64"]'
|
1852
|
+
"""
|
1853
|
+
return pulumi.get(self, "ip_addresses")
|
1854
|
+
|
1855
|
+
@ip_addresses.setter
|
1856
|
+
def ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
1857
|
+
pulumi.set(self, "ip_addresses", value)
|
1858
|
+
|
1859
|
+
@property
|
1860
|
+
@pulumi.getter(name="maxConnections")
|
1861
|
+
def max_connections(self) -> Optional[pulumi.Input[int]]:
|
1862
|
+
"""
|
1863
|
+
(Updatable) The maximum number of simultaneous connections that the specified IPs can make to the Listener. IPs without a maxConnections setting can make either defaultMaxConnections simultaneous connections to a listener or, if no defaultMaxConnections is specified, an unlimited number of simultaneous connections to a listener.
|
1864
|
+
"""
|
1865
|
+
return pulumi.get(self, "max_connections")
|
1866
|
+
|
1867
|
+
@max_connections.setter
|
1868
|
+
def max_connections(self, value: Optional[pulumi.Input[int]]):
|
1869
|
+
pulumi.set(self, "max_connections", value)
|
1870
|
+
|
1871
|
+
|
1748
1872
|
@pulumi.input_type
|
1749
1873
|
class RuleSetItemRedirectUriArgs:
|
1750
1874
|
def __init__(__self__, *,
|
@@ -20,6 +20,7 @@ class BackendArgs:
|
|
20
20
|
port: pulumi.Input[int],
|
21
21
|
backup: Optional[pulumi.Input[bool]] = None,
|
22
22
|
drain: Optional[pulumi.Input[bool]] = None,
|
23
|
+
max_connections: Optional[pulumi.Input[int]] = None,
|
23
24
|
offline: Optional[pulumi.Input[bool]] = None,
|
24
25
|
weight: Optional[pulumi.Input[int]] = None):
|
25
26
|
"""
|
@@ -34,6 +35,7 @@ class BackendArgs:
|
|
34
35
|
|
35
36
|
Example: `false`
|
36
37
|
:param pulumi.Input[bool] drain: (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example: `false`
|
38
|
+
:param pulumi.Input[int] max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
37
39
|
:param pulumi.Input[bool] offline: (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
38
40
|
:param pulumi.Input[int] weight: (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
|
39
41
|
|
@@ -49,6 +51,8 @@ class BackendArgs:
|
|
49
51
|
pulumi.set(__self__, "backup", backup)
|
50
52
|
if drain is not None:
|
51
53
|
pulumi.set(__self__, "drain", drain)
|
54
|
+
if max_connections is not None:
|
55
|
+
pulumi.set(__self__, "max_connections", max_connections)
|
52
56
|
if offline is not None:
|
53
57
|
pulumi.set(__self__, "offline", offline)
|
54
58
|
if weight is not None:
|
@@ -130,6 +134,18 @@ class BackendArgs:
|
|
130
134
|
def drain(self, value: Optional[pulumi.Input[bool]]):
|
131
135
|
pulumi.set(self, "drain", value)
|
132
136
|
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="maxConnections")
|
139
|
+
def max_connections(self) -> Optional[pulumi.Input[int]]:
|
140
|
+
"""
|
141
|
+
(Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "max_connections")
|
144
|
+
|
145
|
+
@max_connections.setter
|
146
|
+
def max_connections(self, value: Optional[pulumi.Input[int]]):
|
147
|
+
pulumi.set(self, "max_connections", value)
|
148
|
+
|
133
149
|
@property
|
134
150
|
@pulumi.getter
|
135
151
|
def offline(self) -> Optional[pulumi.Input[bool]]:
|
@@ -167,6 +183,7 @@ class _BackendState:
|
|
167
183
|
drain: Optional[pulumi.Input[bool]] = None,
|
168
184
|
ip_address: Optional[pulumi.Input[str]] = None,
|
169
185
|
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
186
|
+
max_connections: Optional[pulumi.Input[int]] = None,
|
170
187
|
name: Optional[pulumi.Input[str]] = None,
|
171
188
|
offline: Optional[pulumi.Input[bool]] = None,
|
172
189
|
port: Optional[pulumi.Input[int]] = None,
|
@@ -183,6 +200,7 @@ class _BackendState:
|
|
183
200
|
:param pulumi.Input[bool] drain: (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example: `false`
|
184
201
|
:param pulumi.Input[str] ip_address: The IP address of the backend server. Example: `10.0.0.3`
|
185
202
|
:param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers.
|
203
|
+
:param pulumi.Input[int] max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
186
204
|
:param pulumi.Input[str] name: A read-only field showing the IP address and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080`
|
187
205
|
:param pulumi.Input[bool] offline: (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
188
206
|
:param pulumi.Input[int] port: The communication port for the backend server. Example: `8080`
|
@@ -202,6 +220,8 @@ class _BackendState:
|
|
202
220
|
pulumi.set(__self__, "ip_address", ip_address)
|
203
221
|
if load_balancer_id is not None:
|
204
222
|
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
|
223
|
+
if max_connections is not None:
|
224
|
+
pulumi.set(__self__, "max_connections", max_connections)
|
205
225
|
if name is not None:
|
206
226
|
pulumi.set(__self__, "name", name)
|
207
227
|
if offline is not None:
|
@@ -277,6 +297,18 @@ class _BackendState:
|
|
277
297
|
def load_balancer_id(self, value: Optional[pulumi.Input[str]]):
|
278
298
|
pulumi.set(self, "load_balancer_id", value)
|
279
299
|
|
300
|
+
@property
|
301
|
+
@pulumi.getter(name="maxConnections")
|
302
|
+
def max_connections(self) -> Optional[pulumi.Input[int]]:
|
303
|
+
"""
|
304
|
+
(Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
305
|
+
"""
|
306
|
+
return pulumi.get(self, "max_connections")
|
307
|
+
|
308
|
+
@max_connections.setter
|
309
|
+
def max_connections(self, value: Optional[pulumi.Input[int]]):
|
310
|
+
pulumi.set(self, "max_connections", value)
|
311
|
+
|
280
312
|
@property
|
281
313
|
@pulumi.getter
|
282
314
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -349,6 +381,7 @@ class Backend(pulumi.CustomResource):
|
|
349
381
|
drain: Optional[pulumi.Input[bool]] = None,
|
350
382
|
ip_address: Optional[pulumi.Input[str]] = None,
|
351
383
|
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
384
|
+
max_connections: Optional[pulumi.Input[int]] = None,
|
352
385
|
offline: Optional[pulumi.Input[bool]] = None,
|
353
386
|
port: Optional[pulumi.Input[int]] = None,
|
354
387
|
weight: Optional[pulumi.Input[int]] = None,
|
@@ -371,6 +404,7 @@ class Backend(pulumi.CustomResource):
|
|
371
404
|
port=backend_port,
|
372
405
|
backup=backend_backup,
|
373
406
|
drain=backend_drain,
|
407
|
+
max_connections=backend_max_connections,
|
374
408
|
offline=backend_offline,
|
375
409
|
weight=backend_weight)
|
376
410
|
```
|
@@ -394,6 +428,7 @@ class Backend(pulumi.CustomResource):
|
|
394
428
|
:param pulumi.Input[bool] drain: (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example: `false`
|
395
429
|
:param pulumi.Input[str] ip_address: The IP address of the backend server. Example: `10.0.0.3`
|
396
430
|
:param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers.
|
431
|
+
:param pulumi.Input[int] max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
397
432
|
:param pulumi.Input[bool] offline: (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
398
433
|
:param pulumi.Input[int] port: The communication port for the backend server. Example: `8080`
|
399
434
|
:param pulumi.Input[int] weight: (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
|
@@ -426,6 +461,7 @@ class Backend(pulumi.CustomResource):
|
|
426
461
|
port=backend_port,
|
427
462
|
backup=backend_backup,
|
428
463
|
drain=backend_drain,
|
464
|
+
max_connections=backend_max_connections,
|
429
465
|
offline=backend_offline,
|
430
466
|
weight=backend_weight)
|
431
467
|
```
|
@@ -458,6 +494,7 @@ class Backend(pulumi.CustomResource):
|
|
458
494
|
drain: Optional[pulumi.Input[bool]] = None,
|
459
495
|
ip_address: Optional[pulumi.Input[str]] = None,
|
460
496
|
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
497
|
+
max_connections: Optional[pulumi.Input[int]] = None,
|
461
498
|
offline: Optional[pulumi.Input[bool]] = None,
|
462
499
|
port: Optional[pulumi.Input[int]] = None,
|
463
500
|
weight: Optional[pulumi.Input[int]] = None,
|
@@ -481,6 +518,7 @@ class Backend(pulumi.CustomResource):
|
|
481
518
|
if load_balancer_id is None and not opts.urn:
|
482
519
|
raise TypeError("Missing required property 'load_balancer_id'")
|
483
520
|
__props__.__dict__["load_balancer_id"] = load_balancer_id
|
521
|
+
__props__.__dict__["max_connections"] = max_connections
|
484
522
|
__props__.__dict__["offline"] = offline
|
485
523
|
if port is None and not opts.urn:
|
486
524
|
raise TypeError("Missing required property 'port'")
|
@@ -503,6 +541,7 @@ class Backend(pulumi.CustomResource):
|
|
503
541
|
drain: Optional[pulumi.Input[bool]] = None,
|
504
542
|
ip_address: Optional[pulumi.Input[str]] = None,
|
505
543
|
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
544
|
+
max_connections: Optional[pulumi.Input[int]] = None,
|
506
545
|
name: Optional[pulumi.Input[str]] = None,
|
507
546
|
offline: Optional[pulumi.Input[bool]] = None,
|
508
547
|
port: Optional[pulumi.Input[int]] = None,
|
@@ -524,6 +563,7 @@ class Backend(pulumi.CustomResource):
|
|
524
563
|
:param pulumi.Input[bool] drain: (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example: `false`
|
525
564
|
:param pulumi.Input[str] ip_address: The IP address of the backend server. Example: `10.0.0.3`
|
526
565
|
:param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers.
|
566
|
+
:param pulumi.Input[int] max_connections: (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
527
567
|
:param pulumi.Input[str] name: A read-only field showing the IP address and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080`
|
528
568
|
:param pulumi.Input[bool] offline: (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
529
569
|
:param pulumi.Input[int] port: The communication port for the backend server. Example: `8080`
|
@@ -542,6 +582,7 @@ class Backend(pulumi.CustomResource):
|
|
542
582
|
__props__.__dict__["drain"] = drain
|
543
583
|
__props__.__dict__["ip_address"] = ip_address
|
544
584
|
__props__.__dict__["load_balancer_id"] = load_balancer_id
|
585
|
+
__props__.__dict__["max_connections"] = max_connections
|
545
586
|
__props__.__dict__["name"] = name
|
546
587
|
__props__.__dict__["offline"] = offline
|
547
588
|
__props__.__dict__["port"] = port
|
@@ -593,6 +634,14 @@ class Backend(pulumi.CustomResource):
|
|
593
634
|
"""
|
594
635
|
return pulumi.get(self, "load_balancer_id")
|
595
636
|
|
637
|
+
@property
|
638
|
+
@pulumi.getter(name="maxConnections")
|
639
|
+
def max_connections(self) -> pulumi.Output[int]:
|
640
|
+
"""
|
641
|
+
(Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300`
|
642
|
+
"""
|
643
|
+
return pulumi.get(self, "max_connections")
|
644
|
+
|
596
645
|
@property
|
597
646
|
@pulumi.getter
|
598
647
|
def name(self) -> pulumi.Output[str]:
|