Sha256: a96a3076f495d2e90d92a1722ae6eaa61a556f636798f2401cd54c05fafac035

Contents?: true

Size: 1.8 KB

Versions: 2

Compression:

Stored size: 1.8 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Batch::Mgmt::V2019_08_01
  module Models
    #
    # The endpoint configuration for a pool.
    #
    #
    class PoolEndpointConfiguration

      include MsRestAzure

      # @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
      # 5. If the maximum number of inbound NAT pools is exceeded the request
      # fails with HTTP status code 400.
      attr_accessor :inbound_nat_pools


      #
      # Mapper for PoolEndpointConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2019-08-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb
azure_mgmt_batch-0.18.0 lib/2019-08-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb