# 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::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
  module Models
    #
    # InMageAzureV2 specific provider input.
    #
    class InMageReprotectInput < ReverseReplicationProviderSpecificInput

      include MsRestAzure


      def initialize
        @instanceType = "InMage"
      end

      attr_accessor :instanceType

      # @return [String] The Master Target Id.
      attr_accessor :master_target_id

      # @return [String] The Process Server Id.
      attr_accessor :process_server_id

      # @return [String] The retention drive to use on the MT.
      attr_accessor :retention_drive

      # @return [String] The CS account Id.
      attr_accessor :run_as_account_id

      # @return [String] The target datastore name.
      attr_accessor :datastore_name

      # @return [InMageDiskExclusionInput] The enable disk exclusion input.
      attr_accessor :disk_exclusion_input

      # @return [String] The Policy Id.
      attr_accessor :profile_id

      # @return [Array<String>] The disks to include list.
      attr_accessor :disks_to_include


      #
      # Mapper for InMageReprotectInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'InMage',
          type: {
            name: 'Composite',
            class_name: 'InMageReprotectInput',
            model_properties: {
              instanceType: {
                client_side_validation: true,
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              master_target_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'masterTargetId',
                type: {
                  name: 'String'
                }
              },
              process_server_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'processServerId',
                type: {
                  name: 'String'
                }
              },
              retention_drive: {
                client_side_validation: true,
                required: true,
                serialized_name: 'retentionDrive',
                type: {
                  name: 'String'
                }
              },
              run_as_account_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'runAsAccountId',
                type: {
                  name: 'String'
                }
              },
              datastore_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'datastoreName',
                type: {
                  name: 'String'
                }
              },
              disk_exclusion_input: {
                client_side_validation: true,
                required: false,
                serialized_name: 'diskExclusionInput',
                type: {
                  name: 'Composite',
                  class_name: 'InMageDiskExclusionInput'
                }
              },
              profile_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'profileId',
                type: {
                  name: 'String'
                }
              },
              disks_to_include: {
                client_side_validation: true,
                required: false,
                serialized_name: 'disksToInclude',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
