PortStatus constructor

const PortStatus({
  1. Input<String>? error,
  2. required Input<int> port,
  3. required Input<String> protocol,
})

Creates a new PortStatus. error Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use port Port is the port number of the service port of which status is recorded here protocol Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

Implementation

const PortStatus({
  this.error,
  required this.port,
  required this.protocol,
});