HciVmInboundNatRuleProperties Constructor

Definition

Initializes a new instance of HciVmInboundNatRuleProperties.

public HciVmInboundNatRuleProperties(Azure.ResourceManager.Hci.Vm.Models.HciVmInboundNatRuleProtocol protocol, int frontendPort, int backendPort);
new Azure.ResourceManager.Hci.Vm.Models.HciVmInboundNatRuleProperties : Azure.ResourceManager.Hci.Vm.Models.HciVmInboundNatRuleProtocol * int * int -> Azure.ResourceManager.Hci.Vm.Models.HciVmInboundNatRuleProperties
Public Sub New (protocol As HciVmInboundNatRuleProtocol, frontendPort As Integer, backendPort As Integer)

Parameters

protocol
HciVmInboundNatRuleProtocol

Protocol for the NAT rule.

frontendPort
Int32

Frontend Port for the inbound rule.

backendPort
Int32

backend Port for the inbound rule.

Applies to