class Azure::Network::Mgmt::V2016_09_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.

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.

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 transport protocol for the endpoint. Possible values are: 'Udp' or 'Tcp'. Possible values include: 'Udp', 'Tcp'

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/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb, line 53
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'
          }
        },
        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