Class: Azure::Batch::Mgmt::V2018_12_01::Models::PoolEndpointConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-12-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb

Overview

The endpoint configuration for a pool.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#inbound_nat_poolsArray<InboundNatPool>

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.

Returns:



21
22
23
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb', line 21

def inbound_nat_pools
  @inbound_nat_pools
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2018-12-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