pulumi-gcp 8.34.0a1749538186__py3-none-any.whl → 8.34.0a1749653876__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.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749653876.dist-info}/METADATA +1 -1
  63. {pulumi_gcp-8.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749653876.dist-info}/RECORD +65 -61
  64. {pulumi_gcp-8.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749653876.dist-info}/WHEEL +0 -0
  65. {pulumi_gcp-8.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749653876.dist-info}/top_level.txt +0 -0
@@ -30,6 +30,11 @@ __all__ = [
30
30
  'JobTemplateTemplateContainerEnvValueSourceSecretKeyRef',
31
31
  'JobTemplateTemplateContainerPort',
32
32
  'JobTemplateTemplateContainerResources',
33
+ 'JobTemplateTemplateContainerStartupProbe',
34
+ 'JobTemplateTemplateContainerStartupProbeGrpc',
35
+ 'JobTemplateTemplateContainerStartupProbeHttpGet',
36
+ 'JobTemplateTemplateContainerStartupProbeHttpGetHttpHeader',
37
+ 'JobTemplateTemplateContainerStartupProbeTcpSocket',
33
38
  'JobTemplateTemplateContainerVolumeMount',
34
39
  'JobTemplateTemplateVolume',
35
40
  'JobTemplateTemplateVolumeCloudSqlInstance',
@@ -117,6 +122,11 @@ __all__ = [
117
122
  'GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRefResult',
118
123
  'GetJobTemplateTemplateContainerPortResult',
119
124
  'GetJobTemplateTemplateContainerResourceResult',
125
+ 'GetJobTemplateTemplateContainerStartupProbeResult',
126
+ 'GetJobTemplateTemplateContainerStartupProbeGrpcResult',
127
+ 'GetJobTemplateTemplateContainerStartupProbeHttpGetResult',
128
+ 'GetJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderResult',
129
+ 'GetJobTemplateTemplateContainerStartupProbeTcpSocketResult',
120
130
  'GetJobTemplateTemplateContainerVolumeMountResult',
121
131
  'GetJobTemplateTemplateVolumeResult',
122
132
  'GetJobTemplateTemplateVolumeCloudSqlInstanceResult',
@@ -761,7 +771,11 @@ class JobTemplateTemplateContainer(dict):
761
771
  @staticmethod
762
772
  def __key_warning(key: str):
763
773
  suggest = None
764
- if key == "volumeMounts":
774
+ if key == "dependsOns":
775
+ suggest = "depends_ons"
776
+ elif key == "startupProbe":
777
+ suggest = "startup_probe"
778
+ elif key == "volumeMounts":
765
779
  suggest = "volume_mounts"
766
780
  elif key == "workingDir":
767
781
  suggest = "working_dir"
@@ -781,16 +795,19 @@ class JobTemplateTemplateContainer(dict):
781
795
  image: builtins.str,
782
796
  args: Optional[Sequence[builtins.str]] = None,
783
797
  commands: Optional[Sequence[builtins.str]] = None,
798
+ depends_ons: Optional[Sequence[builtins.str]] = None,
784
799
  envs: Optional[Sequence['outputs.JobTemplateTemplateContainerEnv']] = None,
785
800
  name: Optional[builtins.str] = None,
786
801
  ports: Optional[Sequence['outputs.JobTemplateTemplateContainerPort']] = None,
787
802
  resources: Optional['outputs.JobTemplateTemplateContainerResources'] = None,
803
+ startup_probe: Optional['outputs.JobTemplateTemplateContainerStartupProbe'] = None,
788
804
  volume_mounts: Optional[Sequence['outputs.JobTemplateTemplateContainerVolumeMount']] = None,
789
805
  working_dir: Optional[builtins.str] = None):
790
806
  """
791
807
  :param 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
792
808
  :param Sequence[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.
793
809
  :param Sequence[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
810
+ :param Sequence[builtins.str] depends_ons: Names of the containers that must start before this container.
794
811
  :param Sequence['JobTemplateTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
795
812
  Structure is documented below.
796
813
  :param builtins.str name: Name of the container specified as a DNS_LABEL.
@@ -799,6 +816,10 @@ class JobTemplateTemplateContainer(dict):
799
816
  Structure is documented below.
800
817
  :param 'JobTemplateTemplateContainerResourcesArgs' resources: Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
801
818
  Structure is documented below.
819
+ :param 'JobTemplateTemplateContainerStartupProbeArgs' startup_probe: Startup probe of application within the container.
820
+ All other probes are disabled if a startup probe is provided, until it
821
+ succeeds. Container will not be added to service endpoints if the probe fails.
822
+ Structure is documented below.
802
823
  :param Sequence['JobTemplateTemplateContainerVolumeMountArgs'] volume_mounts: Volume to mount into the container's filesystem.
803
824
  Structure is documented below.
804
825
  :param 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.
@@ -808,6 +829,8 @@ class JobTemplateTemplateContainer(dict):
808
829
  pulumi.set(__self__, "args", args)
809
830
  if commands is not None:
810
831
  pulumi.set(__self__, "commands", commands)
832
+ if depends_ons is not None:
833
+ pulumi.set(__self__, "depends_ons", depends_ons)
811
834
  if envs is not None:
812
835
  pulumi.set(__self__, "envs", envs)
813
836
  if name is not None:
@@ -816,6 +839,8 @@ class JobTemplateTemplateContainer(dict):
816
839
  pulumi.set(__self__, "ports", ports)
817
840
  if resources is not None:
818
841
  pulumi.set(__self__, "resources", resources)
842
+ if startup_probe is not None:
843
+ pulumi.set(__self__, "startup_probe", startup_probe)
819
844
  if volume_mounts is not None:
820
845
  pulumi.set(__self__, "volume_mounts", volume_mounts)
821
846
  if working_dir is not None:
@@ -845,6 +870,14 @@ class JobTemplateTemplateContainer(dict):
845
870
  """
846
871
  return pulumi.get(self, "commands")
847
872
 
873
+ @property
874
+ @pulumi.getter(name="dependsOns")
875
+ def depends_ons(self) -> Optional[Sequence[builtins.str]]:
876
+ """
877
+ Names of the containers that must start before this container.
878
+ """
879
+ return pulumi.get(self, "depends_ons")
880
+
848
881
  @property
849
882
  @pulumi.getter
850
883
  def envs(self) -> Optional[Sequence['outputs.JobTemplateTemplateContainerEnv']]:
@@ -881,6 +914,17 @@ class JobTemplateTemplateContainer(dict):
881
914
  """
882
915
  return pulumi.get(self, "resources")
883
916
 
917
+ @property
918
+ @pulumi.getter(name="startupProbe")
919
+ def startup_probe(self) -> Optional['outputs.JobTemplateTemplateContainerStartupProbe']:
920
+ """
921
+ Startup probe of application within the container.
922
+ All other probes are disabled if a startup probe is provided, until it
923
+ succeeds. Container will not be added to service endpoints if the probe fails.
924
+ Structure is documented below.
925
+ """
926
+ return pulumi.get(self, "startup_probe")
927
+
884
928
  @property
885
929
  @pulumi.getter(name="volumeMounts")
886
930
  def volume_mounts(self) -> Optional[Sequence['outputs.JobTemplateTemplateContainerVolumeMount']]:
@@ -1094,6 +1138,294 @@ class JobTemplateTemplateContainerResources(dict):
1094
1138
  return pulumi.get(self, "limits")
1095
1139
 
1096
1140
 
1141
+ @pulumi.output_type
1142
+ class JobTemplateTemplateContainerStartupProbe(dict):
1143
+ @staticmethod
1144
+ def __key_warning(key: str):
1145
+ suggest = None
1146
+ if key == "failureThreshold":
1147
+ suggest = "failure_threshold"
1148
+ elif key == "httpGet":
1149
+ suggest = "http_get"
1150
+ elif key == "initialDelaySeconds":
1151
+ suggest = "initial_delay_seconds"
1152
+ elif key == "periodSeconds":
1153
+ suggest = "period_seconds"
1154
+ elif key == "tcpSocket":
1155
+ suggest = "tcp_socket"
1156
+ elif key == "timeoutSeconds":
1157
+ suggest = "timeout_seconds"
1158
+
1159
+ if suggest:
1160
+ pulumi.log.warn(f"Key '{key}' not found in JobTemplateTemplateContainerStartupProbe. Access the value via the '{suggest}' property getter instead.")
1161
+
1162
+ def __getitem__(self, key: str) -> Any:
1163
+ JobTemplateTemplateContainerStartupProbe.__key_warning(key)
1164
+ return super().__getitem__(key)
1165
+
1166
+ def get(self, key: str, default = None) -> Any:
1167
+ JobTemplateTemplateContainerStartupProbe.__key_warning(key)
1168
+ return super().get(key, default)
1169
+
1170
+ def __init__(__self__, *,
1171
+ failure_threshold: Optional[builtins.int] = None,
1172
+ grpc: Optional['outputs.JobTemplateTemplateContainerStartupProbeGrpc'] = None,
1173
+ http_get: Optional['outputs.JobTemplateTemplateContainerStartupProbeHttpGet'] = None,
1174
+ initial_delay_seconds: Optional[builtins.int] = None,
1175
+ period_seconds: Optional[builtins.int] = None,
1176
+ tcp_socket: Optional['outputs.JobTemplateTemplateContainerStartupProbeTcpSocket'] = None,
1177
+ timeout_seconds: Optional[builtins.int] = None):
1178
+ """
1179
+ :param builtins.int failure_threshold: Minimum consecutive failures for the probe to be considered failed after
1180
+ having succeeded. Defaults to 3. Minimum value is 1.
1181
+ :param 'JobTemplateTemplateContainerStartupProbeGrpcArgs' grpc: GRPC specifies an action involving a GRPC port.
1182
+ Structure is documented below.
1183
+ :param 'JobTemplateTemplateContainerStartupProbeHttpGetArgs' http_get: HttpGet specifies the http request to perform.
1184
+ Structure is documented below.
1185
+ :param builtins.int initial_delay_seconds: Number of seconds after the container has started before the probe is
1186
+ initiated.
1187
+ Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
1188
+ :param builtins.int period_seconds: How often (in seconds) to perform the probe.
1189
+ Default to 10 seconds. Minimum value is 1. Maximum value is 240.
1190
+ :param 'JobTemplateTemplateContainerStartupProbeTcpSocketArgs' tcp_socket: TcpSocket specifies an action involving a TCP port.
1191
+ Structure is documented below.
1192
+ :param builtins.int timeout_seconds: Number of seconds after which the probe times out.
1193
+ Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
1194
+ Must be smaller than periodSeconds.
1195
+ """
1196
+ if failure_threshold is not None:
1197
+ pulumi.set(__self__, "failure_threshold", failure_threshold)
1198
+ if grpc is not None:
1199
+ pulumi.set(__self__, "grpc", grpc)
1200
+ if http_get is not None:
1201
+ pulumi.set(__self__, "http_get", http_get)
1202
+ if initial_delay_seconds is not None:
1203
+ pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
1204
+ if period_seconds is not None:
1205
+ pulumi.set(__self__, "period_seconds", period_seconds)
1206
+ if tcp_socket is not None:
1207
+ pulumi.set(__self__, "tcp_socket", tcp_socket)
1208
+ if timeout_seconds is not None:
1209
+ pulumi.set(__self__, "timeout_seconds", timeout_seconds)
1210
+
1211
+ @property
1212
+ @pulumi.getter(name="failureThreshold")
1213
+ def failure_threshold(self) -> Optional[builtins.int]:
1214
+ """
1215
+ Minimum consecutive failures for the probe to be considered failed after
1216
+ having succeeded. Defaults to 3. Minimum value is 1.
1217
+ """
1218
+ return pulumi.get(self, "failure_threshold")
1219
+
1220
+ @property
1221
+ @pulumi.getter
1222
+ def grpc(self) -> Optional['outputs.JobTemplateTemplateContainerStartupProbeGrpc']:
1223
+ """
1224
+ GRPC specifies an action involving a GRPC port.
1225
+ Structure is documented below.
1226
+ """
1227
+ return pulumi.get(self, "grpc")
1228
+
1229
+ @property
1230
+ @pulumi.getter(name="httpGet")
1231
+ def http_get(self) -> Optional['outputs.JobTemplateTemplateContainerStartupProbeHttpGet']:
1232
+ """
1233
+ HttpGet specifies the http request to perform.
1234
+ Structure is documented below.
1235
+ """
1236
+ return pulumi.get(self, "http_get")
1237
+
1238
+ @property
1239
+ @pulumi.getter(name="initialDelaySeconds")
1240
+ def initial_delay_seconds(self) -> Optional[builtins.int]:
1241
+ """
1242
+ Number of seconds after the container has started before the probe is
1243
+ initiated.
1244
+ Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
1245
+ """
1246
+ return pulumi.get(self, "initial_delay_seconds")
1247
+
1248
+ @property
1249
+ @pulumi.getter(name="periodSeconds")
1250
+ def period_seconds(self) -> Optional[builtins.int]:
1251
+ """
1252
+ How often (in seconds) to perform the probe.
1253
+ Default to 10 seconds. Minimum value is 1. Maximum value is 240.
1254
+ """
1255
+ return pulumi.get(self, "period_seconds")
1256
+
1257
+ @property
1258
+ @pulumi.getter(name="tcpSocket")
1259
+ def tcp_socket(self) -> Optional['outputs.JobTemplateTemplateContainerStartupProbeTcpSocket']:
1260
+ """
1261
+ TcpSocket specifies an action involving a TCP port.
1262
+ Structure is documented below.
1263
+ """
1264
+ return pulumi.get(self, "tcp_socket")
1265
+
1266
+ @property
1267
+ @pulumi.getter(name="timeoutSeconds")
1268
+ def timeout_seconds(self) -> Optional[builtins.int]:
1269
+ """
1270
+ Number of seconds after which the probe times out.
1271
+ Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
1272
+ Must be smaller than periodSeconds.
1273
+ """
1274
+ return pulumi.get(self, "timeout_seconds")
1275
+
1276
+
1277
+ @pulumi.output_type
1278
+ class JobTemplateTemplateContainerStartupProbeGrpc(dict):
1279
+ def __init__(__self__, *,
1280
+ port: Optional[builtins.int] = None,
1281
+ service: Optional[builtins.str] = None):
1282
+ """
1283
+ :param builtins.int port: Port number to access on the container. Number must be in the range 1 to 65535.
1284
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1285
+ :param builtins.str service: The name of the service to place in the gRPC HealthCheckRequest
1286
+ (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
1287
+ If this is not specified, the default behavior is defined by gRPC.
1288
+ """
1289
+ if port is not None:
1290
+ pulumi.set(__self__, "port", port)
1291
+ if service is not None:
1292
+ pulumi.set(__self__, "service", service)
1293
+
1294
+ @property
1295
+ @pulumi.getter
1296
+ def port(self) -> Optional[builtins.int]:
1297
+ """
1298
+ Port number to access on the container. Number must be in the range 1 to 65535.
1299
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1300
+ """
1301
+ return pulumi.get(self, "port")
1302
+
1303
+ @property
1304
+ @pulumi.getter
1305
+ def service(self) -> Optional[builtins.str]:
1306
+ """
1307
+ The name of the service to place in the gRPC HealthCheckRequest
1308
+ (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
1309
+ If this is not specified, the default behavior is defined by gRPC.
1310
+ """
1311
+ return pulumi.get(self, "service")
1312
+
1313
+
1314
+ @pulumi.output_type
1315
+ class JobTemplateTemplateContainerStartupProbeHttpGet(dict):
1316
+ @staticmethod
1317
+ def __key_warning(key: str):
1318
+ suggest = None
1319
+ if key == "httpHeaders":
1320
+ suggest = "http_headers"
1321
+
1322
+ if suggest:
1323
+ pulumi.log.warn(f"Key '{key}' not found in JobTemplateTemplateContainerStartupProbeHttpGet. Access the value via the '{suggest}' property getter instead.")
1324
+
1325
+ def __getitem__(self, key: str) -> Any:
1326
+ JobTemplateTemplateContainerStartupProbeHttpGet.__key_warning(key)
1327
+ return super().__getitem__(key)
1328
+
1329
+ def get(self, key: str, default = None) -> Any:
1330
+ JobTemplateTemplateContainerStartupProbeHttpGet.__key_warning(key)
1331
+ return super().get(key, default)
1332
+
1333
+ def __init__(__self__, *,
1334
+ http_headers: Optional[Sequence['outputs.JobTemplateTemplateContainerStartupProbeHttpGetHttpHeader']] = None,
1335
+ path: Optional[builtins.str] = None,
1336
+ port: Optional[builtins.int] = None):
1337
+ """
1338
+ :param Sequence['JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs'] http_headers: Custom headers to set in the request. HTTP allows repeated headers.
1339
+ Structure is documented below.
1340
+ :param builtins.str path: Path to access on the HTTP server. If set, it should not be empty string.
1341
+ :param builtins.int port: Port number to access on the container. Number must be in the range 1 to 65535.
1342
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1343
+ """
1344
+ if http_headers is not None:
1345
+ pulumi.set(__self__, "http_headers", http_headers)
1346
+ if path is not None:
1347
+ pulumi.set(__self__, "path", path)
1348
+ if port is not None:
1349
+ pulumi.set(__self__, "port", port)
1350
+
1351
+ @property
1352
+ @pulumi.getter(name="httpHeaders")
1353
+ def http_headers(self) -> Optional[Sequence['outputs.JobTemplateTemplateContainerStartupProbeHttpGetHttpHeader']]:
1354
+ """
1355
+ Custom headers to set in the request. HTTP allows repeated headers.
1356
+ Structure is documented below.
1357
+ """
1358
+ return pulumi.get(self, "http_headers")
1359
+
1360
+ @property
1361
+ @pulumi.getter
1362
+ def path(self) -> Optional[builtins.str]:
1363
+ """
1364
+ Path to access on the HTTP server. If set, it should not be empty string.
1365
+ """
1366
+ return pulumi.get(self, "path")
1367
+
1368
+ @property
1369
+ @pulumi.getter
1370
+ def port(self) -> Optional[builtins.int]:
1371
+ """
1372
+ Port number to access on the container. Number must be in the range 1 to 65535.
1373
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1374
+ """
1375
+ return pulumi.get(self, "port")
1376
+
1377
+
1378
+ @pulumi.output_type
1379
+ class JobTemplateTemplateContainerStartupProbeHttpGetHttpHeader(dict):
1380
+ def __init__(__self__, *,
1381
+ name: builtins.str,
1382
+ value: Optional[builtins.str] = None):
1383
+ """
1384
+ :param builtins.str name: The header field name.
1385
+ :param builtins.str value: The header field value.
1386
+ """
1387
+ pulumi.set(__self__, "name", name)
1388
+ if value is not None:
1389
+ pulumi.set(__self__, "value", value)
1390
+
1391
+ @property
1392
+ @pulumi.getter
1393
+ def name(self) -> builtins.str:
1394
+ """
1395
+ The header field name.
1396
+ """
1397
+ return pulumi.get(self, "name")
1398
+
1399
+ @property
1400
+ @pulumi.getter
1401
+ def value(self) -> Optional[builtins.str]:
1402
+ """
1403
+ The header field value.
1404
+ """
1405
+ return pulumi.get(self, "value")
1406
+
1407
+
1408
+ @pulumi.output_type
1409
+ class JobTemplateTemplateContainerStartupProbeTcpSocket(dict):
1410
+ def __init__(__self__, *,
1411
+ port: Optional[builtins.int] = None):
1412
+ """
1413
+ :param builtins.int port: Port number to access on the container. Number must be in the range 1 to 65535.
1414
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1415
+ """
1416
+ if port is not None:
1417
+ pulumi.set(__self__, "port", port)
1418
+
1419
+ @property
1420
+ @pulumi.getter
1421
+ def port(self) -> Optional[builtins.int]:
1422
+ """
1423
+ Port number to access on the container. Number must be in the range 1 to 65535.
1424
+ If not specified, defaults to the same value as container.ports[0].containerPort.
1425
+ """
1426
+ return pulumi.get(self, "port")
1427
+
1428
+
1097
1429
  @pulumi.output_type
1098
1430
  class JobTemplateTemplateContainerVolumeMount(dict):
1099
1431
  @staticmethod
@@ -6553,16 +6885,19 @@ class GetJobTemplateTemplateContainerResult(dict):
6553
6885
  def __init__(__self__, *,
6554
6886
  args: Sequence[builtins.str],
6555
6887
  commands: Sequence[builtins.str],
6888
+ depends_ons: Sequence[builtins.str],
6556
6889
  envs: Sequence['outputs.GetJobTemplateTemplateContainerEnvResult'],
6557
6890
  image: builtins.str,
6558
6891
  name: builtins.str,
6559
6892
  ports: Sequence['outputs.GetJobTemplateTemplateContainerPortResult'],
6560
6893
  resources: Sequence['outputs.GetJobTemplateTemplateContainerResourceResult'],
6894
+ startup_probes: Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeResult'],
6561
6895
  volume_mounts: Sequence['outputs.GetJobTemplateTemplateContainerVolumeMountResult'],
6562
6896
  working_dir: builtins.str):
6563
6897
  """
6564
6898
  :param Sequence[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.
6565
6899
  :param Sequence[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
6900
+ :param Sequence[builtins.str] depends_ons: Names of the containers that must start before this container.
6566
6901
  :param Sequence['GetJobTemplateTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
6567
6902
  :param 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
6568
6903
  :param builtins.str name: The name of the Cloud Run v2 Job.
@@ -6570,16 +6905,21 @@ class GetJobTemplateTemplateContainerResult(dict):
6570
6905
 
6571
6906
  If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
6572
6907
  :param Sequence['GetJobTemplateTemplateContainerResourceArgs'] resources: Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
6908
+ :param Sequence['GetJobTemplateTemplateContainerStartupProbeArgs'] startup_probes: Startup probe of application within the container.
6909
+ All other probes are disabled if a startup probe is provided, until it
6910
+ succeeds. Container will not be added to service endpoints if the probe fails.
6573
6911
  :param Sequence['GetJobTemplateTemplateContainerVolumeMountArgs'] volume_mounts: Volume to mount into the container's filesystem.
6574
6912
  :param 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.
6575
6913
  """
6576
6914
  pulumi.set(__self__, "args", args)
6577
6915
  pulumi.set(__self__, "commands", commands)
6916
+ pulumi.set(__self__, "depends_ons", depends_ons)
6578
6917
  pulumi.set(__self__, "envs", envs)
6579
6918
  pulumi.set(__self__, "image", image)
6580
6919
  pulumi.set(__self__, "name", name)
6581
6920
  pulumi.set(__self__, "ports", ports)
6582
6921
  pulumi.set(__self__, "resources", resources)
6922
+ pulumi.set(__self__, "startup_probes", startup_probes)
6583
6923
  pulumi.set(__self__, "volume_mounts", volume_mounts)
6584
6924
  pulumi.set(__self__, "working_dir", working_dir)
6585
6925
 
@@ -6599,6 +6939,14 @@ class GetJobTemplateTemplateContainerResult(dict):
6599
6939
  """
6600
6940
  return pulumi.get(self, "commands")
6601
6941
 
6942
+ @property
6943
+ @pulumi.getter(name="dependsOns")
6944
+ def depends_ons(self) -> Sequence[builtins.str]:
6945
+ """
6946
+ Names of the containers that must start before this container.
6947
+ """
6948
+ return pulumi.get(self, "depends_ons")
6949
+
6602
6950
  @property
6603
6951
  @pulumi.getter
6604
6952
  def envs(self) -> Sequence['outputs.GetJobTemplateTemplateContainerEnvResult']:
@@ -6641,6 +6989,16 @@ class GetJobTemplateTemplateContainerResult(dict):
6641
6989
  """
6642
6990
  return pulumi.get(self, "resources")
6643
6991
 
6992
+ @property
6993
+ @pulumi.getter(name="startupProbes")
6994
+ def startup_probes(self) -> Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeResult']:
6995
+ """
6996
+ Startup probe of application within the container.
6997
+ All other probes are disabled if a startup probe is provided, until it
6998
+ succeeds. Container will not be added to service endpoints if the probe fails.
6999
+ """
7000
+ return pulumi.get(self, "startup_probes")
7001
+
6644
7002
  @property
6645
7003
  @pulumi.getter(name="volumeMounts")
6646
7004
  def volume_mounts(self) -> Sequence['outputs.GetJobTemplateTemplateContainerVolumeMountResult']:
@@ -6792,6 +7150,228 @@ class GetJobTemplateTemplateContainerResourceResult(dict):
6792
7150
  return pulumi.get(self, "limits")
6793
7151
 
6794
7152
 
7153
+ @pulumi.output_type
7154
+ class GetJobTemplateTemplateContainerStartupProbeResult(dict):
7155
+ def __init__(__self__, *,
7156
+ failure_threshold: builtins.int,
7157
+ grpcs: Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeGrpcResult'],
7158
+ http_gets: Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeHttpGetResult'],
7159
+ initial_delay_seconds: builtins.int,
7160
+ period_seconds: builtins.int,
7161
+ tcp_sockets: Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeTcpSocketResult'],
7162
+ timeout_seconds: builtins.int):
7163
+ """
7164
+ :param builtins.int failure_threshold: Minimum consecutive failures for the probe to be considered failed after
7165
+ having succeeded. Defaults to 3. Minimum value is 1.
7166
+ :param Sequence['GetJobTemplateTemplateContainerStartupProbeGrpcArgs'] grpcs: GRPC specifies an action involving a GRPC port.
7167
+ :param Sequence['GetJobTemplateTemplateContainerStartupProbeHttpGetArgs'] http_gets: HttpGet specifies the http request to perform.
7168
+ :param builtins.int initial_delay_seconds: Number of seconds after the container has started before the probe is
7169
+ initiated.
7170
+ Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
7171
+ :param builtins.int period_seconds: How often (in seconds) to perform the probe.
7172
+ Default to 10 seconds. Minimum value is 1. Maximum value is 240.
7173
+ :param Sequence['GetJobTemplateTemplateContainerStartupProbeTcpSocketArgs'] tcp_sockets: TcpSocket specifies an action involving a TCP port.
7174
+ :param builtins.int timeout_seconds: Number of seconds after which the probe times out.
7175
+ Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
7176
+ Must be smaller than periodSeconds.
7177
+ """
7178
+ pulumi.set(__self__, "failure_threshold", failure_threshold)
7179
+ pulumi.set(__self__, "grpcs", grpcs)
7180
+ pulumi.set(__self__, "http_gets", http_gets)
7181
+ pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
7182
+ pulumi.set(__self__, "period_seconds", period_seconds)
7183
+ pulumi.set(__self__, "tcp_sockets", tcp_sockets)
7184
+ pulumi.set(__self__, "timeout_seconds", timeout_seconds)
7185
+
7186
+ @property
7187
+ @pulumi.getter(name="failureThreshold")
7188
+ def failure_threshold(self) -> builtins.int:
7189
+ """
7190
+ Minimum consecutive failures for the probe to be considered failed after
7191
+ having succeeded. Defaults to 3. Minimum value is 1.
7192
+ """
7193
+ return pulumi.get(self, "failure_threshold")
7194
+
7195
+ @property
7196
+ @pulumi.getter
7197
+ def grpcs(self) -> Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeGrpcResult']:
7198
+ """
7199
+ GRPC specifies an action involving a GRPC port.
7200
+ """
7201
+ return pulumi.get(self, "grpcs")
7202
+
7203
+ @property
7204
+ @pulumi.getter(name="httpGets")
7205
+ def http_gets(self) -> Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeHttpGetResult']:
7206
+ """
7207
+ HttpGet specifies the http request to perform.
7208
+ """
7209
+ return pulumi.get(self, "http_gets")
7210
+
7211
+ @property
7212
+ @pulumi.getter(name="initialDelaySeconds")
7213
+ def initial_delay_seconds(self) -> builtins.int:
7214
+ """
7215
+ Number of seconds after the container has started before the probe is
7216
+ initiated.
7217
+ Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
7218
+ """
7219
+ return pulumi.get(self, "initial_delay_seconds")
7220
+
7221
+ @property
7222
+ @pulumi.getter(name="periodSeconds")
7223
+ def period_seconds(self) -> builtins.int:
7224
+ """
7225
+ How often (in seconds) to perform the probe.
7226
+ Default to 10 seconds. Minimum value is 1. Maximum value is 240.
7227
+ """
7228
+ return pulumi.get(self, "period_seconds")
7229
+
7230
+ @property
7231
+ @pulumi.getter(name="tcpSockets")
7232
+ def tcp_sockets(self) -> Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeTcpSocketResult']:
7233
+ """
7234
+ TcpSocket specifies an action involving a TCP port.
7235
+ """
7236
+ return pulumi.get(self, "tcp_sockets")
7237
+
7238
+ @property
7239
+ @pulumi.getter(name="timeoutSeconds")
7240
+ def timeout_seconds(self) -> builtins.int:
7241
+ """
7242
+ Number of seconds after which the probe times out.
7243
+ Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
7244
+ Must be smaller than periodSeconds.
7245
+ """
7246
+ return pulumi.get(self, "timeout_seconds")
7247
+
7248
+
7249
+ @pulumi.output_type
7250
+ class GetJobTemplateTemplateContainerStartupProbeGrpcResult(dict):
7251
+ def __init__(__self__, *,
7252
+ port: builtins.int,
7253
+ service: builtins.str):
7254
+ """
7255
+ :param builtins.int port: Port number to access on the container. Number must be in the range 1 to 65535.
7256
+ If not specified, defaults to the same value as container.ports[0].containerPort.
7257
+ :param builtins.str service: The name of the service to place in the gRPC HealthCheckRequest
7258
+ (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
7259
+ If this is not specified, the default behavior is defined by gRPC.
7260
+ """
7261
+ pulumi.set(__self__, "port", port)
7262
+ pulumi.set(__self__, "service", service)
7263
+
7264
+ @property
7265
+ @pulumi.getter
7266
+ def port(self) -> builtins.int:
7267
+ """
7268
+ Port number to access on the container. Number must be in the range 1 to 65535.
7269
+ If not specified, defaults to the same value as container.ports[0].containerPort.
7270
+ """
7271
+ return pulumi.get(self, "port")
7272
+
7273
+ @property
7274
+ @pulumi.getter
7275
+ def service(self) -> builtins.str:
7276
+ """
7277
+ The name of the service to place in the gRPC HealthCheckRequest
7278
+ (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
7279
+ If this is not specified, the default behavior is defined by gRPC.
7280
+ """
7281
+ return pulumi.get(self, "service")
7282
+
7283
+
7284
+ @pulumi.output_type
7285
+ class GetJobTemplateTemplateContainerStartupProbeHttpGetResult(dict):
7286
+ def __init__(__self__, *,
7287
+ http_headers: Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderResult'],
7288
+ path: builtins.str,
7289
+ port: builtins.int):
7290
+ """
7291
+ :param Sequence['GetJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs'] http_headers: Custom headers to set in the request. HTTP allows repeated headers.
7292
+ :param builtins.str path: Path to access on the HTTP server. If set, it should not be empty string.
7293
+ :param builtins.int port: Port number to access on the container. Number must be in the range 1 to 65535.
7294
+ If not specified, defaults to the same value as container.ports[0].containerPort.
7295
+ """
7296
+ pulumi.set(__self__, "http_headers", http_headers)
7297
+ pulumi.set(__self__, "path", path)
7298
+ pulumi.set(__self__, "port", port)
7299
+
7300
+ @property
7301
+ @pulumi.getter(name="httpHeaders")
7302
+ def http_headers(self) -> Sequence['outputs.GetJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderResult']:
7303
+ """
7304
+ Custom headers to set in the request. HTTP allows repeated headers.
7305
+ """
7306
+ return pulumi.get(self, "http_headers")
7307
+
7308
+ @property
7309
+ @pulumi.getter
7310
+ def path(self) -> builtins.str:
7311
+ """
7312
+ Path to access on the HTTP server. If set, it should not be empty string.
7313
+ """
7314
+ return pulumi.get(self, "path")
7315
+
7316
+ @property
7317
+ @pulumi.getter
7318
+ def port(self) -> builtins.int:
7319
+ """
7320
+ Port number to access on the container. Number must be in the range 1 to 65535.
7321
+ If not specified, defaults to the same value as container.ports[0].containerPort.
7322
+ """
7323
+ return pulumi.get(self, "port")
7324
+
7325
+
7326
+ @pulumi.output_type
7327
+ class GetJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderResult(dict):
7328
+ def __init__(__self__, *,
7329
+ name: builtins.str,
7330
+ value: builtins.str):
7331
+ """
7332
+ :param builtins.str name: The name of the Cloud Run v2 Job.
7333
+ :param builtins.str value: The header field value.
7334
+ """
7335
+ pulumi.set(__self__, "name", name)
7336
+ pulumi.set(__self__, "value", value)
7337
+
7338
+ @property
7339
+ @pulumi.getter
7340
+ def name(self) -> builtins.str:
7341
+ """
7342
+ The name of the Cloud Run v2 Job.
7343
+ """
7344
+ return pulumi.get(self, "name")
7345
+
7346
+ @property
7347
+ @pulumi.getter
7348
+ def value(self) -> builtins.str:
7349
+ """
7350
+ The header field value.
7351
+ """
7352
+ return pulumi.get(self, "value")
7353
+
7354
+
7355
+ @pulumi.output_type
7356
+ class GetJobTemplateTemplateContainerStartupProbeTcpSocketResult(dict):
7357
+ def __init__(__self__, *,
7358
+ port: builtins.int):
7359
+ """
7360
+ :param builtins.int port: Port number to access on the container. Number must be in the range 1 to 65535.
7361
+ If not specified, defaults to the same value as container.ports[0].containerPort.
7362
+ """
7363
+ pulumi.set(__self__, "port", port)
7364
+
7365
+ @property
7366
+ @pulumi.getter
7367
+ def port(self) -> builtins.int:
7368
+ """
7369
+ Port number to access on the container. Number must be in the range 1 to 65535.
7370
+ If not specified, defaults to the same value as container.ports[0].containerPort.
7371
+ """
7372
+ return pulumi.get(self, "port")
7373
+
7374
+
6795
7375
  @pulumi.output_type
6796
7376
  class GetJobTemplateTemplateContainerVolumeMountResult(dict):
6797
7377
  def __init__(__self__, *,