# 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 A2A failover input. # class RecoveryPlanA2AFailoverInput < RecoveryPlanProviderSpecificFailoverInput include MsRestAzure def initialize @instanceType = "A2A" end attr_accessor :instanceType # @return [A2ARpRecoveryPointType] The recovery point type. Possible # values include: 'Latest', 'LatestApplicationConsistent', # 'LatestCrashConsistent', 'LatestProcessed' attr_accessor :recovery_point_type # @return [String] A value indicating whether to use recovery cloud # service for TFO or not. attr_accessor :cloud_service_creation_option # @return [MultiVmSyncPointOption] A value indicating whether multi VM # sync enabled VMs should use multi VM sync points for failover. Possible # values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' attr_accessor :multi_vm_sync_point_option # # Mapper for RecoveryPlanA2AFailoverInput class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'A2A', type: { name: 'Composite', class_name: 'RecoveryPlanA2AFailoverInput', model_properties: { instanceType: { client_side_validation: true, required: true, serialized_name: 'instanceType', type: { name: 'String' } }, recovery_point_type: { client_side_validation: true, required: true, serialized_name: 'recoveryPointType', type: { name: 'String' } }, cloud_service_creation_option: { client_side_validation: true, required: false, serialized_name: 'cloudServiceCreationOption', type: { name: 'String' } }, multi_vm_sync_point_option: { client_side_validation: true, required: false, serialized_name: 'multiVmSyncPointOption', type: { name: 'String' } } } } } end end end end