pulumi-gcp 9.2.0a1759043191__py3-none-any.whl → 9.3.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 (76) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/apigee/__init__.py +1 -0
  3. pulumi_gcp/apigee/api_deployment.py +372 -0
  4. pulumi_gcp/apihub/plugin.py +1 -1
  5. pulumi_gcp/artifactregistry/__init__.py +2 -0
  6. pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
  7. pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
  8. pulumi_gcp/artifactregistry/outputs.py +165 -0
  9. pulumi_gcp/cloudrunv2/_inputs.py +823 -15
  10. pulumi_gcp/cloudrunv2/outputs.py +1749 -743
  11. pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
  12. pulumi_gcp/compute/_inputs.py +28 -0
  13. pulumi_gcp/compute/outputs.py +20 -1
  14. pulumi_gcp/compute/vpn_tunnel.py +97 -23
  15. pulumi_gcp/compute/wire_group.py +2 -0
  16. pulumi_gcp/dataloss/_inputs.py +970 -30
  17. pulumi_gcp/dataloss/outputs.py +850 -20
  18. pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
  19. pulumi_gcp/diagflow/_inputs.py +66 -0
  20. pulumi_gcp/diagflow/conversation_profile.py +84 -0
  21. pulumi_gcp/diagflow/outputs.py +57 -0
  22. pulumi_gcp/discoveryengine/__init__.py +1 -0
  23. pulumi_gcp/discoveryengine/_inputs.py +187 -0
  24. pulumi_gcp/discoveryengine/data_connector.py +1368 -0
  25. pulumi_gcp/discoveryengine/outputs.py +135 -0
  26. pulumi_gcp/discoveryengine/search_engine.py +47 -0
  27. pulumi_gcp/gkebackup/_inputs.py +111 -0
  28. pulumi_gcp/gkebackup/backup_plan.py +72 -0
  29. pulumi_gcp/gkebackup/outputs.py +84 -0
  30. pulumi_gcp/kms/__init__.py +1 -0
  31. pulumi_gcp/kms/_inputs.py +43 -0
  32. pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
  33. pulumi_gcp/kms/outputs.py +43 -0
  34. pulumi_gcp/logging/metric.py +2 -2
  35. pulumi_gcp/looker/instance.py +51 -0
  36. pulumi_gcp/managedkafka/connect_cluster.py +20 -82
  37. pulumi_gcp/managedkafka/connector.py +24 -94
  38. pulumi_gcp/netapp/_inputs.py +28 -5
  39. pulumi_gcp/netapp/outputs.py +19 -3
  40. pulumi_gcp/netapp/storage_pool.py +56 -0
  41. pulumi_gcp/netapp/volume.py +28 -0
  42. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  43. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
  44. pulumi_gcp/oracledatabase/odb_network.py +101 -2
  45. pulumi_gcp/orgpolicy/policy.py +2 -2
  46. pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
  47. pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
  48. pulumi_gcp/pubsub/get_subscription.py +12 -1
  49. pulumi_gcp/pubsub/get_topic.py +15 -4
  50. pulumi_gcp/pubsub/subscription.py +153 -7
  51. pulumi_gcp/pubsub/topic.py +145 -3
  52. pulumi_gcp/pulumi-plugin.json +1 -1
  53. pulumi_gcp/saasruntime/__init__.py +1 -0
  54. pulumi_gcp/saasruntime/_inputs.py +60 -0
  55. pulumi_gcp/saasruntime/outputs.py +55 -0
  56. pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
  57. pulumi_gcp/sql/_inputs.py +122 -3
  58. pulumi_gcp/sql/database_instance.py +47 -0
  59. pulumi_gcp/sql/get_database_instance.py +12 -1
  60. pulumi_gcp/sql/outputs.py +233 -2
  61. pulumi_gcp/storage/bucket.py +52 -24
  62. pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
  63. pulumi_gcp/storage/insights_dataset_config.py +49 -0
  64. pulumi_gcp/storage/insights_report_config.py +47 -0
  65. pulumi_gcp/vertex/_inputs.py +339 -1
  66. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  67. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
  68. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  69. pulumi_gcp/vertex/ai_index.py +74 -2
  70. pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
  71. pulumi_gcp/vertex/get_ai_index.py +12 -1
  72. pulumi_gcp/vertex/outputs.py +303 -1
  73. {pulumi_gcp-9.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/METADATA +1 -1
  74. {pulumi_gcp-9.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/RECORD +76 -70
  75. {pulumi_gcp-9.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-9.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/top_level.txt +0 -0
@@ -181,8 +181,28 @@ __all__ = [
181
181
  'WorkerPoolTemplateContainerEnvValueSourceArgsDict',
182
182
  'WorkerPoolTemplateContainerEnvValueSourceSecretKeyRefArgs',
183
183
  'WorkerPoolTemplateContainerEnvValueSourceSecretKeyRefArgsDict',
184
+ 'WorkerPoolTemplateContainerLivenessProbeArgs',
185
+ 'WorkerPoolTemplateContainerLivenessProbeArgsDict',
186
+ 'WorkerPoolTemplateContainerLivenessProbeGrpcArgs',
187
+ 'WorkerPoolTemplateContainerLivenessProbeGrpcArgsDict',
188
+ 'WorkerPoolTemplateContainerLivenessProbeHttpGetArgs',
189
+ 'WorkerPoolTemplateContainerLivenessProbeHttpGetArgsDict',
190
+ 'WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgs',
191
+ 'WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgsDict',
192
+ 'WorkerPoolTemplateContainerLivenessProbeTcpSocketArgs',
193
+ 'WorkerPoolTemplateContainerLivenessProbeTcpSocketArgsDict',
184
194
  'WorkerPoolTemplateContainerResourcesArgs',
185
195
  'WorkerPoolTemplateContainerResourcesArgsDict',
196
+ 'WorkerPoolTemplateContainerStartupProbeArgs',
197
+ 'WorkerPoolTemplateContainerStartupProbeArgsDict',
198
+ 'WorkerPoolTemplateContainerStartupProbeGrpcArgs',
199
+ 'WorkerPoolTemplateContainerStartupProbeGrpcArgsDict',
200
+ 'WorkerPoolTemplateContainerStartupProbeHttpGetArgs',
201
+ 'WorkerPoolTemplateContainerStartupProbeHttpGetArgsDict',
202
+ 'WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgs',
203
+ 'WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgsDict',
204
+ 'WorkerPoolTemplateContainerStartupProbeTcpSocketArgs',
205
+ 'WorkerPoolTemplateContainerStartupProbeTcpSocketArgsDict',
186
206
  'WorkerPoolTemplateContainerVolumeMountArgs',
187
207
  'WorkerPoolTemplateContainerVolumeMountArgsDict',
188
208
  'WorkerPoolTemplateNodeSelectorArgs',
@@ -7657,6 +7677,11 @@ if not MYPY:
7657
7677
  List of environment variables to set in the container.
7658
7678
  Structure is documented below.
7659
7679
  """
7680
+ liveness_probe: NotRequired[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeArgsDict']]
7681
+ """
7682
+ Periodic probe of container liveness. Container will be restarted if the probe fails.
7683
+ Structure is documented below.
7684
+ """
7660
7685
  name: NotRequired[pulumi.Input[_builtins.str]]
7661
7686
  """
7662
7687
  Name of the container specified as a DNS_LABEL.
@@ -7666,6 +7691,11 @@ if not MYPY:
7666
7691
  Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
7667
7692
  Structure is documented below.
7668
7693
  """
7694
+ startup_probe: NotRequired[pulumi.Input['WorkerPoolTemplateContainerStartupProbeArgsDict']]
7695
+ """
7696
+ Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
7697
+ Structure is documented below.
7698
+ """
7669
7699
  volume_mounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerVolumeMountArgsDict']]]]
7670
7700
  """
7671
7701
  Volume to mount into the container's filesystem.
@@ -7685,8 +7715,10 @@ class WorkerPoolTemplateContainerArgs:
7685
7715
  args: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
7686
7716
  commands: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
7687
7717
  envs: Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]]] = None,
7718
+ liveness_probe: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeArgs']] = None,
7688
7719
  name: Optional[pulumi.Input[_builtins.str]] = None,
7689
7720
  resources: Optional[pulumi.Input['WorkerPoolTemplateContainerResourcesArgs']] = None,
7721
+ startup_probe: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeArgs']] = None,
7690
7722
  volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerVolumeMountArgs']]]] = None,
7691
7723
  working_dir: Optional[pulumi.Input[_builtins.str]] = None):
7692
7724
  """
@@ -7695,9 +7727,13 @@ class WorkerPoolTemplateContainerArgs:
7695
7727
  :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
7696
7728
  :param pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]] envs: List of environment variables to set in the container.
7697
7729
  Structure is documented below.
7730
+ :param pulumi.Input['WorkerPoolTemplateContainerLivenessProbeArgs'] liveness_probe: Periodic probe of container liveness. Container will be restarted if the probe fails.
7731
+ Structure is documented below.
7698
7732
  :param pulumi.Input[_builtins.str] name: Name of the container specified as a DNS_LABEL.
7699
7733
  :param pulumi.Input['WorkerPoolTemplateContainerResourcesArgs'] resources: Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
7700
7734
  Structure is documented below.
7735
+ :param pulumi.Input['WorkerPoolTemplateContainerStartupProbeArgs'] startup_probe: Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
7736
+ Structure is documented below.
7701
7737
  :param pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerVolumeMountArgs']]] volume_mounts: Volume to mount into the container's filesystem.
7702
7738
  Structure is documented below.
7703
7739
  :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.
@@ -7709,10 +7745,14 @@ class WorkerPoolTemplateContainerArgs:
7709
7745
  pulumi.set(__self__, "commands", commands)
7710
7746
  if envs is not None:
7711
7747
  pulumi.set(__self__, "envs", envs)
7748
+ if liveness_probe is not None:
7749
+ pulumi.set(__self__, "liveness_probe", liveness_probe)
7712
7750
  if name is not None:
7713
7751
  pulumi.set(__self__, "name", name)
7714
7752
  if resources is not None:
7715
7753
  pulumi.set(__self__, "resources", resources)
7754
+ if startup_probe is not None:
7755
+ pulumi.set(__self__, "startup_probe", startup_probe)
7716
7756
  if volume_mounts is not None:
7717
7757
  pulumi.set(__self__, "volume_mounts", volume_mounts)
7718
7758
  if working_dir is not None:
@@ -7767,6 +7807,19 @@ class WorkerPoolTemplateContainerArgs:
7767
7807
  def envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]]]):
7768
7808
  pulumi.set(self, "envs", value)
7769
7809
 
7810
+ @_builtins.property
7811
+ @pulumi.getter(name="livenessProbe")
7812
+ def liveness_probe(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeArgs']]:
7813
+ """
7814
+ Periodic probe of container liveness. Container will be restarted if the probe fails.
7815
+ Structure is documented below.
7816
+ """
7817
+ return pulumi.get(self, "liveness_probe")
7818
+
7819
+ @liveness_probe.setter
7820
+ def liveness_probe(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeArgs']]):
7821
+ pulumi.set(self, "liveness_probe", value)
7822
+
7770
7823
  @_builtins.property
7771
7824
  @pulumi.getter
7772
7825
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -7792,6 +7845,19 @@ class WorkerPoolTemplateContainerArgs:
7792
7845
  def resources(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerResourcesArgs']]):
7793
7846
  pulumi.set(self, "resources", value)
7794
7847
 
7848
+ @_builtins.property
7849
+ @pulumi.getter(name="startupProbe")
7850
+ def startup_probe(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeArgs']]:
7851
+ """
7852
+ Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
7853
+ Structure is documented below.
7854
+ """
7855
+ return pulumi.get(self, "startup_probe")
7856
+
7857
+ @startup_probe.setter
7858
+ def startup_probe(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeArgs']]):
7859
+ pulumi.set(self, "startup_probe", value)
7860
+
7795
7861
  @_builtins.property
7796
7862
  @pulumi.getter(name="volumeMounts")
7797
7863
  def volume_mounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerVolumeMountArgs']]]]:
@@ -7979,35 +8045,777 @@ class WorkerPoolTemplateContainerEnvValueSourceSecretKeyRefArgs:
7979
8045
 
7980
8046
 
7981
8047
  if not MYPY:
7982
- class WorkerPoolTemplateContainerResourcesArgsDict(TypedDict):
7983
- limits: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
8048
+ class WorkerPoolTemplateContainerLivenessProbeArgsDict(TypedDict):
8049
+ failure_threshold: NotRequired[pulumi.Input[_builtins.int]]
7984
8050
  """
