Class: Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb
Overview
Information about the connection monitor.
Instance Attribute Summary collapse
-
#auto_start ⇒ Boolean
automatically once created.
- #destination ⇒ ConnectionMonitorDestination
-
#etag ⇒ String
changes whenever the resource is updated.' .
-
#id ⇒ String
ID of the connection monitor.
-
#location ⇒ String
Connection monitor location.
-
#monitoring_interval_in_seconds ⇒ Integer
Monitoring interval in seconds.
-
#monitoring_status ⇒ String
The monitoring status of the connection monitor.
-
#name ⇒ String
Name of the connection monitor.
-
#provisioning_state ⇒ ProvisioningState
monitor.
- #source ⇒ ConnectionMonitorSource
-
#start_time ⇒ DateTime
started.
-
#tags ⇒ Hash{String => String}
Connection monitor tags.
-
#type ⇒ String
Connection monitor type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectionMonitorResult class as Ruby Hash.
Instance Attribute Details
#auto_start ⇒ Boolean
automatically once created. Default value: true .
42 43 44 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 42 def auto_start @auto_start end |
#destination ⇒ ConnectionMonitorDestination
38 39 40 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 38 def destination @destination end |
#etag ⇒ String
changes whenever the resource is updated.' .
23 24 25 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 23 def etag @etag end |
#id ⇒ String
Returns ID of the connection monitor.
19 20 21 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 19 def id @id end |
#location ⇒ String
Returns Connection monitor location.
29 30 31 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 29 def location @location end |
#monitoring_interval_in_seconds ⇒ Integer
Returns Monitoring interval in seconds. Default value: 60 .
45 46 47 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 45 def monitoring_interval_in_seconds @monitoring_interval_in_seconds end |
#monitoring_status ⇒ String
Returns The monitoring status of the connection monitor.
57 58 59 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 57 def monitoring_status @monitoring_status end |
#name ⇒ String
Returns Name of the connection monitor.
16 17 18 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 16 def name @name end |
#provisioning_state ⇒ ProvisioningState
monitor. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
50 51 52 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 50 def provisioning_state @provisioning_state end |
#source ⇒ ConnectionMonitorSource
35 36 37 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 35 def source @source end |
#start_time ⇒ DateTime
started.
54 55 56 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 54 def start_time @start_time end |
#tags ⇒ Hash{String => String}
Returns Connection monitor tags.
32 33 34 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 32 def @tags end |
#type ⇒ String
Returns Connection monitor type.
26 27 28 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb', line 26 def type @type end |
Class Method Details
.mapper ⇒ Object
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-08-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 |