Skip to content

AllowedPort

Union Type

AllowedPort module-attribute

A port or port range that is reachable through the runtime's session URL. Specify exactly one of port or portRange.

Union Member Types

AllowedPortPort dataclass

Bases: _SerdeShape

A single port that is reachable through the runtime's session URL.

Attributes

value instance-attribute
value: int

AllowedPortPortRange dataclass

Bases: _SerdeShape

An inclusive range of ports that are reachable through the runtime's session URL.

Attributes

value instance-attribute
value: PortRange

AllowedPortUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str