# 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
    #
    # Azure specific reprotect input.
    #
    class HyperVReplicaAzureReprotectInput < ReverseReplicationProviderSpecificInput

      include MsRestAzure


      def initialize
        @instanceType = "HyperVReplicaAzure"
      end

      attr_accessor :instanceType

      # @return [String] The Hyper-V host Vm Id.
      attr_accessor :hv_host_vm_id

      # @return [String] The Vm Name.
      attr_accessor :vm_name

      # @return [String] The OS type associated with vm.
      attr_accessor :os_type

      # @return [String] The OS disk VHD id associated with vm.
      attr_accessor :v_hdid

      # @return [String] The storage account name.
      attr_accessor :storage_account_id

      # @return [String] The storage account to be used for logging during
      # replication.
      attr_accessor :log_storage_account_id


      #
      # Mapper for HyperVReplicaAzureReprotectInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'HyperVReplicaAzure',
          type: {
            name: 'Composite',
            class_name: 'HyperVReplicaAzureReprotectInput',
            model_properties: {
              instanceType: {
                client_side_validation: true,
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              hv_host_vm_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hvHostVmId',
                type: {
                  name: 'String'
                }
              },
              vm_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vmName',
                type: {
                  name: 'String'
                }
              },
              os_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'osType',
                type: {
                  name: 'String'
                }
              },
              v_hdid: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vHDId',
                type: {
                  name: 'String'
                }
              },
              storage_account_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'storageAccountId',
                type: {
                  name: 'String'
                }
              },
              log_storage_account_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'logStorageAccountId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
