class Azure::TrafficManager::Mgmt::V2017_03_01::Models::MonitorConfig
Class containing endpoint monitoring settings in a Traffic Manager profile.
Attributes
path[RW]
@return [String] Gets or sets the path relative to the endpoint domain name used to probe for endpoint health.
port[RW]
@return [Integer] Gets or sets the TCP port used to probe for endpoint health.
profile_monitor_status[RW]
@return [String] Gets or sets the profile-level monitoring status of the Traffic Manager profile.
protocol[RW]
@return [String] Gets or sets the protocol (HTTP or HTTPS) used to probe for endpoint health.
Public Class Methods
mapper()
click to toggle source
Mapper for MonitorConfig
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-03-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