Class: Azure::ARM::Network::Models::ConnectivityHop

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/connectivity_hop.rb

Overview

Information about a hop between the source and the destination.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#addressString

Returns The IP address of the hop.

Returns:

  • (String)

    The IP address of the hop.



23
24
25
# File 'lib/generated/azure_mgmt_network/models/connectivity_hop.rb', line 23

def address
  @address
end

#idString

Returns The ID of the hop.

Returns:

  • (String)

    The ID of the hop.



20
21
22
# File 'lib/generated/azure_mgmt_network/models/connectivity_hop.rb', line 20

def id
  @id
end

#issuesArray<ConnectivityIssue>

Returns List of issues.

Returns:



32
33
34
# File 'lib/generated/azure_mgmt_network/models/connectivity_hop.rb', line 32

def issues
  @issues
end

#next_hop_idsArray<String>

Returns List of next hop identifiers.

Returns:

  • (Array<String>)

    List of next hop identifiers.



29
30
31
# File 'lib/generated/azure_mgmt_network/models/connectivity_hop.rb', line 29

def next_hop_ids
  @next_hop_ids
end

#resource_idString

Returns The ID of the resource corresponding to this hop.

Returns:

  • (String)

    The ID of the resource corresponding to this hop.



26
27
28
# File 'lib/generated/azure_mgmt_network/models/connectivity_hop.rb', line 26

def resource_id
  @resource_id
end

#typeString

Returns The type of the hop.

Returns:

  • (String)

    The type of the hop.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/connectivity_hop.rb', line 17

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_network/models/connectivity_hop.rb', line 39

def self.mapper()
  {
    required: false,
    serialized_name: 'ConnectivityHop',
    type: {
      name: 'Composite',
      class_name: 'ConnectivityHop',
      model_properties: {
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        address: {
          required: false,
          read_only: true,
          serialized_name: 'address',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          required: false,
          read_only: true,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        next_hop_ids: {
          required: false,
          read_only: true,
          serialized_name: 'nextHopIds',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        issues: {
          required: false,
          read_only: true,
          serialized_name: 'issues',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'ConnectivityIssueElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectivityIssue'
                }
            }
          }
        }
      }
    }
  }
end