pulumi-oci 2.31.0a1744784817__py3-none-any.whl → 2.31.0a1744863614__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.
@@ -2061,10 +2061,6 @@ if not MYPY:
2061
2061
  """
2062
2062
  Container health check type.
2063
2063
  """
2064
- port: pulumi.Input[builtins.int]
2065
- """
2066
- Container health check HTTP port.
2067
- """
2068
2064
  failure_action: NotRequired[pulumi.Input[builtins.str]]
2069
2065
  """
2070
2066
  The action will be triggered when the container health check fails. There are two types of action: KILL or NONE. The default action is KILL. If failure action is KILL, the container will be subject to the container restart policy.
@@ -2093,6 +2089,10 @@ if not MYPY:
2093
2089
  """
2094
2090
  Container health check HTTP path.
2095
2091
  """
2092
+ port: NotRequired[pulumi.Input[builtins.int]]
2093
+ """
2094
+ Container health check HTTP port.
2095
+ """
2096
2096
  status: NotRequired[pulumi.Input[builtins.str]]
2097
2097
  status_details: NotRequired[pulumi.Input[builtins.str]]
2098
2098
  success_threshold: NotRequired[pulumi.Input[builtins.int]]
@@ -2110,7 +2110,6 @@ elif False:
2110
2110
  class ContainerInstanceContainerHealthCheckArgs:
2111
2111
  def __init__(__self__, *,
2112
2112
  health_check_type: pulumi.Input[builtins.str],
2113
- port: pulumi.Input[builtins.int],
2114
2113
  failure_action: Optional[pulumi.Input[builtins.str]] = None,
2115
2114
  failure_threshold: Optional[pulumi.Input[builtins.int]] = None,
2116
2115
  headers: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerHealthCheckHeaderArgs']]]] = None,
@@ -2118,13 +2117,13 @@ class ContainerInstanceContainerHealthCheckArgs:
2118
2117
  interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
2119
2118
  name: Optional[pulumi.Input[builtins.str]] = None,
2120
2119
  path: Optional[pulumi.Input[builtins.str]] = None,
2120
+ port: Optional[pulumi.Input[builtins.int]] = None,
2121
2121
  status: Optional[pulumi.Input[builtins.str]] = None,
2122
2122
  status_details: Optional[pulumi.Input[builtins.str]] = None,
2123
2123
  success_threshold: Optional[pulumi.Input[builtins.int]] = None,
2124
2124
  timeout_in_seconds: Optional[pulumi.Input[builtins.int]] = None):
2125
2125
  """
2126
2126
  :param pulumi.Input[builtins.str] health_check_type: Container health check type.
2127
- :param pulumi.Input[builtins.int] port: Container health check HTTP port.
2128
2127
  :param pulumi.Input[builtins.str] failure_action: The action will be triggered when the container health check fails. There are two types of action: KILL or NONE. The default action is KILL. If failure action is KILL, the container will be subject to the container restart policy.
2129
2128
  :param pulumi.Input[builtins.int] failure_threshold: Number of consecutive failures at which we consider the check failed.
2130
2129
  :param pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerHealthCheckHeaderArgs']]] headers: Container health check HTTP headers.
@@ -2132,11 +2131,11 @@ class ContainerInstanceContainerHealthCheckArgs:
2132
2131
  :param pulumi.Input[builtins.int] interval_in_seconds: Number of seconds between two consecutive runs for checking container health.
2133
2132
  :param pulumi.Input[builtins.str] name: Health check name.
2134
2133
  :param pulumi.Input[builtins.str] path: Container health check HTTP path.
2134
+ :param pulumi.Input[builtins.int] port: Container health check HTTP port.
2135
2135
  :param pulumi.Input[builtins.int] success_threshold: Number of consecutive successes at which we consider the check succeeded again after it was in failure state.
2136
2136
  :param pulumi.Input[builtins.int] timeout_in_seconds: Length of waiting time in seconds before marking health check failed.
