UpdatePortForwardsRequest
Request to update an existing port forwarding rule. Replaces the rule's parameters.
modePortForwardMode (string)
Mode that defines how the resource should behave.
Possible values: [SpecificPorts, AllPorts]
protocolPortForwardProtocol (string)
Protocol used by the resource or forwarding rule.
Possible values: [Tcp, Udp, TcpUdp]
externalPortinteger<int32>nullable
The externally exposed port. Required and in the range 1-65535 when Mode is
SpecificPorts; must be omitted when Mode is AllPorts.
internalPortinteger<int32>nullable
The internal (VM-side) port traffic is forwarded to. Required and in the range 1-65535 when
Mode is SpecificPorts; must be omitted when Mode is AllPorts.
UpdatePortForwardsRequest
{
"mode": "SpecificPorts",
"protocol": "Tcp",
"externalPort": 0,
"internalPort": 0
}