# 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
    #
    # Properties of a managed private endpoint
    #
    class ManagedPrivateEndpoint

      include MsRestAzure

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

      # @return [ConnectionStateProperties] The managed private endpoint
      # connection state
      attr_accessor :connection_state

      # @return [Array<String>] Fully qualified domain names
      attr_accessor :fqdns

      # @return [String] The groupId to which the managed private endpoint is
      # created
      attr_accessor :group_id

      # @return [Boolean] Denotes whether the managed private endpoint is
      # reserved
      attr_accessor :is_reserved

      # @return [String] The ARM resource ID of the resource to which the
      # managed private endpoint is created
      attr_accessor :private_link_resource_id

      # @return [String] The managed private endpoint provisioning state
      attr_accessor :provisioning_state


      #
      # Mapper for ManagedPrivateEndpoint class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ManagedPrivateEndpoint',
          type: {
            name: 'Composite',
            class_name: 'ManagedPrivateEndpoint',
            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'
                      }
                  }
                }
              },
              connection_state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'connectionState',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectionStateProperties'
                }
              },
              fqdns: {
                client_side_validation: true,
                required: false,
                serialized_name: 'fqdns',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              group_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'groupId',
                type: {
                  name: 'String'
                }
              },
              is_reserved: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'isReserved',
                type: {
                  name: 'Boolean'
                }
              },
              private_link_resource_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'privateLinkResourceId',
                type: {
                  name: 'String'
                }
              },
              provisioning_state: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'provisioningState',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