7985
- Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
8051
+ Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
8052
+ """
8053
+ grpc: NotRequired[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeGrpcArgsDict']]
8054
+ """
8055
+ Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8056
+ Structure is documented below.
8057
+ """
8058
+ http_get: NotRequired[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetArgsDict']]
8059
+ """
8060
+ Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8061
+ Structure is documented below.
8062
+ """
8063
+ initial_delay_seconds: NotRequired[pulumi.Input[_builtins.int]]
8064
+ """
8065
+ Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
8066
+ """
8067
+ period_seconds: NotRequired[pulumi.Input[_builtins.int]]
8068
+ """
8069
+ Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
8070
+ """
8071
+ tcp_socket: NotRequired[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeTcpSocketArgsDict']]
8072
+ """
8073
+ Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8074
+ Structure is documented below.
8075
+ """
8076
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
8077
+ """
8078
+ Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
7986
8079
  """
7987
8080
  elif False:
7988
- WorkerPoolTemplateContainerResourcesArgsDict: TypeAlias = Mapping[str, Any]
8081
+ WorkerPoolTemplateContainerLivenessProbeArgsDict: TypeAlias = Mapping[str, Any]
7989
8082
 
7990
8083
  @pulumi.input_type
7991
- class WorkerPoolTemplateContainerResourcesArgs:
8084
+ class WorkerPoolTemplateContainerLivenessProbeArgs:
7992
8085
  def __init__(__self__, *,
7993
- limits: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
8086
+ failure_threshold: Optional[pulumi.Input[_builtins.int]] = None,
8087
+ grpc: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeGrpcArgs']] = None,
8088
+ http_get: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetArgs']] = None,
8089
+ initial_delay_seconds: Optional[pulumi.Input[_builtins.int]] = None,
8090
+ period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
8091
+ tcp_socket: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeTcpSocketArgs']] = None,
8092
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
7994
8093
  """
7995
- :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] limits: Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
8094
+ :param pulumi.Input[_builtins.int] failure_threshold: Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
8095
+ :param pulumi.Input['WorkerPoolTemplateContainerLivenessProbeGrpcArgs'] grpc: Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8096
+ Structure is documented below.
8097
+ :param pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetArgs'] http_get: Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8098
+ Structure is documented below.
8099
+ :param pulumi.Input[_builtins.int] initial_delay_seconds: Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
8100
+ :param pulumi.Input[_builtins.int] period_seconds: Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
8101
+ :param pulumi.Input['WorkerPoolTemplateContainerLivenessProbeTcpSocketArgs'] tcp_socket: Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8102
+ Structure is documented below.
8103
+ :param pulumi.Input[_builtins.int] timeout_seconds: Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
7996
8104
  """
7997
- if limits is not None:
7998
- pulumi.set(__self__, "limits", limits)
8105
+ if failure_threshold is not None:
8106
+ pulumi.set(__self__, "failure_threshold", failure_threshold)
8107
+ if grpc is not None:
8108
+ pulumi.set(__self__, "grpc", grpc)
8109
+ if http_get is not None:
8110
+ pulumi.set(__self__, "http_get", http_get)
8111
+ if initial_delay_seconds is not None:
8112
+ pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
8113
+ if period_seconds is not None:
8114
+ pulumi.set(__self__, "period_seconds", period_seconds)
8115
+ if tcp_socket is not None:
8116
+ pulumi.set(__self__, "tcp_socket", tcp_socket)
8117
+ if timeout_seconds is not None:
8118
+ pulumi.set(__self__, "timeout_seconds", timeout_seconds)
8119
+
8120
+ @_builtins.property
8121
+ @pulumi.getter(name="failureThreshold")
8122
+ def failure_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
8123
+ """
8124
+ Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
8125
+ """
8126
+ return pulumi.get(self, "failure_threshold")
8127
+
8128
+ @failure_threshold.setter
8129
+ def failure_threshold(self, value: Optional[pulumi.Input[_builtins.int]]):
8130
+ pulumi.set(self, "failure_threshold", value)
7999
8131
 
8000
8132
  @_builtins.property
8001
8133
  @pulumi.getter
8002
- def limits(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
8134
+ def grpc(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeGrpcArgs']]:
8003
8135
  """
