# 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 # # Recovery plan HVR Azure failback input. # class RecoveryPlanHyperVReplicaAzureFailbackInput < RecoveryPlanProviderSpecificFailoverInput include MsRestAzure def initialize @instanceType = "HyperVReplicaAzureFailback" end attr_accessor :instanceType # @return [DataSyncStatus] The data sync option. Possible values include: # 'ForDownTime', 'ForSynchronization' attr_accessor :data_sync_option # @return [AlternateLocationRecoveryOption] The ALR option. Possible # values include: 'CreateVmIfNotFound', 'NoAction' attr_accessor :recovery_vm_creation_option # # Mapper for RecoveryPlanHyperVReplicaAzureFailbackInput class as Ruby # Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'HyperVReplicaAzureFailback', type: { name: 'Composite', class_name: 'RecoveryPlanHyperVReplicaAzureFailbackInput', model_properties: { instanceType: { client_side_validation: true, required: true, serialized_name: 'instanceType', type: { name: 'String' } }, data_sync_option: { client_side_validation: true, required: true, serialized_name: 'dataSyncOption', type: { name: 'String' } }, recovery_vm_creation_option: { client_side_validation: true, required: true, serialized_name: 'recoveryVmCreationOption', type: { name: 'String' } } } } } end end end end