class Azure::ServiceFabric::V7_0_0_42::Models::ProbeTcpSocket

Tcp port to probe inside the container.

Attributes

port[RW]

@return [Integer] Port to access for probe.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/probe_tcp_socket.rb, line 23
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProbeTcpSocket',
    type: {
      name: 'Composite',
      class_name: 'ProbeTcpSocket',
      model_properties: {
        port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end