class Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration

The endpoint configuration for a pool.

Attributes

inbound_nat_pools[RW]

@return [Array<InboundNatPool>] A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. The maximum number of inbound NAT pools per Batch pool is

  1. If the maximum number of inbound NAT pools is exceeded the request

fails with HTTP status code 400.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PoolEndpointConfiguration',
    type: {
      name: 'Composite',
      class_name: 'PoolEndpointConfiguration',
      model_properties: {
        inbound_nat_pools: {
          client_side_validation: true,
          required: true,
          serialized_name: 'inboundNatPools',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'InboundNatPoolElementType',
                type: {
                  name: 'Composite',
                  class_name: 'InboundNatPool'
                }
            }
          }
        }
      }
    }
  }
end