Show / Hide Table of Contents

    Class InboundNatRule

    A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.

    Inheritance
    Object
    InboundNatRule
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.DevTestLabs.dll
    Syntax
    public class InboundNatRule

    Constructors

    InboundNatRule()

    Initializes a new instance of the InboundNatRule class.

    Declaration
    public InboundNatRule ();

    InboundNatRule(String, Nullable<Int32>, Nullable<Int32>)

    Initializes a new instance of the InboundNatRule class.

    Declaration
    public InboundNatRule (string transportProtocol = null, Nullable<int> frontendPort = null, Nullable<int> backendPort = null);
    Parameters
    String transportProtocol

    The transport protocol for the endpoint. Possible values include: 'Tcp', 'Udp'

    Nullable<Int32> frontendPort

    The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically.

    Nullable<Int32> backendPort

    The port to which the external traffic will be redirected.

    Properties

    BackendPort

    Gets or sets the port to which the external traffic will be redirected.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="backendPort")]
    public Nullable<int> BackendPort { get; set; }
    Property Value
    Nullable<Int32>

    FrontendPort

    Gets or sets the external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="frontendPort")]
    public Nullable<int> FrontendPort { get; set; }
    Property Value
    Nullable<Int32>

    TransportProtocol

    Gets or sets the transport protocol for the endpoint. Possible values include: 'Tcp', 'Udp'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="transportProtocol")]
    public string TransportProtocol { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net