2137
2137
  """
2138
2138
  pulumi.set(__self__, "health_check_type", health_check_type)
2139
- pulumi.set(__self__, "port", port)
2140
2139
  if failure_action is not None:
2141
2140
  pulumi.set(__self__, "failure_action", failure_action)
2142
2141
  if failure_threshold is not None:
@@ -2151,6 +2150,8 @@ class ContainerInstanceContainerHealthCheckArgs:
2151
2150
  pulumi.set(__self__, "name", name)
2152
2151
  if path is not None:
2153
2152
  pulumi.set(__self__, "path", path)
2153
+ if port is not None:
2154
+ pulumi.set(__self__, "port", port)
2154
2155
  if status is not None:
2155
2156
  pulumi.set(__self__, "status", status)
2156
2157
  if status_details is not None:
@@ -2172,18 +2173,6 @@ class ContainerInstanceContainerHealthCheckArgs:
2172
2173
  def health_check_type(self, value: pulumi.Input[builtins.str]):
2173
2174
  pulumi.set(self, "health_check_type", value)
2174
2175
 
2175
- @property
2176
- @pulumi.getter
2177
- def port(self) -> pulumi.Input[builtins.int]:
2178
- """
2179
- Container health check HTTP port.
2180
- """
2181
- return pulumi.get(self, "port")
2182
-
2183
- @port.setter
2184
- def port(self, value: pulumi.Input[builtins.int]):
2185
- pulumi.set(self, "port", value)
2186
-
2187
2176
  @property
2188
2177
  @pulumi.getter(name="failureAction")
2189
2178
  def failure_action(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -2268,6 +2257,18 @@ class ContainerInstanceContainerHealthCheckArgs:
2268
2257
  def path(self, value: Optional[pulumi.Input[builtins.str]]):
2269
2258
  pulumi.set(self, "path", value)
2270
2259
 
2260
+ @property
2261
+ @pulumi.getter
2262
+ def port(self) -> Optional[pulumi.Input[builtins.int]]:
2263
+ """
2264
+ Container health check HTTP port.
2265
+ """
2266
+ return pulumi.get(self, "port")
2267
+
2268
+ @port.setter
2269
+ def port(self, value: Optional[pulumi.Input[builtins.int]]):
2270
+ pulumi.set(self, "port", value)
2271
+
2271
2272
  @property
2272
2273
  @pulumi.getter
2273
2274
  def status(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -707,7 +707,6 @@ class ContainerInstance(pulumi.CustomResource):
707
707
  "freeform_tags": container_instance_containers_freeform_tags,
708
708
  "health_checks": [{
709
709
  "health_check_type": container_instance_containers_health_checks_health_check_type,
710
- "port": container_instance_containers_health_checks_port,
711
710
  "failure_action": container_instance_containers_health_checks_failure_action,
712
711
  "failure_threshold": container_instance_containers_health_checks_failure_threshold,
713
712
  "headers": [{
@@ -718,6 +717,7 @@ class ContainerInstance(pulumi.CustomResource):
718
717
  "interval_in_seconds": container_instance_containers_health_checks_interval_in_seconds,
719
718
  "name": container_instance_containers_health_checks_name,
720
719
  "path": container_instance_containers_health_checks_path,
720
+ "port": container_instance_containers_health_checks_port,
721
721
  "success_threshold": container_instance_containers_health_checks_success_threshold,
722
722
  "timeout_in_seconds": container_instance_containers_health_checks_timeout_in_seconds,
723
723
  }],
@@ -859,7 +859,6 @@ class ContainerInstance(pulumi.CustomResource):
859
859
  "freeform_tags": container_instance_containers_freeform_tags,
860
860
  "health_checks": [{
861
861
  "health_check_type": container_instance_containers_health_checks_health_check_type,
862
- "port": container_instance_containers_health_checks_port,
863
862
  "failure_action": container_instance_containers_health_checks_failure_action,
864
863
  "failure_threshold": container_instance_containers_health_checks_failure_threshold,
865
864
  "headers": [{
@@ -870,6 +869,7 @@ class ContainerInstance(pulumi.CustomResource):
870
869
  "interval_in_seconds": container_instance_containers_health_checks_interval_in_seconds,
871
870
  "name": container_instance_containers_health_checks_name,
872
871
  "path": container_instance_containers_health_checks_path,
872
+ "port": container_instance_containers_health_checks_port,
873
873
  "success_threshold": container_instance_containers_health_checks_success_threshold,
874
874
  "timeout_in_seconds": container_instance_containers_health_checks_timeout_in_seconds,
875
875
  }],
@@ -1720,7 +1720,6 @@ class ContainerInstanceContainerHealthCheck(dict):
1720
1720
 
1721
1721
  def __init__(__self__, *,
1722
1722
  health_check_type: builtins.str,
1723
- port: builtins.int,
1724
1723
  failure_action: Optional[builtins.str] = None,
1725
1724
  failure_threshold: Optional[builtins.int] = None,
1726
1725
  headers: Optional[Sequence['outputs.ContainerInstanceContainerHealthCheckHeader']] = None,
@@ -1728,13 +1727,13 @@ class ContainerInstanceContainerHealthCheck(dict):
1728
1727
  interval_in_seconds: Optional[builtins.int] = None,
1729
1728
  name: Optional[builtins.str] = None,
1730
1729
  path: Optional[builtins.str] = None,
1730
+ port: Optional[builtins.int] = None,
1731
1731
  status: Optional[builtins.str] = None,
1732
1732
  status_details: Optional[builtins.str] = None,
1733
1733
  success_threshold: Optional[builtins.int] = None,
1734
1734
  timeout_in_seconds: Optional[builtins.int] = None):
1735
1735
  """
