Class: Azure::Network::Mgmt::V2019_11_01::Models::ConnectionMonitor

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.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


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

def auto_start
  @auto_start
end

#destinationConnectionMonitorDestination

connection monitor.

Returns:


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

def destination
  @destination
end

#endpointsArray<ConnectionMonitorEndpoint>

endpoints.

Returns:


38
39
40
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 38

def endpoints
  @endpoints
end

#locationString

Returns Connection monitor location.

Returns:

  • (String)

    Connection monitor location.


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

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 .


34
35
36
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 34

def monitoring_interval_in_seconds
  @monitoring_interval_in_seconds
end

#notesString

monitor.

Returns:

  • (String)

    Optional notes to be associated with the connection


54
55
56
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 54

def notes
  @notes
end

#outputsArray<ConnectionMonitorOutput>

outputs.

Returns:


50
51
52
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 50

def outputs
  @outputs
end

#sourceConnectionMonitorSource

monitor.

Returns:


23
24
25
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 23

def source
  @source
end

#tagsHash{String => String}

Returns Connection monitor tags.

Returns:

  • (Hash{String => String})

    Connection monitor tags.


19
20
21
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 19

def tags
  @tags
end

#test_configurationsArray<ConnectionMonitorTestConfiguration>

monitor test configurations.

Returns:


42
43
44
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 42

def test_configurations
  @test_configurations
end

#test_groupsArray<ConnectionMonitorTestGroup>

test groups.

Returns:


46
47
48
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 46

def test_groups
  @test_groups
end

Class Method Details

.mapperObject

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


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
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
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor.rb', line 61

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitor',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitor',
      model_properties: {
        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'
          }
        }
      }
    }
  }
end