Class: Azure::Network::Mgmt::V2020_04_01::Models::ConnectionMonitorResult

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

Overview

Information about the 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


44
45
46
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 44

def auto_start
  @auto_start
end

#connection_monitor_typeConnectionMonitorType

values include: 'MultiEndpoint', 'SingleSourceDestination'

Returns:


83
84
85
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 83

def connection_monitor_type
  @connection_monitor_type
end

#destinationConnectionMonitorDestination

connection monitor.

Returns:


40
41
42
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 40

def destination
  @destination
end

#endpointsArray<ConnectionMonitorEndpoint>

endpoints.

Returns:


51
52
53
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 51

def endpoints
  @endpoints
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


23
24
25
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 23

def etag
  @etag
end

#idString

Returns ID of the connection monitor.

Returns:

  • (String)

    ID of the connection monitor.


19
20
21
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 19

def id
  @id
end

#locationString

Returns Connection monitor location.

Returns:

  • (String)

    Connection monitor location.


29
30
31
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 29

def location
  @location
end

#monitoring_interval_in_secondsInteger

Returns Monitoring interval in seconds. Default value: 60 .

Returns:

  • (Integer)

    Monitoring interval in seconds. Default value: 60 .


47
48
49
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 47

def monitoring_interval_in_seconds
  @monitoring_interval_in_seconds
end

#monitoring_statusString

Returns The monitoring status of the connection monitor.

Returns:

  • (String)

    The monitoring status of the connection monitor.


79
80
81
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 79

def monitoring_status
  @monitoring_status
end

#nameString

Returns Name of the connection monitor.

Returns:

  • (String)

    Name of the connection monitor.


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

def name
  @name
end

#notesString

monitor.

Returns:

  • (String)

    Optional notes to be associated with the connection


67
68
69
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 67

def notes
  @notes
end

#outputsArray<ConnectionMonitorOutput>

outputs.

Returns:


63
64
65
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 63

def outputs
  @outputs
end

#provisioning_stateProvisioningState

monitor. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Returns:


72
73
74
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 72

def provisioning_state
  @provisioning_state
end

#sourceConnectionMonitorSource

monitor.

Returns:


36
37
38
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 36

def source
  @source
end

#start_timeDateTime

started.

Returns:

  • (DateTime)

    The date and time when the connection monitor was


76
77
78
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 76

def start_time
  @start_time
end

#tagsHash{String => String}

Returns Connection monitor tags.

Returns:

  • (Hash{String => String})

    Connection monitor tags.


32
33
34
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 32

def tags
  @tags
end

#test_configurationsArray<ConnectionMonitorTestConfiguration>

monitor test configurations.

Returns:


55
56
57
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 55

def test_configurations
  @test_configurations
end

#test_groupsArray<ConnectionMonitorTestGroup>

test groups.

Returns:


59
60
61
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 59

def test_groups
  @test_groups
end

#typeString

Returns Connection monitor type.

Returns:

  • (String)

    Connection monitor type.


26
27
28
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 26

def type
  @type
end

Class Method Details

.mapperObject

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


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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 90

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorResult',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorResult',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.source',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorSource'
          }
        },
        destination: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.destination',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorDestination'
          }
        },
        auto_start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.autoStart',
          default_value: true,
          type: {
            name: 'Boolean'
          }
        },
        monitoring_interval_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.monitoringIntervalInSeconds',
          default_value: 60,
          type: {
            name: 'Number'
          }
        },
        endpoints: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.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: 'properties.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: 'properties.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: 'properties.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: 'properties.notes',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        monitoring_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.monitoringStatus',
          type: {
            name: 'String'
          }
        },
        connection_monitor_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.connectionMonitorType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end