Port Class
Properties of a network port.
Constructor
Port(*, transport_protocol: str | TransportProtocol | None = None, backend_port: int | None = None, **kwargs)
Parameters
Name | Description |
---|---|
transport_protocol
Required
|
Protocol type of the port. Possible values include: "Tcp", "Udp". |
backend_port
Required
|
Backend port of the target virtual machine. |
Keyword-Only Parameters
Name | Description |
---|---|
transport_protocol
|
Default value: None
|
backend_port
|
Default value: None
|