VirtualGatewayHealthCheckPolicy class

An object that represents the health check policy for a virtual gateway's listener.

Constructors

VirtualGatewayHealthCheckPolicy({required int healthyThreshold, required int intervalMillis, required VirtualGatewayPortProtocol protocol, required int timeoutMillis, required int unhealthyThreshold, String? path, int? port})
VirtualGatewayHealthCheckPolicy.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
healthyThreshold int
The number of consecutive successful health checks that must occur before declaring the listener healthy.
final
intervalMillis int
The time period in milliseconds between each health check execution.
final
path String?
The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
final
port int?
The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.
final
protocol VirtualGatewayPortProtocol
The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutMillis int
The amount of time to wait when receiving a response from the health check, in milliseconds.
final
unhealthyThreshold int
The number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited