TcpCheckResponse constructor

const TcpCheckResponse({
  1. required Input<PingConfigResponse> pingConfig,
  2. required Input<int> port,
})

Creates a new TcpCheckResponse. pingConfig Contains information needed to add pings to a TCP check. port The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.

Implementation

const TcpCheckResponse({
  required this.pingConfig,
  required this.port,
});