# 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::DataFactory::Mgmt::V2018_06_01
  module Models
    #
    # VNet properties for managed integration runtime.
    #
    class IntegrationRuntimeVNetProperties

      include MsRestAzure

      # @return Unmatched properties from the message are deserialized this
      # collection
      attr_accessor :additional_properties

      # @return [String] The ID of the VNet that this integration runtime will
      # join.
      attr_accessor :v_net_id

      # @return [String] The name of the subnet this integration runtime will
      # join.
      attr_accessor :subnet

      # @return [Array<String>] Resource IDs of the public IP addresses that
      # this integration runtime will use.
      attr_accessor :public_ips


      #
      # Mapper for IntegrationRuntimeVNetProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IntegrationRuntimeVNetProperties',
          type: {
            name: 'Composite',
            class_name: 'IntegrationRuntimeVNetProperties',
            model_properties: {
              additional_properties: {
                client_side_validation: true,
                required: false,
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ObjectElementType',
                      type: {
                        name: 'Object'
                      }
                  }
                }
              },
              v_net_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vNetId',
                type: {
                  name: 'String'
                }
              },
              subnet: {
                client_side_validation: true,
                required: false,
                serialized_name: 'subnet',
                type: {
                  name: 'String'
                }
              },
              public_ips: {
                client_side_validation: true,
                required: false,
                serialized_name: 'publicIPs',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
