pulumi-gcp 8.33.0a1749048505__py3-none-any.whl → 8.34.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.
Files changed (65) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/alloydb/cluster.py +16 -64
  3. pulumi_gcp/apigee/_inputs.py +89 -0
  4. pulumi_gcp/apigee/environment.py +68 -2
  5. pulumi_gcp/apigee/outputs.py +88 -0
  6. pulumi_gcp/apihub/__init__.py +1 -0
  7. pulumi_gcp/apihub/_inputs.py +184 -0
  8. pulumi_gcp/apihub/curation.py +812 -0
  9. pulumi_gcp/apihub/outputs.py +165 -0
  10. pulumi_gcp/beyondcorp/get_security_gateway.py +12 -1
  11. pulumi_gcp/beyondcorp/security_gateway.py +28 -0
  12. pulumi_gcp/cloudrunv2/_inputs.py +463 -0
  13. pulumi_gcp/cloudrunv2/outputs.py +581 -1
  14. pulumi_gcp/cloudrunv2/worker_pool.py +0 -8
  15. pulumi_gcp/colab/runtime_template.py +4 -26
  16. pulumi_gcp/compute/__init__.py +3 -0
  17. pulumi_gcp/compute/_inputs.py +1551 -0
  18. pulumi_gcp/compute/interconnect.py +32 -0
  19. pulumi_gcp/compute/interconnect_attachment.py +28 -0
  20. pulumi_gcp/compute/interconnect_attachment_group.py +636 -0
  21. pulumi_gcp/compute/interconnect_group.py +586 -0
  22. pulumi_gcp/compute/outputs.py +1087 -0
  23. pulumi_gcp/compute/snapshot_settings.py +285 -0
  24. pulumi_gcp/container/_inputs.py +51 -18
  25. pulumi_gcp/container/cluster.py +47 -0
  26. pulumi_gcp/container/get_cluster.py +12 -1
  27. pulumi_gcp/container/outputs.py +71 -16
  28. pulumi_gcp/dataplex/_inputs.py +20 -0
  29. pulumi_gcp/dataplex/datascan.py +2 -0
  30. pulumi_gcp/dataplex/outputs.py +15 -1
  31. pulumi_gcp/eventarc/_inputs.py +12 -5
  32. pulumi_gcp/eventarc/outputs.py +8 -3
  33. pulumi_gcp/eventarc/pipeline.py +0 -12
  34. pulumi_gcp/gemini/data_sharing_with_google_setting.py +58 -9
  35. pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +11 -16
  36. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +51 -2
  37. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +11 -16
  38. pulumi_gcp/gkehub/_inputs.py +84 -7
  39. pulumi_gcp/gkehub/feature.py +38 -0
  40. pulumi_gcp/gkehub/outputs.py +102 -7
  41. pulumi_gcp/gkehub/scope_rbac_role_binding.py +54 -2
  42. pulumi_gcp/gkeonprem/_inputs.py +54 -0
  43. pulumi_gcp/gkeonprem/outputs.py +49 -0
  44. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +71 -0
  45. pulumi_gcp/iam/workload_identity_pool_namespace.py +4 -4
  46. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  47. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  48. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  49. pulumi_gcp/managedkafka/connector.py +4 -4
  50. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  51. pulumi_gcp/networksecurity/backend_authentication_config.py +64 -0
  52. pulumi_gcp/orgpolicy/policy.py +2 -2
  53. pulumi_gcp/pubsub/_inputs.py +392 -0
  54. pulumi_gcp/pubsub/get_subscription.py +12 -1
  55. pulumi_gcp/pubsub/get_topic.py +12 -1
  56. pulumi_gcp/pubsub/outputs.py +548 -0
  57. pulumi_gcp/pubsub/subscription.py +67 -6
  58. pulumi_gcp/pubsub/topic.py +61 -0
  59. pulumi_gcp/pulumi-plugin.json +1 -1
  60. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  61. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  62. {pulumi_gcp-8.33.0a1749048505.dist-info → pulumi_gcp-8.34.0.dist-info}/METADATA +1 -1
  63. {pulumi_gcp-8.33.0a1749048505.dist-info → pulumi_gcp-8.34.0.dist-info}/RECORD +65 -61
  64. {pulumi_gcp-8.33.0a1749048505.dist-info → pulumi_gcp-8.34.0.dist-info}/WHEEL +0 -0
  65. {pulumi_gcp-8.33.0a1749048505.dist-info → pulumi_gcp-8.34.0.dist-info}/top_level.txt +0 -0
@@ -42,6 +42,16 @@ __all__ = [
42
42
  'JobTemplateTemplateContainerPortArgsDict',
43
43
  'JobTemplateTemplateContainerResourcesArgs',
44
44
  'JobTemplateTemplateContainerResourcesArgsDict',
45
+ 'JobTemplateTemplateContainerStartupProbeArgs',
46
+ 'JobTemplateTemplateContainerStartupProbeArgsDict',
47
+ 'JobTemplateTemplateContainerStartupProbeGrpcArgs',
48
+ 'JobTemplateTemplateContainerStartupProbeGrpcArgsDict',
49
+ 'JobTemplateTemplateContainerStartupProbeHttpGetArgs',
50
+ 'JobTemplateTemplateContainerStartupProbeHttpGetArgsDict',
51
+ 'JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs',
52
+ 'JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgsDict',
53
+ 'JobTemplateTemplateContainerStartupProbeTcpSocketArgs',
54
+ 'JobTemplateTemplateContainerStartupProbeTcpSocketArgsDict',
45
55
  'JobTemplateTemplateContainerVolumeMountArgs',
46
56
  'JobTemplateTemplateContainerVolumeMountArgsDict',
47
57
  'JobTemplateTemplateVolumeArgs',
@@ -983,6 +993,10 @@ if not MYPY:
983
993
  """
984
994
  Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
985
995
  """
996
+ depends_ons: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
997
+ """
998
+ Names of the containers that must start before this container.
999
+ """
986
1000
  envs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerEnvArgsDict']]]]
987
1001
  """
988
1002
  List of environment variables to set in the container.
@@ -1003,6 +1017,13 @@ if not MYPY:
1003
1017
  Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
1004
1018
  Structure is documented below.
1005
1019
  """
1020
+ startup_probe: NotRequired[pulumi.Input['JobTemplateTemplateContainerStartupProbeArgsDict']]
1021
+ """
1022
+ Startup probe of application within the container.
1023
+ All other probes are disabled if a startup probe is provided, until it
1024
+ succeeds. Container will not be added to service endpoints if the probe fails.
1025
+ Structure is documented below.
1026
+ """
1006
1027
  volume_mounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerVolumeMountArgsDict']]]]
1007
1028
  """
1008
1029
  Volume to mount into the container's filesystem.
@@ -1021,16 +1042,19 @@ class JobTemplateTemplateContainerArgs:
1021
1042
  image: pulumi.Input[builtins.str],
1022
1043
  args: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1023
1044
  commands: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1045
+ depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1024
1046
  envs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerEnvArgs']]]] = None,
1025
1047
  name: Optional[pulumi.Input[builtins.str]] = None,
1026
1048
  ports: Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerPortArgs']]]] = None,
1027
1049
  resources: Optional[pulumi.Input['JobTemplateTemplateContainerResourcesArgs']] = None,
1050
+ startup_probe: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeArgs']] = None,
1028
1051
  volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerVolumeMountArgs']]]] = None,
1029
1052
  working_dir: Optional[pulumi.Input[builtins.str]] = None):
1030
1053
  """
1031
1054
  :param pulumi.Input[builtins.str] image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
1032
1055
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
1033
1056
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
1057
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] depends_ons: Names of the containers that must start before this container.
1034
1058
  :param pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerEnvArgs']]] envs: List of environment variables to set in the container.
1035
1059
  Structure is documented below.
1036
1060
  :param pulumi.Input[builtins.str] name: Name of the container specified as a DNS_LABEL.
@@ -1039,6 +1063,10 @@ class JobTemplateTemplateContainerArgs:
1039
1063
  Structure is documented below.
1040
1064
  :param pulumi.Input['JobTemplateTemplateContainerResourcesArgs'] resources: Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
1041
1065
  Structure is documented below.
1066
+ :param pulumi.Input['JobTemplateTemplateContainerStartupProbeArgs'] startup_probe: Startup probe of application within the container.
1067
+ All other probes are disabled if a startup probe is provided, until it
1068
+ succeeds. Container will not be added to service endpoints if the probe fails.
1069
+ Structure is documented below.
1042
1070
  :param pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerVolumeMountArgs']]] volume_mounts: Volume to mount into the container's filesystem.
1043
1071
  Structure is documented below.
1044
1072
  :param pulumi.Input[builtins.str] working_dir: Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
@@ -1048,6 +1076,8 @@ class JobTemplateTemplateContainerArgs:
1048
1076
  pulumi.set(__self__, "args", args)
1049
1077
  if commands is not None:
1050
1078
  pulumi.set(__self__, "commands", commands)
1079
+ if depends_ons is not None:
1080
+ pulumi.set(__self__, "depends_ons", depends_ons)
1051
1081
  if envs is not None:
1052
1082
  pulumi.set(__self__, "envs", envs)
1053
1083
  if name is not None:
@@ -1056,6 +1086,8 @@ class JobTemplateTemplateContainerArgs:
1056
1086
  pulumi.set(__self__, "ports", ports)
1057
1087
  if resources is not None:
1058
1088
  pulumi.set(__self__, "resources", resources)
1089
+ if startup_probe is not None:
1090
+ pulumi.set(__self__, "startup_probe", startup_probe)
1059
1091
  if volume_mounts is not None:
1060
1092
  pulumi.set(__self__, "volume_mounts", volume_mounts)
1061
1093
  if working_dir is not None:
@@ -1097,6 +1129,18 @@ class JobTemplateTemplateContainerArgs:
1097
1129
  def commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
1098
1130
  pulumi.set(self, "commands", value)
1099
1131
 
