class Azure::ServiceFabric::V6_4_0_36::Models::TcpConfig

Describes the tcp configuration for external connectivity for this network.

Attributes

destination[RW]

@return [GatewayDestination] Describes destination endpoint for routing traffic.

name[RW]

@return [String] tcp gateway config name.

port[RW]

@return [Integer] Specifies the port at which the service endpoint below needs to be exposed.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/tcp_config.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TcpConfig',
    type: {
      name: 'Composite',
      class_name: 'TcpConfig',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        },
        destination: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destination',
          type: {
            name: 'Composite',
            class_name: 'GatewayDestination'
          }
        }
      }
    }
  }
end