Class: Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb

Overview

Class representing a Traffic Manager HeatMap.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#end_timeDateTime

exclusive.

Returns:

  • (DateTime)

    The ending of the time window for this HeatMap,



21
22
23
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb', line 21

def end_time
  @end_time
end

#endpointsArray<HeatMapEndpoint>

calculation.

Returns:



25
26
27
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb', line 25

def endpoints
  @endpoints
end

#start_timeDateTime

inclusive.

Returns:

  • (DateTime)

    The beginning of the time window for this HeatMap,



17
18
19
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb', line 17

def start_time
  @start_time
end

#traffic_flowsArray<TrafficFlow>

calculation.

Returns:

  • (Array<TrafficFlow>)

    The traffic flows produced in this HeatMap



29
30
31
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb', line 29

def traffic_flows
  @traffic_flows
end

Class Method Details

.mapperObject

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



36
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
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
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HeatMapModel',
    type: {
      name: 'Composite',
      class_name: 'HeatMapModel',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endTime',
          type: {
            name: 'DateTime'
          }
        },
        endpoints: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endpoints',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HeatMapEndpointElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HeatMapEndpoint'
                }
            }
          }
        },
        traffic_flows: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.trafficFlows',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'TrafficFlowElementType',
                type: {
                  name: 'Composite',
                  class_name: 'TrafficFlow'
                }
            }
          }
        }
      }
    }
  }
end