1132
+ @property
1133
+ @pulumi.getter(name="dependsOns")
1134
+ def depends_ons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
1135
+ """
1136
+ Names of the containers that must start before this container.
1137
+ """
1138
+ return pulumi.get(self, "depends_ons")
1139
+
1140
+ @depends_ons.setter
1141
+ def depends_ons(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
1142
+ pulumi.set(self, "depends_ons", value)
1143
+
1100
1144
  @property
1101
1145
  @pulumi.getter
1102
1146
  def envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerEnvArgs']]]]:
@@ -1149,6 +1193,21 @@ class JobTemplateTemplateContainerArgs:
1149
1193
  def resources(self, value: Optional[pulumi.Input['JobTemplateTemplateContainerResourcesArgs']]):
1150
1194
  pulumi.set(self, "resources", value)
1151
1195
 
1196
+ @property
1197
+ @pulumi.getter(name="startupProbe")
1198
+ def startup_probe(self) -> Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeArgs']]:
1199
+ """
1200
+ Startup probe of application within the container.
1201
+ All other probes are disabled if a startup probe is provided, until it
1202
+ succeeds. Container will not be added to service endpoints if the probe fails.
1203
+ Structure is documented below.
1204
+ """
1205
+ return pulumi.get(self, "startup_probe")
1206
+
1207
+ @startup_probe.setter
1208
+ def startup_probe(self, value: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeArgs']]):
1209
+ pulumi.set(self, "startup_probe", value)
1210
+
1152
1211
  @property
1153
1212
  @pulumi.getter(name="volumeMounts")
1154
1213
  def volume_mounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerVolumeMountArgs']]]]:
@@ -1418,6 +1477,410 @@ class JobTemplateTemplateContainerResourcesArgs:
1418
1477
  pulumi.set(self, "limits", value)
1419
1478
 
1420
1479
 
1480
+ if not MYPY:
1481
+ class JobTemplateTemplateContainerStartupProbeArgsDict(TypedDict):
1482
+ failure_threshold: NotRequired[pulumi.Input[builtins.int]]
1483
+ """
1484
+ Minimum consecutive failures for the probe to be considered failed after
1485
+ having succeeded. Defaults to 3. Minimum value is 1.
1486
+ """
1487
+ grpc: NotRequired[pulumi.Input['JobTemplateTemplateContainerStartupProbeGrpcArgsDict']]
1488
+ """
1489
+ GRPC specifies an action involving a GRPC port.
1490
+ Structure is documented below.
1491
+ """
1492
+ http_get: NotRequired[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetArgsDict']]
1493
+ """
1494
+ HttpGet specifies the http request to perform.
1495
+ Structure is documented below.
1496
+ """
1497
+ initial_delay_seconds: NotRequired[pulumi.Input[builtins.int]]
1498
+ """
1499
+ Number of seconds after the container has started before the probe is
1500
+ initiated.
1501
+ Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
1502
+ """
1503
+ period_seconds: NotRequired[pulumi.Input[builtins.int]]
1504
+ """
1505
+ How often (in seconds) to perform the probe.
1506
+ Default to 10 seconds. Minimum value is 1. Maximum value is 240.
1507
+ """
1508
+ tcp_socket: NotRequired[pulumi.Input['JobTemplateTemplateContainerStartupProbeTcpSocketArgsDict']]
1509
+ """
1510
+ TcpSocket specifies an action involving a TCP port.
1511
+ Structure is documented below.
1512
+ """
1513
+ timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
1514
+ """
1515
+ Number of seconds after which the probe times out.
1516
+ Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
1517
+ Must be smaller than periodSeconds.
1518
+ """
1519
+ elif False:
1520
+ JobTemplateTemplateContainerStartupProbeArgsDict: TypeAlias = Mapping[str, Any]
1521
+
1522
+ @pulumi.input_type
1523
+ class JobTemplateTemplateContainerStartupProbeArgs:
1524
+ def __init__(__self__, *,
1525
+ failure_threshold: Optional[pulumi.Input[builtins.int]] = None,
1526
+ grpc: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeGrpcArgs']] = None,
1527
+ http_get: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetArgs']] = None,
1528
+ initial_delay_seconds: Optional[pulumi.Input[builtins.int]] = None,
1529
+ period_seconds: Optional[pulumi.Input[builtins.int]] = None,
1530
+ tcp_socket: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeTcpSocketArgs']] = None,
1531
+ timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
1532
+ """
1533
+ :param pulumi.Input[builtins.int] failure_threshold: Minimum consecutive failures for the probe to be considered failed after
1534
+ having succeeded. Defaults to 3. Minimum value is 1.
1535
+ :param pulumi.Input['JobTemplateTemplateContainerStartupProbeGrpcArgs'] grpc: GRPC specifies an action involving a GRPC port.
1536
+ Structure is documented below.
1537
+ :param pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetArgs'] http_get: HttpGet specifies the http request to perform.
1538
+ Structure is documented below.
1539
+ :param pulumi.Input[builtins.int] initial_delay_seconds: Number of seconds after the container has started before the probe is
1540
+ initiated.
1541
+ Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
1542
+ :param pulumi.Input[builtins.int] period_seconds: How often (in seconds) to perform the probe.
1543
+ Default to 10 seconds. Minimum value is 1. Maximum value is 240.
1544
+ :param pulumi.Input['JobTemplateTemplateContainerStartupProbeTcpSocketArgs'] tcp_socket: TcpSocket specifies an action involving a TCP port.
1545
+ Structure is documented below.
1546
+ :param pulumi.Input[builtins.int] timeout_seconds: Number of seconds after which the probe times out.
1547
+ Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
1548
+ Must be smaller than periodSeconds.
1549
+ """
1550
+ if failure_threshold is not None:
1551
+ pulumi.set(__self__, "failure_threshold", failure_threshold)
1552
+ if grpc is not None:
1553
+ pulumi.set(__self__, "grpc", grpc)
1554
+ if http_get is not None:
1555
+ pulumi.set(__self__, "http_get", http_get)
1556
+ if initial_delay_seconds is not None:
1557
+ pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
1558
+ if period_seconds is not None:
1559
+ pulumi.set(__self__, "period_seconds", period_seconds)
1560
+ if tcp_socket is not None:
1561
+ pulumi.set(__self__, "tcp_socket", tcp_socket)
1562
+ if timeout_seconds is not None:
1563
+ pulumi.set(__self__, "timeout_seconds", timeout_seconds)
1564
+
1565
+ @property
1566
+ @pulumi.getter(name="failureThreshold")
1567
+ def failure_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
1568
+ """
1569
+ Minimum consecutive failures for the probe to be considered failed after
1570
+ having succeeded. Defaults to 3. Minimum value is 1.
1571
+ """
1572
+ return pulumi.get(self, "failure_threshold")
1573
+
1574
+ @failure_threshold.setter
1575
+ def failure_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
1576
+ pulumi.set(self, "failure_threshold", value)
1577
+
1578
+ @property
1579
+ @pulumi.getter
1580
+ def grpc(self) -> Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeGrpcArgs']]:
1581
+ """
1582
+ GRPC specifies an action involving a GRPC port.
1583
+ Structure is documented below.
1584
+ """
1585
+ return pulumi.get(self, "grpc")
1586
+
1587
+ @grpc.setter
1588
+ def grpc(self, value: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeGrpcArgs']]):
1589
+ pulumi.set(self, "grpc", value)
1590
+
1591
+ @property
1592
+ @pulumi.getter(name="httpGet")
1593
+ def http_get(self) -> Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetArgs']]:
1594
+ """
1595
+ HttpGet specifies the http request to perform.
1596
+ Structure is documented below.
1597
+ """
1598
+ return pulumi.get(self, "http_get")
1599
+
1600
+ @http_get.setter
1601
+ def http_get(self, value: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetArgs']]):
1602
+ pulumi.set(self, "http_get", value)
1603
+
1604
+ @property
1605
+ @pulumi.getter(name="initialDelaySeconds")
1606
+ def initial_delay_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
1607
+ """
1608
+ Number of seconds after the container has started before the probe is
1609
+ initiated.
1610
+ Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
1611
+ """
1612
+ return pulumi.get(self, "initial_delay_seconds")
1613
+
1614
+ @initial_delay_seconds.setter
1615
+ def initial_delay_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
1616
+ pulumi.set(self, "initial_delay_seconds", value)
1617
+
1618
+ @property
1619
+ @pulumi.getter(name="periodSeconds")
1620
+ def period_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
1621
+ """
1622
+ How often (in seconds) to perform the probe.
1623
+ Default to 10 seconds. Minimum value is 1. Maximum value is 240.
1624
+ """
1625
+ return pulumi.get(self, "period_seconds")
1626
+
1627
+ @period_seconds.setter
1628
+ def period_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
1629
+ pulumi.set(self, "period_seconds", value)
1630
+
1631
+ @property
1632
+ @pulumi.getter(name="tcpSocket")
1633
+ def tcp_socket(self) -> Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeTcpSocketArgs']]:
1634
+ """
1635
+ TcpSocket specifies an action involving a TCP port.
1636
+ Structure is documented below.
1637
+ """
1638
+ return pulumi.get(self, "tcp_socket")
1639
+
1640
+ @tcp_socket.setter
1641
+ def tcp_socket(self, value: Optional[pulumi.Input['JobTemplateTemplateContainerStartupProbeTcpSocketArgs']]):
1642
+ pulumi.set(self, "tcp_socket", value)
1643
+
1644
+ @property
1645
+ @pulumi.getter(name="timeoutSeconds")
1646
+ def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
1647
+ """
1648
+ Number of seconds after which the probe times out.
1649
+ Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
1650
+ Must be smaller than periodSeconds.
1651
+ """
1652
+ return pulumi.get(self, "timeout_seconds")
1653
+
1654
+ @timeout_seconds.setter
1655
+ def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
1656
+ pulumi.set(self, "timeout_seconds", value)
1657
+
1658
+
1659
+ if not MYPY:
1660
+ class JobTemplateTemplateContainerStartupProbeGrpcArgsDict(TypedDict):
1661
+ port: NotRequired[pulumi.Input[builtins.int]]
1662
+ """
1663
+ Port number to access on the container. Number must be in the range 1 to 65535.
1664
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1665
+ """
1666
+ service: NotRequired[pulumi.Input[builtins.str]]
1667
+ """
1668
+ The name of the service to place in the gRPC HealthCheckRequest
1669
+ (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
1670
+ If this is not specified, the default behavior is defined by gRPC.
1671
+ """
1672
+ elif False:
1673
+ JobTemplateTemplateContainerStartupProbeGrpcArgsDict: TypeAlias = Mapping[str, Any]
1674
+
1675
+ @pulumi.input_type
1676
+ class JobTemplateTemplateContainerStartupProbeGrpcArgs:
1677
+ def __init__(__self__, *,
1678
+ port: Optional[pulumi.Input[builtins.int]] = None,
1679
+ service: Optional[pulumi.Input[builtins.str]] = None):
1680
+ """
1681
+ :param pulumi.Input[builtins.int] port: Port number to access on the container. Number must be in the range 1 to 65535.
1682
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1683
+ :param pulumi.Input[builtins.str] service: The name of the service to place in the gRPC HealthCheckRequest
1684
+ (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
1685
+ If this is not specified, the default behavior is defined by gRPC.
1686
+ """
1687
+ if port is not None:
1688
+ pulumi.set(__self__, "port", port)
1689
+ if service is not None:
1690
+ pulumi.set(__self__, "service", service)
1691
+
1692
+ @property
1693
+ @pulumi.getter
1694
+ def port(self) -> Optional[pulumi.Input[builtins.int]]:
1695
+ """
1696
+ Port number to access on the container. Number must be in the range 1 to 65535.
1697
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1698
+ """
1699
+ return pulumi.get(self, "port")
1700
+
1701
+ @port.setter
1702
+ def port(self, value: Optional[pulumi.Input[builtins.int]]):
1703
+ pulumi.set(self, "port", value)
1704
+
1705
+ @property
1706
+ @pulumi.getter
1707
+ def service(self) -> Optional[pulumi.Input[builtins.str]]:
1708
+ """
1709
+ The name of the service to place in the gRPC HealthCheckRequest
1710
+ (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
1711
+ If this is not specified, the default behavior is defined by gRPC.
1712
+ """
1713
+ return pulumi.get(self, "service")
1714
+
1715
+ @service.setter
1716
+ def service(self, value: Optional[pulumi.Input[builtins.str]]):
1717
+ pulumi.set(self, "service", value)
1718
+
1719
+
1720
+ if not MYPY:
1721
+ class JobTemplateTemplateContainerStartupProbeHttpGetArgsDict(TypedDict):
1722
+ http_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgsDict']]]]
1723
+ """
1724
+ Custom headers to set in the request. HTTP allows repeated headers.
1725
+ Structure is documented below.
1726
+ """
1727
+ path: NotRequired[pulumi.Input[builtins.str]]
1728
+ """
1729
+ Path to access on the HTTP server. If set, it should not be empty string.
1730
+ """
1731
+ port: NotRequired[pulumi.Input[builtins.int]]
1732
+ """
1733
+ Port number to access on the container. Number must be in the range 1 to 65535.
1734
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1735
+ """
1736
+ elif False:
1737
+ JobTemplateTemplateContainerStartupProbeHttpGetArgsDict: TypeAlias = Mapping[str, Any]
1738
+
1739
+ @pulumi.input_type
1740
+ class JobTemplateTemplateContainerStartupProbeHttpGetArgs:
1741
+ def __init__(__self__, *,
1742
+ http_headers: Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs']]]] = None,
1743
+ path: Optional[pulumi.Input[builtins.str]] = None,
1744
+ port: Optional[pulumi.Input[builtins.int]] = None):
1745
+ """
1746
+ :param pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs']]] http_headers: Custom headers to set in the request. HTTP allows repeated headers.
1747
+ Structure is documented below.
1748
+ :param pulumi.Input[builtins.str] path: Path to access on the HTTP server. If set, it should not be empty string.
1749
+ :param pulumi.Input[builtins.int] port: Port number to access on the container. Number must be in the range 1 to 65535.
1750
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1751
+ """
1752
+ if http_headers is not None:
1753
+ pulumi.set(__self__, "http_headers", http_headers)
1754
+ if path is not None:
1755
+ pulumi.set(__self__, "path", path)
1756
+ if port is not None:
1757
+ pulumi.set(__self__, "port", port)
1758
+
1759
+ @property
1760
+ @pulumi.getter(name="httpHeaders")
1761
+ def http_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs']]]]:
1762
+ """
1763
+ Custom headers to set in the request. HTTP allows repeated headers.
1764
+ Structure is documented below.
1765
+ """
1766
+ return pulumi.get(self, "http_headers")
1767
+
1768
+ @http_headers.setter
1769
+ def http_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs']]]]):
1770
+ pulumi.set(self, "http_headers", value)
1771
+
1772
+ @property
1773
+ @pulumi.getter
1774
+ def path(self) -> Optional[pulumi.Input[builtins.str]]:
1775
+ """
1776
+ Path to access on the HTTP server. If set, it should not be empty string.
1777
+ """
1778
+ return pulumi.get(self, "path")
1779
+
1780
+ @path.setter
1781
+ def path(self, value: Optional[pulumi.Input[builtins.str]]):
1782
+ pulumi.set(self, "path", value)
1783
+
1784
+ @property
1785
+ @pulumi.getter
1786
+ def port(self) -> Optional[pulumi.Input[builtins.int]]:
1787
+ """
1788
+ Port number to access on the container. Number must be in the range 1 to 65535.
1789
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1790
+ """
1791
+ return pulumi.get(self, "port")
1792
+
1793
+ @port.setter
1794
+ def port(self, value: Optional[pulumi.Input[builtins.int]]):
1795
+ pulumi.set(self, "port", value)
1796
+
1797
+
1798
+ if not MYPY:
1799
+ class JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgsDict(TypedDict):
1800
+ name: pulumi.Input[builtins.str]
1801
+ """
1802
+ The header field name.
1803
+ """
1804
+ value: NotRequired[pulumi.Input[builtins.str]]
1805
+ """
1806
+ The header field value.
1807
+ """
1808
+ elif False:
1809
+ JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgsDict: TypeAlias = Mapping[str, Any]
1810
+
1811
+ @pulumi.input_type
1812
+ class JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs:
1813
+ def __init__(__self__, *,
1814
+ name: pulumi.Input[builtins.str],
1815
+ value: Optional[pulumi.Input[builtins.str]] = None):
1816
+ """
1817
+ :param pulumi.Input[builtins.str] name: The header field name.
1818
+ :param pulumi.Input[builtins.str] value: The header field value.
1819
+ """
1820
+ pulumi.set(__self__, "name", name)
1821
+ if value is not None:
1822
+ pulumi.set(__self__, "value", value)
1823
+
1824
+ @property
1825
+ @pulumi.getter
1826
+ def name(self) -> pulumi.Input[builtins.str]:
1827
+ """
1828
+ The header field name.
1829
+ """
1830
+ return pulumi.get(self, "name")
1831
+
1832
+ @name.setter
1833
+ def name(self, value: pulumi.Input[builtins.str]):
1834
+ pulumi.set(self, "name", value)
1835
+
1836
+ @property
1837
+ @pulumi.getter
1838
+ def value(self) -> Optional[pulumi.Input[builtins.str]]:
1839
+ """
1840
+ The header field value.
1841
+ """
1842
+ return pulumi.get(self, "value")
1843
+
1844
+ @value.setter
1845
+ def value(self, value: Optional[pulumi.Input[builtins.str]]):
1846
+ pulumi.set(self, "value", value)
1847
+
1848
+
1849
+ if not MYPY:
1850
+ class JobTemplateTemplateContainerStartupProbeTcpSocketArgsDict(TypedDict):
1851
+ port: NotRequired[pulumi.Input[builtins.int]]
1852
+ """
1853
+ Port number to access on the container. Number must be in the range 1 to 65535.
1854
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1855
+ """
1856
+ elif False:
1857
+ JobTemplateTemplateContainerStartupProbeTcpSocketArgsDict: TypeAlias = Mapping[str, Any]
1858
+
1859
+ @pulumi.input_type
1860
+ class JobTemplateTemplateContainerStartupProbeTcpSocketArgs:
1861
+ def __init__(__self__, *,
1862
+ port: Optional[pulumi.Input[builtins.int]] = None):
1863
+ """
1864
+ :param pulumi.Input[builtins.int] port: Port number to access on the container. Number must be in the range 1 to 65535.
1865
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1866
+ """
1867
+ if port is not None:
1868
+ pulumi.set(__self__, "port", port)
1869
+
1870
+ @property
1871
+ @pulumi.getter
1872
+ def port(self) -> Optional[pulumi.Input[builtins.int]]:
1873
+ """
1874
+ Port number to access on the container. Number must be in the range 1 to 65535.
1875
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1876
+ """
1877
+ return pulumi.get(self, "port")
1878
+
1879
+ @port.setter
1880
+ def port(self, value: Optional[pulumi.Input[builtins.int]]):
1881
+ pulumi.set(self, "port", value)
1882
+
1883
+
1421
1884
  if not MYPY:
1422
1885
  class JobTemplateTemplateContainerVolumeMountArgsDict(TypedDict):
1423
1886
  mount_path: pulumi.Input[builtins.str]