# 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::V2016_08_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() { required: false, serialized_name: 'HyperVReplicaAzureFailback', type: { name: 'Composite', class_name: 'RecoveryPlanHyperVReplicaAzureFailbackInput', model_properties: { instanceType: { required: true, serialized_name: 'instanceType', type: { name: 'String' } }, data_sync_option: { required: true, serialized_name: 'dataSyncOption', type: { name: 'Enum', module: 'DataSyncStatus' } }, recovery_vm_creation_option: { required: true, serialized_name: 'recoveryVmCreationOption', type: { name: 'Enum', module: 'AlternateLocationRecoveryOption' } } } } } end end end end