InstancePortState class
Describes open ports on an instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.
Constructors
-
InstancePortState({List<
String> ? cidrListAliases, List<String> ? cidrs, int? fromPort, NetworkProtocol? protocol, PortState? state, int? toPort}) -
InstancePortState.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
cidrListAliases
→ List<
String> ? -
An alias that defines access for a preconfigured range of IP addresses.
final
-
cidrs
→ List<
String> ? -
The IP address, or range of IP addresses in CIDR notation, that are allowed
to connect to an instance through the ports, and the protocol. Lightsail
supports IPv4 addresses.
final
- fromPort → int?
-
The first port in a range of open ports on an instance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- protocol → NetworkProtocol?
-
The IP protocol name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → PortState?
-
Specifies whether the instance port is
open
orclosed
.final - toPort → int?
-
The last port in a range of open ports on an instance.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited