Sha256: 0986f64588f01d1938906d56fe15a06b499d33f67df7bc4965e51feac864106c

Contents?: true

Size: 1.74 KB

Versions: 24

Compression:

Stored size: 1.74 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::V2018_11_01
  module Models
    #
    # VirtualHub route
    #
    class VirtualHubRoute

      include MsRestAzure

      # @return [Array<String>] list of all addressPrefixes.
      attr_accessor :address_prefixes

      # @return [String] NextHop ip address.
      attr_accessor :next_hop_ip_address


      #
      # Mapper for VirtualHubRoute class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualHubRoute',
          type: {
            name: 'Composite',
            class_name: 'VirtualHubRoute',
            model_properties: {
              address_prefixes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'addressPrefixes',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              next_hop_ip_address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'nextHopIpAddress',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-11-01/generated/azure_mgmt_network/models/virtual_hub_route.rb
azure_mgmt_network-0.18.5 lib/2018-11-01/generated/azure_mgmt_network/models/virtual_hub_route.rb
azure_mgmt_network-0.18.4 lib/2018-11-01/generated/azure_mgmt_network/models/virtual_hub_route.rb
azure_mgmt_network-0.18.3 lib/2018-11-01/generated/azure_mgmt_network/models/virtual_hub_route.rb