Class: Azure::Network::Mgmt::V2020_03_01::Models::ConnectionMonitorTcpConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_tcp_configuration.rb

Overview

Describes the TCP configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disable_trace_routeBoolean

route should be disabled.

Returns:

  • (Boolean)

    Value indicating whether path evaluation with trace


20
21
22
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_tcp_configuration.rb', line 20

def disable_trace_route
  @disable_trace_route
end

#portInteger

Returns The port to connect to.

Returns:

  • (Integer)

    The port to connect to.


16
17
18
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_tcp_configuration.rb', line 16

def port
  @port
end

Class Method Details

.mapperObject

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


27
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
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_tcp_configuration.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorTcpConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorTcpConfiguration',
      model_properties: {
        port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        },
        disable_trace_route: {
          client_side_validation: true,
          required: false,
          serialized_name: 'disableTraceRoute',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end