Class GoogleCloudRunV2Probe
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2Probe : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FailureThreshold
Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Declaration
[JsonProperty("failureThreshold")]
public virtual int? FailureThreshold { get; set; }
Property Value
Type | Description |
---|---|
int? |
Grpc
Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
Declaration
[JsonProperty("grpc")]
public virtual GoogleCloudRunV2GRPCAction Grpc { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2GRPCAction |
HttpGet
Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
Declaration
[JsonProperty("httpGet")]
public virtual GoogleCloudRunV2HTTPGetAction HttpGet { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2HTTPGetAction |
InitialDelaySeconds
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.
Declaration
[JsonProperty("initialDelaySeconds")]
public virtual int? InitialDelaySeconds { get; set; }
Property Value
Type | Description |
---|---|
int? |
PeriodSeconds
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.
Declaration
[JsonProperty("periodSeconds")]
public virtual int? PeriodSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? |
TcpSocket
Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
Declaration
[JsonProperty("tcpSocket")]
public virtual GoogleCloudRunV2TCPSocketAction TcpSocket { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2TCPSocketAction |
TimeoutSeconds
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.
Declaration
[JsonProperty("timeoutSeconds")]
public virtual int? TimeoutSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? |