8004
- Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
8136
+ Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8137
+ Structure is documented below.
8005
8138
  """
8006
- return pulumi.get(self, "limits")
8139
+ return pulumi.get(self, "grpc")
8007
8140
 
8008
- @limits.setter
8009
- def limits(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
8010
- pulumi.set(self, "limits", value)
8141
+ @grpc.setter
8142
+ def grpc(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeGrpcArgs']]):
8143
+ pulumi.set(self, "grpc", value)
8144
+
8145
+ @_builtins.property
8146
+ @pulumi.getter(name="httpGet")
8147
+ def http_get(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetArgs']]:
8148
+ """
8149
+ Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8150
+ Structure is documented below.
8151
+ """
8152
+ return pulumi.get(self, "http_get")
8153
+
8154
+ @http_get.setter
8155
+ def http_get(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetArgs']]):
8156
+ pulumi.set(self, "http_get", value)
8157
+
8158
+ @_builtins.property
8159
+ @pulumi.getter(name="initialDelaySeconds")
8160
+ def initial_delay_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
8161
+ """
8162
+ Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
8163
+ """
8164
+ return pulumi.get(self, "initial_delay_seconds")
8165
+
8166
+ @initial_delay_seconds.setter
8167
+ def initial_delay_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
8168
+ pulumi.set(self, "initial_delay_seconds", value)
8169
+
8170
+ @_builtins.property
8171
+ @pulumi.getter(name="periodSeconds")
8172
+ def period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
8173
+ """
8174
+ Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
8175
+ """
8176
+ return pulumi.get(self, "period_seconds")
8177
+
8178
+ @period_seconds.setter
8179
+ def period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
8180
+ pulumi.set(self, "period_seconds", value)
8181
+
8182
+ @_builtins.property
8183
+ @pulumi.getter(name="tcpSocket")
8184
+ def tcp_socket(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeTcpSocketArgs']]:
8185
+ """
8186
+ Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8187
+ Structure is documented below.
8188
+ """
8189
+ return pulumi.get(self, "tcp_socket")
8190
+
8191
+ @tcp_socket.setter
8192
+ def tcp_socket(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeTcpSocketArgs']]):
8193
+ pulumi.set(self, "tcp_socket", value)
8194
+
8195
+ @_builtins.property
8196
+ @pulumi.getter(name="timeoutSeconds")
8197
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
8198
+ """
8199
+ Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
8200
+ """
8201
+ return pulumi.get(self, "timeout_seconds")
8202
+
8203
+ @timeout_seconds.setter
8204
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
8205
+ pulumi.set(self, "timeout_seconds", value)
8206
+
8207
+
8208
+ if not MYPY:
8209
+ class WorkerPoolTemplateContainerLivenessProbeGrpcArgsDict(TypedDict):
8210
+ port: NotRequired[pulumi.Input[_builtins.int]]
8211
+ """
8212
+ Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8213
+ """
8214
+ service: NotRequired[pulumi.Input[_builtins.str]]
8215
+ """
8216
+ Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
8217
+ """
8218
+ elif False:
8219
+ WorkerPoolTemplateContainerLivenessProbeGrpcArgsDict: TypeAlias = Mapping[str, Any]
8220
+
8221
+ @pulumi.input_type
8222
+ class WorkerPoolTemplateContainerLivenessProbeGrpcArgs:
8223
+ def __init__(__self__, *,
8224
+ port: Optional[pulumi.Input[_builtins.int]] = None,
8225
+ service: Optional[pulumi.Input[_builtins.str]] = None):
8226
+ """
8227
+ :param pulumi.Input[_builtins.int] port: Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8228
+ :param pulumi.Input[_builtins.str] service: Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
8229
+ """
8230
+ if port is not None:
8231
+ pulumi.set(__self__, "port", port)
8232
+ if service is not None:
8233
+ pulumi.set(__self__, "service", service)
8234
+
8235
+ @_builtins.property
8236
+ @pulumi.getter
8237
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
8238
+ """
8239
+ Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8240
+ """
8241
+ return pulumi.get(self, "port")
8242
+
8243
+ @port.setter
8244
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
8245
+ pulumi.set(self, "port", value)
8246
+
8247
+ @_builtins.property
8248
+ @pulumi.getter
8249
+ def service(self) -> Optional[pulumi.Input[_builtins.str]]:
8250
+ """
8251
+ Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
8252
+ """
8253
+ return pulumi.get(self, "service")
8254
+
8255
+ @service.setter
8256
+ def service(self, value: Optional[pulumi.Input[_builtins.str]]):
8257
+ pulumi.set(self, "service", value)
8258
+
8259
+
8260
+ if not MYPY:
8261
+ class WorkerPoolTemplateContainerLivenessProbeHttpGetArgsDict(TypedDict):
8262
+ http_headers: NotRequired[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgsDict']]
8263
+ """
8264
+ Optional. Custom headers to set in the request. HTTP allows repeated headers.
8265
+ Structure is documented below.
8266
+ """
8267
+ path: NotRequired[pulumi.Input[_builtins.str]]
8268
+ """
8269
+ Optional. Path to access on the HTTP server. Defaults to '/'.
8270
+ """
8271
+ port: NotRequired[pulumi.Input[_builtins.int]]
8272
+ """
8273
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8274
+ """
8275
+ elif False:
8276
+ WorkerPoolTemplateContainerLivenessProbeHttpGetArgsDict: TypeAlias = Mapping[str, Any]
8277
+
8278
+ @pulumi.input_type
8279
+ class WorkerPoolTemplateContainerLivenessProbeHttpGetArgs:
8280
+ def __init__(__self__, *,
8281
+ http_headers: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgs']] = None,
8282
+ path: Optional[pulumi.Input[_builtins.str]] = None,
8283
+ port: Optional[pulumi.Input[_builtins.int]] = None):
8284
+ """
8285
+ :param pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgs'] http_headers: Optional. Custom headers to set in the request. HTTP allows repeated headers.
8286
+ Structure is documented below.
8287
+ :param pulumi.Input[_builtins.str] path: Optional. Path to access on the HTTP server. Defaults to '/'.
8288
+ :param pulumi.Input[_builtins.int] port: Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8289
+ """
8290
+ if http_headers is not None:
8291
+ pulumi.set(__self__, "http_headers", http_headers)
8292
+ if path is not None:
8293
+ pulumi.set(__self__, "path", path)
8294
+ if port is not None:
8295
+ pulumi.set(__self__, "port", port)
8296
+
8297
+ @_builtins.property
8298
+ @pulumi.getter(name="httpHeaders")
8299
+ def http_headers(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgs']]:
8300
+ """
8301
+ Optional. Custom headers to set in the request. HTTP allows repeated headers.
8302
+ Structure is documented below.
8303
+ """
8304
+ return pulumi.get(self, "http_headers")
8305
+
8306
+ @http_headers.setter
8307
+ def http_headers(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgs']]):
8308
+ pulumi.set(self, "http_headers", value)
8309
+
8310
+ @_builtins.property
8311
+ @pulumi.getter
8312
+ def path(self) -> Optional[pulumi.Input[_builtins.str]]:
8313
+ """
8314
+ Optional. Path to access on the HTTP server. Defaults to '/'.
8315
+ """
8316
+ return pulumi.get(self, "path")
8317
+
8318
+ @path.setter
8319
+ def path(self, value: Optional[pulumi.Input[_builtins.str]]):
8320
+ pulumi.set(self, "path", value)
8321
+
8322
+ @_builtins.property
8323
+ @pulumi.getter
8324
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
8325
+ """
8326
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8327
+ """
8328
+ return pulumi.get(self, "port")
8329
+
8330
+ @port.setter
8331
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
8332
+ pulumi.set(self, "port", value)
8333
+
8334
+
8335
+ if not MYPY:
8336
+ class WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgsDict(TypedDict):
8337
+ port: pulumi.Input[_builtins.int]
8338
+ """
8339
+ Required. The header field name
8340
+ """
8341
+ value: NotRequired[pulumi.Input[_builtins.str]]
8342
+ """
8343
+ Optional. The header field value
8344
+ """
8345
+ elif False:
8346
+ WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgsDict: TypeAlias = Mapping[str, Any]
8347
+
8348
+ @pulumi.input_type
8349
+ class WorkerPoolTemplateContainerLivenessProbeHttpGetHttpHeadersArgs:
8350
+ def __init__(__self__, *,
8351
+ port: pulumi.Input[_builtins.int],
8352
+ value: Optional[pulumi.Input[_builtins.str]] = None):
8353
+ """
8354
+ :param pulumi.Input[_builtins.int] port: Required. The header field name
8355
+ :param pulumi.Input[_builtins.str] value: Optional. The header field value
8356
+ """
8357
+ pulumi.set(__self__, "port", port)
8358
+ if value is not None:
8359
+ pulumi.set(__self__, "value", value)
8360
+
8361
+ @_builtins.property
8362
+ @pulumi.getter
8363
+ def port(self) -> pulumi.Input[_builtins.int]:
8364
+ """
8365
+ Required. The header field name
8366
+ """
8367
+ return pulumi.get(self, "port")
8368
+
8369
+ @port.setter
8370
+ def port(self, value: pulumi.Input[_builtins.int]):
8371
+ pulumi.set(self, "port", value)
8372
+
8373
+ @_builtins.property
8374
+ @pulumi.getter
8375
+ def value(self) -> Optional[pulumi.Input[_builtins.str]]:
8376
+ """
8377
+ Optional. The header field value
8378
+ """
8379
+ return pulumi.get(self, "value")
8380
+
8381
+ @value.setter
8382
+ def value(self, value: Optional[pulumi.Input[_builtins.str]]):
8383
+ pulumi.set(self, "value", value)
8384
+
8385
+
8386
+ if not MYPY:
8387
+ class WorkerPoolTemplateContainerLivenessProbeTcpSocketArgsDict(TypedDict):
8388
+ port: NotRequired[pulumi.Input[_builtins.int]]
8389
+ """
8390
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8391
+ """
8392
+ elif False:
8393
+ WorkerPoolTemplateContainerLivenessProbeTcpSocketArgsDict: TypeAlias = Mapping[str, Any]
8394
+
8395
+ @pulumi.input_type
8396
+ class WorkerPoolTemplateContainerLivenessProbeTcpSocketArgs:
8397
+ def __init__(__self__, *,
8398
+ port: Optional[pulumi.Input[_builtins.int]] = None):
8399
+ """
8400
+ :param pulumi.Input[_builtins.int] port: Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8401
+ """
8402
+ if port is not None:
8403
+ pulumi.set(__self__, "port", port)
8404
+
8405
+ @_builtins.property
8406
+ @pulumi.getter
8407
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
8408
+ """
8409
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8410
+ """
8411
+ return pulumi.get(self, "port")
8412
+
8413
+ @port.setter
8414
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
8415
+ pulumi.set(self, "port", value)
8416
+
8417
+
8418
+ if not MYPY:
8419
+ class WorkerPoolTemplateContainerResourcesArgsDict(TypedDict):
8420
+ limits: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
8421
+ """
8422
+ Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
8423
+ """
8424
+ elif False:
8425
+ WorkerPoolTemplateContainerResourcesArgsDict: TypeAlias = Mapping[str, Any]
8426
+
8427
+ @pulumi.input_type
8428
+ class WorkerPoolTemplateContainerResourcesArgs:
8429
+ def __init__(__self__, *,
8430
+ limits: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
8431
+ """
8432
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] limits: Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
8433
+ """
8434
+ if limits is not None:
8435
+ pulumi.set(__self__, "limits", limits)
8436
+
8437
+ @_builtins.property
8438
+ @pulumi.getter
8439
+ def limits(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
8440
+ """
8441
+ Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
8442
+ """
8443
+ return pulumi.get(self, "limits")
8444
+
8445
+ @limits.setter
8446
+ def limits(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
8447
+ pulumi.set(self, "limits", value)
8448
+
8449
+
8450
+ if not MYPY:
8451
+ class WorkerPoolTemplateContainerStartupProbeArgsDict(TypedDict):
8452
+ failure_threshold: NotRequired[pulumi.Input[_builtins.int]]
8453
+ """
8454
+ Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
8455
+ """
8456
+ grpc: NotRequired[pulumi.Input['WorkerPoolTemplateContainerStartupProbeGrpcArgsDict']]
8457
+ """
8458
+ Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8459
+ Structure is documented below.
8460
+ """
8461
+ http_get: NotRequired[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetArgsDict']]
8462
+ """
8463
+ Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8464
+ Structure is documented below.
8465
+ """
8466
+ initial_delay_seconds: NotRequired[pulumi.Input[_builtins.int]]
8467
+ """
8468
+ Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
8469
+ """
8470
+ period_seconds: NotRequired[pulumi.Input[_builtins.int]]
8471
+ """
8472
+ Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
8473
+ """
8474
+ tcp_socket: NotRequired[pulumi.Input['WorkerPoolTemplateContainerStartupProbeTcpSocketArgsDict']]
8475
+ """
8476
+ Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8477
+ Structure is documented below.
8478
+ """
8479
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
8480
+ """
8481
+ Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
8482
+ """
8483
+ elif False:
8484
+ WorkerPoolTemplateContainerStartupProbeArgsDict: TypeAlias = Mapping[str, Any]
8485
+
8486
+ @pulumi.input_type
8487
+ class WorkerPoolTemplateContainerStartupProbeArgs:
8488
+ def __init__(__self__, *,
8489
+ failure_threshold: Optional[pulumi.Input[_builtins.int]] = None,
8490
+ grpc: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeGrpcArgs']] = None,
8491
+ http_get: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetArgs']] = None,
8492
+ initial_delay_seconds: Optional[pulumi.Input[_builtins.int]] = None,
8493
+ period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
8494
+ tcp_socket: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeTcpSocketArgs']] = None,
8495
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
8496
+ """
8497
+ :param pulumi.Input[_builtins.int] failure_threshold: Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
8498
+ :param pulumi.Input['WorkerPoolTemplateContainerStartupProbeGrpcArgs'] grpc: Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8499
+ Structure is documented below.
8500
+ :param pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetArgs'] http_get: Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8501
+ Structure is documented below.
8502
+ :param pulumi.Input[_builtins.int] initial_delay_seconds: Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
8503
+ :param pulumi.Input[_builtins.int] period_seconds: Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
8504
+ :param pulumi.Input['WorkerPoolTemplateContainerStartupProbeTcpSocketArgs'] tcp_socket: Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8505
+ Structure is documented below.
8506
+ :param pulumi.Input[_builtins.int] timeout_seconds: Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
8507
+ """
8508
+ if failure_threshold is not None:
8509
+ pulumi.set(__self__, "failure_threshold", failure_threshold)
8510
+ if grpc is not None:
8511
+ pulumi.set(__self__, "grpc", grpc)
8512
+ if http_get is not None:
8513
+ pulumi.set(__self__, "http_get", http_get)
8514
+ if initial_delay_seconds is not None:
8515
+ pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
8516
+ if period_seconds is not None:
8517
+ pulumi.set(__self__, "period_seconds", period_seconds)
8518
+ if tcp_socket is not None:
8519
+ pulumi.set(__self__, "tcp_socket", tcp_socket)
8520
+ if timeout_seconds is not None:
8521
+ pulumi.set(__self__, "timeout_seconds", timeout_seconds)
8522
+
8523
+ @_builtins.property
8524
+ @pulumi.getter(name="failureThreshold")
8525
+ def failure_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
8526
+ """
8527
+ Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
8528
+ """
8529
+ return pulumi.get(self, "failure_threshold")
8530
+
8531
+ @failure_threshold.setter
8532
+ def failure_threshold(self, value: Optional[pulumi.Input[_builtins.int]]):
8533
+ pulumi.set(self, "failure_threshold", value)
8534
+
8535
+ @_builtins.property
8536
+ @pulumi.getter
8537
+ def grpc(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeGrpcArgs']]:
8538
+ """
8539
+ Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8540
+ Structure is documented below.
8541
+ """
8542
+ return pulumi.get(self, "grpc")
8543
+
8544
+ @grpc.setter
8545
+ def grpc(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeGrpcArgs']]):
8546
+ pulumi.set(self, "grpc", value)
8547
+
8548
+ @_builtins.property
8549
+ @pulumi.getter(name="httpGet")
8550
+ def http_get(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetArgs']]:
8551
+ """
8552
+ Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8553
+ Structure is documented below.
8554
+ """
8555
+ return pulumi.get(self, "http_get")
8556
+
8557
+ @http_get.setter
8558
+ def http_get(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetArgs']]):
8559
+ pulumi.set(self, "http_get", value)
8560
+
8561
+ @_builtins.property
8562
+ @pulumi.getter(name="initialDelaySeconds")
8563
+ def initial_delay_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
8564
+ """
8565
+ Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
8566
+ """
8567
+ return pulumi.get(self, "initial_delay_seconds")
8568
+
8569
+ @initial_delay_seconds.setter
8570
+ def initial_delay_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
8571
+ pulumi.set(self, "initial_delay_seconds", value)
8572
+
8573
+ @_builtins.property
8574
+ @pulumi.getter(name="periodSeconds")
8575
+ def period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
8576
+ """
8577
+ Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
8578
+ """
8579
+ return pulumi.get(self, "period_seconds")
8580
+
8581
+ @period_seconds.setter
8582
+ def period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
8583
+ pulumi.set(self, "period_seconds", value)
8584
+
8585
+ @_builtins.property
8586
+ @pulumi.getter(name="tcpSocket")
8587
+ def tcp_socket(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeTcpSocketArgs']]:
8588
+ """
8589
+ Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
8590
+ Structure is documented below.
8591
+ """
8592
+ return pulumi.get(self, "tcp_socket")
8593
+
8594
+ @tcp_socket.setter
8595
+ def tcp_socket(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeTcpSocketArgs']]):
8596
+ pulumi.set(self, "tcp_socket", value)
8597
+
8598
+ @_builtins.property
8599
+ @pulumi.getter(name="timeoutSeconds")
8600
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
8601
+ """
8602
+ Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
8603
+ """
8604
+ return pulumi.get(self, "timeout_seconds")
8605
+
8606
+ @timeout_seconds.setter
8607
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
8608
+ pulumi.set(self, "timeout_seconds", value)
8609
+
8610
+
8611
+ if not MYPY:
8612
+ class WorkerPoolTemplateContainerStartupProbeGrpcArgsDict(TypedDict):
8613
+ port: NotRequired[pulumi.Input[_builtins.int]]
8614
+ """
8615
+ Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8616
+ """
8617
+ service: NotRequired[pulumi.Input[_builtins.str]]
8618
+ """
8619
+ Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
8620
+ """
8621
+ elif False:
8622
+ WorkerPoolTemplateContainerStartupProbeGrpcArgsDict: TypeAlias = Mapping[str, Any]
8623
+
8624
+ @pulumi.input_type
8625
+ class WorkerPoolTemplateContainerStartupProbeGrpcArgs:
8626
+ def __init__(__self__, *,
8627
+ port: Optional[pulumi.Input[_builtins.int]] = None,
8628
+ service: Optional[pulumi.Input[_builtins.str]] = None):
8629
+ """
8630
+ :param pulumi.Input[_builtins.int] port: Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8631
+ :param pulumi.Input[_builtins.str] service: Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
8632
+ """
8633
+ if port is not None:
8634
+ pulumi.set(__self__, "port", port)
8635
+ if service is not None:
8636
+ pulumi.set(__self__, "service", service)
8637
+
8638
+ @_builtins.property
8639
+ @pulumi.getter
8640
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
8641
+ """
8642
+ Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8643
+ """
8644
+ return pulumi.get(self, "port")
8645
+
8646
+ @port.setter
8647
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
8648
+ pulumi.set(self, "port", value)
8649
+
8650
+ @_builtins.property
8651
+ @pulumi.getter
8652
+ def service(self) -> Optional[pulumi.Input[_builtins.str]]:
8653
+ """
8654
+ Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
8655
+ """
8656
+ return pulumi.get(self, "service")
8657
+
8658
+ @service.setter
8659
+ def service(self, value: Optional[pulumi.Input[_builtins.str]]):
8660
+ pulumi.set(self, "service", value)
8661
+
8662
+
8663
+ if not MYPY:
8664
+ class WorkerPoolTemplateContainerStartupProbeHttpGetArgsDict(TypedDict):
8665
+ http_headers: NotRequired[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgsDict']]
8666
+ """
8667
+ Optional. Custom headers to set in the request. HTTP allows repeated headers.
8668
+ Structure is documented below.
8669
+ """
8670
+ path: NotRequired[pulumi.Input[_builtins.str]]
8671
+ """
8672
+ Optional. Path to access on the HTTP server. Defaults to '/'.
8673
+ """
8674
+ port: NotRequired[pulumi.Input[_builtins.int]]
8675
+ """
8676
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8677
+ """
8678
+ elif False:
8679
+ WorkerPoolTemplateContainerStartupProbeHttpGetArgsDict: TypeAlias = Mapping[str, Any]
8680
+
8681
+ @pulumi.input_type
8682
+ class WorkerPoolTemplateContainerStartupProbeHttpGetArgs:
8683
+ def __init__(__self__, *,
8684
+ http_headers: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgs']] = None,
8685
+ path: Optional[pulumi.Input[_builtins.str]] = None,
8686
+ port: Optional[pulumi.Input[_builtins.int]] = None):
8687
+ """
8688
+ :param pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgs'] http_headers: Optional. Custom headers to set in the request. HTTP allows repeated headers.
8689
+ Structure is documented below.
8690
+ :param pulumi.Input[_builtins.str] path: Optional. Path to access on the HTTP server. Defaults to '/'.
8691
+ :param pulumi.Input[_builtins.int] port: Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8692
+ """
8693
+ if http_headers is not None:
8694
+ pulumi.set(__self__, "http_headers", http_headers)
8695
+ if path is not None:
8696
+ pulumi.set(__self__, "path", path)
8697
+ if port is not None:
8698
+ pulumi.set(__self__, "port", port)
8699
+
8700
+ @_builtins.property
8701
+ @pulumi.getter(name="httpHeaders")
8702
+ def http_headers(self) -> Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgs']]:
8703
+ """
8704
+ Optional. Custom headers to set in the request. HTTP allows repeated headers.
8705
+ Structure is documented below.
8706
+ """
8707
+ return pulumi.get(self, "http_headers")
8708
+
8709
+ @http_headers.setter
8710
+ def http_headers(self, value: Optional[pulumi.Input['WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgs']]):
8711
+ pulumi.set(self, "http_headers", value)
8712
+
8713
+ @_builtins.property
8714
+ @pulumi.getter
8715
+ def path(self) -> Optional[pulumi.Input[_builtins.str]]:
8716
+ """
8717
+ Optional. Path to access on the HTTP server. Defaults to '/'.
8718
+ """
8719
+ return pulumi.get(self, "path")
8720
+
8721
+ @path.setter
8722
+ def path(self, value: Optional[pulumi.Input[_builtins.str]]):
8723
+ pulumi.set(self, "path", value)
8724
+
8725
+ @_builtins.property
8726
+ @pulumi.getter
8727
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
8728
+ """
8729
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8730
+ """
8731
+ return pulumi.get(self, "port")
8732
+
8733
+ @port.setter
8734
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
8735
+ pulumi.set(self, "port", value)
8736
+
8737
+
8738
+ if not MYPY:
8739
+ class WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgsDict(TypedDict):
8740
+ port: pulumi.Input[_builtins.int]
8741
+ """
8742
+ Required. The header field name
8743
+ """
8744
+ value: NotRequired[pulumi.Input[_builtins.str]]
8745
+ """
8746
+ Optional. The header field value
8747
+ """
8748
+ elif False:
8749
+ WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgsDict: TypeAlias = Mapping[str, Any]
8750
+
8751
+ @pulumi.input_type
8752
+ class WorkerPoolTemplateContainerStartupProbeHttpGetHttpHeadersArgs:
8753
+ def __init__(__self__, *,
8754
+ port: pulumi.Input[_builtins.int],
8755
+ value: Optional[pulumi.Input[_builtins.str]] = None):
8756
+ """
8757
+ :param pulumi.Input[_builtins.int] port: Required. The header field name
8758
+ :param pulumi.Input[_builtins.str] value: Optional. The header field value
8759
+ """
8760
+ pulumi.set(__self__, "port", port)
8761
+ if value is not None:
8762
+ pulumi.set(__self__, "value", value)
8763
+
8764
+ @_builtins.property
8765
+ @pulumi.getter
8766
+ def port(self) -> pulumi.Input[_builtins.int]:
8767
+ """
8768
+ Required. The header field name
8769
+ """
8770
+ return pulumi.get(self, "port")
8771
+
8772
+ @port.setter
8773
+ def port(self, value: pulumi.Input[_builtins.int]):
8774
+ pulumi.set(self, "port", value)
8775
+
8776
+ @_builtins.property
8777
+ @pulumi.getter
8778
+ def value(self) -> Optional[pulumi.Input[_builtins.str]]:
8779
+ """
8780
+ Optional. The header field value
8781
+ """
8782
+ return pulumi.get(self, "value")
8783
+
8784
+ @value.setter
8785
+ def value(self, value: Optional[pulumi.Input[_builtins.str]]):
8786
+ pulumi.set(self, "value", value)
8787
+
8788
+
8789
+ if not MYPY:
8790
+ class WorkerPoolTemplateContainerStartupProbeTcpSocketArgsDict(TypedDict):
8791
+ port: NotRequired[pulumi.Input[_builtins.int]]
8792
+ """
8793
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8794
+ """
8795
+ elif False:
8796
+ WorkerPoolTemplateContainerStartupProbeTcpSocketArgsDict: TypeAlias = Mapping[str, Any]
8797
+
8798
+ @pulumi.input_type
8799
+ class WorkerPoolTemplateContainerStartupProbeTcpSocketArgs:
8800
+ def __init__(__self__, *,
8801
+ port: Optional[pulumi.Input[_builtins.int]] = None):
8802
+ """
8803
+ :param pulumi.Input[_builtins.int] port: Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8804
+ """
8805
+ if port is not None:
8806
+ pulumi.set(__self__, "port", port)
8807
+
8808
+ @_builtins.property
8809
+ @pulumi.getter
8810
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
8811
+ """
8812
+ Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
8813
+ """
8814
+ return pulumi.get(self, "port")
8815
+
8816
+ @port.setter
8817
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
8818
+ pulumi.set(self, "port", value)
8011
8819
 
8012
8820
 
8013
8821
  if not MYPY: