Class: Azure::Network::Mgmt::V2019_02_01::Models::ConnectionMonitorResult

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


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

def auto_start
  @auto_start
end

#destinationConnectionMonitorDestination

connection monitor.


41
42
43
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 41

def destination
  @destination
end

#etagString

resource is updated. Default value: 'A unique read-only string that changes whenever the resource is updated.' .


24
25
26
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 24

def etag
  @etag
end

#idString


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

def id
  @id
end

#locationString


30
31
32
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 30

def location
  @location
end

#monitoring_interval_in_secondsInteger


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

def monitoring_interval_in_seconds
  @monitoring_interval_in_seconds
end

#monitoring_statusString


60
61
62
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 60

def monitoring_status
  @monitoring_status
end

#nameString


16
17
18
# File 'lib/2019-02-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'


53
54
55
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 53

def provisioning_state
  @provisioning_state
end

#sourceConnectionMonitorSource

monitor.


37
38
39
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 37

def source
  @source
end

#start_timeDateTime

started.


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

def start_time
  @start_time
end

#tagsHash{String => String}


33
34
35
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 33

def tags
  @tags
end

#typeString


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

def type
  @type
end

Class Method Details

.mapperObject

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


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
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 67

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