Class: Azure::Network::Mgmt::V2019_11_01::Models::ConnectionMonitorParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-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


25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 25

def auto_start
  @auto_start
end

#destinationConnectionMonitorDestination

connection monitor.

Returns:


21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 21

def destination
  @destination
end

#endpointsArray<ConnectionMonitorEndpoint>

endpoints.

Returns:


32
33
34
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 32

def endpoints
  @endpoints
end

#monitoring_interval_in_secondsInteger

Returns Monitoring interval in seconds. Default value: 60 .

Returns:

  • (Integer)

    Monitoring interval in seconds. Default value: 60 .


28
29
30
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 28

def monitoring_interval_in_seconds
  @monitoring_interval_in_seconds
end

#notesString

monitor.

Returns:

  • (String)

    Optional notes to be associated with the connection


48
49
50
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 48

def notes
  @notes
end

#outputsArray<ConnectionMonitorOutput>

outputs.

Returns:


44
45
46
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 44

def outputs
  @outputs
end

#sourceConnectionMonitorSource

monitor.

Returns:


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 17

def source
  @source
end

#test_configurationsArray<ConnectionMonitorTestConfiguration>

monitor test configurations.

Returns:


36
37
38
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 36

def test_configurations
  @test_configurations
end

#test_groupsArray<ConnectionMonitorTestGroup>

test groups.

Returns:


40
41
42
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 40

def test_groups
  @test_groups
end

Class Method Details

.mapperObject

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


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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb', line 55

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: false,
          serialized_name: 'source',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorSource'
          }
        },
        destination: {
          client_side_validation: true,
          required: false,
          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'
          }
        },
        endpoints: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endpoints',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ConnectionMonitorEndpointElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectionMonitorEndpoint'
                }
            }
          }
        },
        test_configurations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'testConfigurations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ConnectionMonitorTestConfigurationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectionMonitorTestConfiguration'
                }
            }
          }
        },
        test_groups: {
          client_side_validation: true,
          required: false,
          serialized_name: 'testGroups',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ConnectionMonitorTestGroupElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectionMonitorTestGroup'
                }
            }
          }
        },
        outputs: {
          client_side_validation: true,
          required: false,
          serialized_name: 'outputs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ConnectionMonitorOutputElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectionMonitorOutput'
                }
            }
          }
        },
        notes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notes',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end