class Azure::Network::Mgmt::V2019_04_01::Models::InboundNatPool

Inbound NAT pool of the load balancer.

Attributes

backend_port[RW]

@return [Integer] The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

enable_floating_ip[RW]

@return [Boolean] Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

enable_tcp_reset[RW]

@return [Boolean] Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

frontend_ipconfiguration[RW]

@return [SubResource] A reference to frontend IP addresses.

frontend_port_range_end[RW]

@return [Integer] The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.

frontend_port_range_start[RW]

@return [Integer] The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.

idle_timeout_in_minutes[RW]

@return [Integer] The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

name[RW]

@return [String] The name of the resource that is unique within a resource group. This name can be used to access the resource.

protocol[RW]

@return [TransportProtocol] The reference to the transport protocol used by the inbound NAT pool. Possible values include: 'Udp', 'Tcp', 'All'

provisioning_state[RW]

@return [String] Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

Public Class Methods

mapper() click to toggle source

Mapper for InboundNatPool class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-04-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb, line 70
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'InboundNatPool',
    type: {
      name: 'Composite',
      class_name: 'InboundNatPool',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        frontend_ipconfiguration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.frontendIPConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        protocol: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.protocol',
          type: {
            name: 'String'
          }
        },
        frontend_port_range_start: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.frontendPortRangeStart',
          type: {
            name: 'Number'
          }
        },
        frontend_port_range_end: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.frontendPortRangeEnd',
          type: {
            name: 'Number'
          }
        },
        backend_port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.backendPort',
          type: {
            name: 'Number'
          }
        },
        idle_timeout_in_minutes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.idleTimeoutInMinutes',
          type: {
            name: 'Number'
          }
        },
        enable_floating_ip: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableFloatingIP',
          type: {
            name: 'Boolean'
          }
        },
        enable_tcp_reset: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableTcpReset',
          type: {
            name: 'Boolean'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end