Class: Azure::Network::Mgmt::V2017_09_01::Models::ConnectivityHop

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01/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.



22
23
24
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb', line 22

def address
  @address
end

#idString

Returns The ID of the hop.

Returns:

  • (String)

    The ID of the hop.



19
20
21
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb', line 19

def id
  @id
end

#issuesArray<ConnectivityIssue>

Returns List of issues.

Returns:



31
32
33
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb', line 31

def issues
  @issues
end

#next_hop_idsArray<String>

Returns List of next hop identifiers.

Returns:

  • (Array<String>)

    List of next hop identifiers.



28
29
30
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb', line 28

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.



25
26
27
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb', line 25

def resource_id
  @resource_id
end

#typeString

Returns The type of the hop.

Returns:

  • (String)

    The type of the hop.



16
17
18
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb', line 16

def type
  @type
end

Class Method Details

.mapperObject

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



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

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