Class: Azure::TrafficManager::Mgmt::V2015_11_01::Models::MonitorConfig
- Inherits:
-
Object
- Object
- Azure::TrafficManager::Mgmt::V2015_11_01::Models::MonitorConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb
Overview
Class containing endpoint monitoring settings in a Traffic Manager profile.
Instance Attribute Summary collapse
-
#path ⇒ String
name used to probe for endpoint health.
-
#port ⇒ Integer
health.
-
#profile_monitor_status ⇒ String
the Traffic Manager profile.
-
#protocol ⇒ String
probe for endpoint health.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MonitorConfig class as Ruby Hash.
Instance Attribute Details
#path ⇒ String
name used to probe for endpoint health.
30 31 32 |
# File 'lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb', line 30 def path @path end |
#port ⇒ Integer
health.
26 27 28 |
# File 'lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb', line 26 def port @port end |
#profile_monitor_status ⇒ String
the Traffic Manager profile.
18 19 20 |
# File 'lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb', line 18 def profile_monitor_status @profile_monitor_status end |
#protocol ⇒ String
probe for endpoint health.
22 23 24 |
# File 'lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb', line 22 def protocol @protocol end |
Class Method Details
.mapper ⇒ Object
Mapper for MonitorConfig class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MonitorConfig', type: { name: 'Composite', class_name: 'MonitorConfig', model_properties: { profile_monitor_status: { client_side_validation: true, required: false, serialized_name: 'profileMonitorStatus', type: { name: 'String' } }, protocol: { client_side_validation: true, required: false, serialized_name: 'protocol', type: { name: 'String' } }, port: { client_side_validation: true, required: false, serialized_name: 'port', type: { name: 'Number' } }, path: { client_side_validation: true, required: false, serialized_name: 'path', type: { name: 'String' } } } } } end |