Class: Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb

Overview

Parameters that define the operation to create a connection monitor.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#auto_startBoolean

automatically once created. Default value: true .

Returns:

  • (Boolean)

    Determines if the connection monitor will start


23
24
25
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 23

def auto_start
  @auto_start
end

#destinationConnectionMonitorDestination


19
20
21
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 19

def destination
  @destination
end

#monitoring_interval_in_secondsInteger

Returns Monitoring interval in seconds. Default value: 60 .

Returns:

  • (Integer)

    Monitoring interval in seconds. Default value: 60 .


26
27
28
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 26

def monitoring_interval_in_seconds
  @monitoring_interval_in_seconds
end

#sourceConnectionMonitorSource


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 16

def source
  @source
end

Class Method Details

.mapperObject

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


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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorParameters',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorParameters',
      model_properties: {
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'source',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorSource'
          }
        },
        destination: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destination',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorDestination'
          }
        },
        auto_start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'autoStart',
          default_value: true,
          type: {
            name: 'Boolean'
          }
        },
        monitoring_interval_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'monitoringIntervalInSeconds',
          default_value: 60,
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end