Sha256: eb9766882af7d0eb3c86fa95fc2ffe2e97fd70318b2784352bc238f199d566f2

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Network::Mgmt::V2017_09_01
  module Models
    #
    # The information about next hop from the specified VM.
    #
    class NextHopResult

      include MsRestAzure

      # @return [NextHopType] Next hop type. Possible values include:
      # 'Internet', 'VirtualAppliance', 'VirtualNetworkGateway', 'VnetLocal',
      # 'HyperNetGateway', 'None'
      attr_accessor :next_hop_type

      # @return [String] Next hop IP Address
      attr_accessor :next_hop_ip_address

      # @return [String] The resource identifier for the route table associated
      # with the route being returned. If the route being returned does not
      # correspond to any user created routes then this field will be the
      # string 'System Route'.
      attr_accessor :route_table_id


      #
      # Mapper for NextHopResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'NextHopResult',
          type: {
            name: 'Composite',
            class_name: 'NextHopResult',
            model_properties: {
              next_hop_type: {
                required: false,
                serialized_name: 'nextHopType',
                type: {
                  name: 'String'
                }
              },
              next_hop_ip_address: {
                required: false,
                serialized_name: 'nextHopIpAddress',
                type: {
                  name: 'String'
                }
              },
              route_table_id: {
                required: false,
                serialized_name: 'routeTableId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_network-0.15.1 lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb
azure_mgmt_network-0.15.0 lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb