Class: Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb

Overview

Class which is a sparse representation of a Traffic Manager endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#endpoint_idInteger

experiences.

Returns:

  • (Integer)

    A number uniquely identifying this endpoint in query



20
21
22
# File 'lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb', line 20

def endpoint_id
  @endpoint_id
end

#resource_idString

Returns The ARM Resource ID of this Traffic Manager endpoint.

Returns:

  • (String)

    The ARM Resource ID of this Traffic Manager endpoint.



16
17
18
# File 'lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb', line 16

def resource_id
  @resource_id
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HeatMapEndpoint',
    type: {
      name: 'Composite',
      class_name: 'HeatMapEndpoint',
      model_properties: {
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        endpoint_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endpointId',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end