Class: Azure::TrafficManager::Mgmt::V2015_11_01::Models::MonitorConfig

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#pathString

name used to probe for endpoint health.

Returns:

  • (String)

    Gets or sets the path relative to the endpoint domain



30
31
32
# File 'lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb', line 30

def path
  @path
end

#portInteger

health.

Returns:

  • (Integer)

    Gets or sets the TCP port used to probe for endpoint



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_statusString

the Traffic Manager profile.

Returns:

  • (String)

    Gets or sets the profile-level monitoring status of



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

#protocolString

probe for endpoint health.

Returns:

  • (String)

    Gets or sets the protocol (HTTP or HTTPS) used to



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

.mapperObject

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