Class: Azure::Network::Mgmt::V2020_04_01::Models::ConnectivityHop

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-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/2020-04-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/2020-04-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/2020-04-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/2020-04-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/2020-04-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/2020-04-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
113
114
115
116
117
118
119
120
121
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_hop.rb', line 38

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