1736
1736
  :param builtins.str health_check_type: Container health check type.
1737
- :param builtins.int port: Container health check HTTP port.
1738
1737
  :param builtins.str failure_action: The action will be triggered when the container health check fails. There are two types of action: KILL or NONE. The default action is KILL. If failure action is KILL, the container will be subject to the container restart policy.
1739
1738
  :param builtins.int failure_threshold: Number of consecutive failures at which we consider the check failed.
1740
1739
  :param Sequence['ContainerInstanceContainerHealthCheckHeaderArgs'] headers: Container health check HTTP headers.
@@ -1742,11 +1741,11 @@ class ContainerInstanceContainerHealthCheck(dict):
1742
1741
  :param builtins.int interval_in_seconds: Number of seconds between two consecutive runs for checking container health.
1743
1742
  :param builtins.str name: Health check name.
1744
1743
  :param builtins.str path: Container health check HTTP path.
1744
+ :param builtins.int port: Container health check HTTP port.
1745
1745
  :param builtins.int success_threshold: Number of consecutive successes at which we consider the check succeeded again after it was in failure state.
1746
1746
  :param builtins.int timeout_in_seconds: Length of waiting time in seconds before marking health check failed.
1747
1747
  """
1748
1748
  pulumi.set(__self__, "health_check_type", health_check_type)
1749
- pulumi.set(__self__, "port", port)
1750
1749
  if failure_action is not None:
1751
1750
  pulumi.set(__self__, "failure_action", failure_action)
1752
1751
  if failure_threshold is not None:
@@ -1761,6 +1760,8 @@ class ContainerInstanceContainerHealthCheck(dict):
1761
1760
  pulumi.set(__self__, "name", name)
1762
1761
  if path is not None:
1763
1762
  pulumi.set(__self__, "path", path)
1763
+ if port is not None:
1764
+ pulumi.set(__self__, "port", port)
1764
1765
  if status is not None:
1765
1766
  pulumi.set(__self__, "status", status)
1766
1767
  if status_details is not None:
@@ -1778,14 +1779,6 @@ class ContainerInstanceContainerHealthCheck(dict):
1778
1779
  """
