Class: Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorResult

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


42
43
44
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 42

def auto_start
  @auto_start
end

#destinationConnectionMonitorDestination


38
39
40
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 38

def destination
  @destination
end

#etagString

changes whenever the resource is updated.' .

Returns:

  • (String)

    . Default value: 'A unique read-only string that


23
24
25
# File 'lib/2018-06-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/2018-06-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/2018-06-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 .


45
46
47
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 45

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.


57
58
59
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 57

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/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 16

def name
  @name
end

#provisioning_stateProvisioningState

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

Returns:


50
51
52
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 50

def provisioning_state
  @provisioning_state
end

#sourceConnectionMonitorSource


35
36
37
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 35

def source
  @source
end

#start_timeDateTime

started.

Returns:

  • (DateTime)

    The date and time when the connection monitor was


54
55
56
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 54

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/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 32

def tags
  @tags
end

#typeString

Returns Connection monitor type.

Returns:

  • (String)

    Connection monitor type.


26
27
28
# File 'lib/2018-06-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.


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
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 64

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,
          serialized_name: 'etag',
          default_value: 'A unique read-only string that changes whenever the resource is updated.',
          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: true,
          serialized_name: 'properties.source',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorSource'
          }
        },
        destination: {
          client_side_validation: true,
          required: true,
          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'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        monitoring_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.monitoringStatus',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end