1779
1780
  return pulumi.get(self, "health_check_type")
1780
1781
 
1781
- @property
1782
- @pulumi.getter
1783
- def port(self) -> builtins.int:
1784
- """
1785
- Container health check HTTP port.
1786
- """
1787
- return pulumi.get(self, "port")
1788
-
1789
1782
  @property
1790
1783
  @pulumi.getter(name="failureAction")
1791
1784
  def failure_action(self) -> Optional[builtins.str]:
@@ -1842,6 +1835,14 @@ class ContainerInstanceContainerHealthCheck(dict):
1842
1835
  """
1843
1836
  return pulumi.get(self, "path")
1844
1837
 
1838
+ @property
1839
+ @pulumi.getter
1840
+ def port(self) -> Optional[builtins.int]:
1841
+ """
1842
+ Container health check HTTP port.
1843
+ """
1844
+ return pulumi.get(self, "port")
1845
+
1845
1846
  @property
1846
1847
  @pulumi.getter
1847
1848
  def status(self) -> Optional[builtins.str]:
@@ -24,6 +24,7 @@ from .get_deployment_backups import *
24
24
  from .get_deployment_certificate import *
25
25
  from .get_deployment_certificates import *
26
26
  from .get_deployment_environments import *
27
+ from .get_deployment_peers import *
27
28
  from .get_deployment_type import *
28
29
  from .get_deployment_types import *
29
30
  from .get_deployment_upgrade import *
@@ -42,6 +42,8 @@ __all__ = [
42
42
  'DeploymentOggDataArgsDict',
43
43
  'DeploymentOggDataGroupToRolesMappingArgs',
44
44
  'DeploymentOggDataGroupToRolesMappingArgsDict',
45
+ 'DeploymentPlacementArgs',
46
+ 'DeploymentPlacementArgsDict',
45
47
  'PipelineLockArgs',
46
48
  'PipelineLockArgsDict',
47
49
  'PipelineMappingRuleArgs',
@@ -70,6 +72,8 @@ __all__ = [
70
72
  'GetDeploymentCertificatesFilterArgsDict',
71
73
  'GetDeploymentEnvironmentsFilterArgs',
72
74
  'GetDeploymentEnvironmentsFilterArgsDict',
75
+ 'GetDeploymentPeersFilterArgs',
76
+ 'GetDeploymentPeersFilterArgsDict',
73
77
  'GetDeploymentTypesFilterArgs',
74
78
  'GetDeploymentTypesFilterArgsDict',
75
79
  'GetDeploymentUpgradesFilterArgs',
@@ -1287,6 +1291,58 @@ class DeploymentOggDataGroupToRolesMappingArgs:
1287
1291
  pulumi.set(self, "user_group_id", value)
1288
1292
 
1289
1293
 
1294
+ if not MYPY:
1295
+ class DeploymentPlacementArgsDict(TypedDict):
1296
+ availability_domain: NotRequired[pulumi.Input[builtins.str]]
1297
+ """
1298
+ (Updatable) The availability domain of a placement.
1299
+ """
1300
+ fault_domain: NotRequired[pulumi.Input[builtins.str]]
1301
+ """
1302
+ (Updatable) The fault domain of a placement.
1303
+ """
1304
+ elif False:
1305
+ DeploymentPlacementArgsDict: TypeAlias = Mapping[str, Any]
1306
+
1307
+ @pulumi.input_type
1308
+ class DeploymentPlacementArgs:
1309
+ def __init__(__self__, *,
1310
+ availability_domain: Optional[pulumi.Input[builtins.str]] = None,
1311
+ fault_domain: Optional[pulumi.Input[builtins.str]] = None):
1312
+ """
1313
+ :param pulumi.Input[builtins.str] availability_domain: (Updatable) The availability domain of a placement.
1314
+ :param pulumi.Input[builtins.str] fault_domain: (Updatable) The fault domain of a placement.
1315
+ """
1316
+ if availability_domain is not None:
1317
+ pulumi.set(__self__, "availability_domain", availability_domain)
1318
+ if fault_domain is not None:
1319
+ pulumi.set(__self__, "fault_domain", fault_domain)
1320
+
1321
+ @property
1322
+ @pulumi.getter(name="availabilityDomain")
1323
+ def availability_domain(self) -> Optional[pulumi.Input[builtins.str]]:
1324
+ """
1325
+ (Updatable) The availability domain of a placement.
1326
+ """
1327
+ return pulumi.get(self, "availability_domain")
1328
+
1329
+ @availability_domain.setter
1330
+ def availability_domain(self, value: Optional[pulumi.Input[builtins.str]]):
1331
+ pulumi.set(self, "availability_domain", value)
1332
+
1333
+ @property
1334
+ @pulumi.getter(name="faultDomain")
1335
+ def fault_domain(self) -> Optional[pulumi.Input[builtins.str]]:
1336
+ """
1337
+ (Updatable) The fault domain of a placement.
1338
+ """
1339
+ return pulumi.get(self, "fault_domain")
1340
+
1341
+ @fault_domain.setter
1342
+ def fault_domain(self, value: Optional[pulumi.Input[builtins.str]]):
1343
+ pulumi.set(self, "fault_domain", value)
1344
+
1345
+
1290
1346
  if not MYPY:
1291
1347
  class PipelineLockArgsDict(TypedDict):
1292
1348
  type: pulumi.Input[builtins.str]
@@ -2107,6 +2163,53 @@ class GetDeploymentEnvironmentsFilterArgs:
2107
2163
  pulumi.set(self, "regex", value)
2108
2164
 
2109
2165
 
2166
+ if not MYPY:
2167
+ class GetDeploymentPeersFilterArgsDict(TypedDict):
2168
+ name: builtins.str
2169
+ values: Sequence[builtins.str]
2170
+ regex: NotRequired[builtins.bool]
2171
+ elif False:
2172
+ GetDeploymentPeersFilterArgsDict: TypeAlias = Mapping[str, Any]
2173
+
2174
+ @pulumi.input_type
2175
+ class GetDeploymentPeersFilterArgs:
2176
+ def __init__(__self__, *,
2177
+ name: builtins.str,
2178
+ values: Sequence[builtins.str],
2179
+ regex: Optional[builtins.bool] = None):
2180
+ pulumi.set(__self__, "name", name)
2181
+ pulumi.set(__self__, "values", values)
2182
+ if regex is not None:
2183
+ pulumi.set(__self__, "regex", regex)
2184
+
2185
+ @property
2186
+ @pulumi.getter
2187
+ def name(self) -> builtins.str:
2188
+ return pulumi.get(self, "name")
2189
+
2190
+ @name.setter
2191
+ def name(self, value: builtins.str):
2192
+ pulumi.set(self, "name", value)
2193
+
2194
+ @property
2195
+ @pulumi.getter
2196
+ def values(self) -> Sequence[builtins.str]:
2197
+ return pulumi.get(self, "values")
2198
+
2199
+ @values.setter
2200
+ def values(self, value: Sequence[builtins.str]):
2201
+ pulumi.set(self, "values", value)
2202
+
2203
+ @property
2204
+ @pulumi.getter
2205
+ def regex(self) -> Optional[builtins.bool]:
2206
+ return pulumi.get(self, "regex")
2207
+
2208
+ @regex.setter
2209
+ def regex(self, value: Optional[builtins.bool]):
2210
+ pulumi.set(self, "regex", value)
2211
+
2212
+
2110
2213
  if not MYPY:
2111
2214
  class GetDeploymentTypesFilterArgsDict(TypedDict):
2112
2215
  name: builtins.str