# 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 InMageAzureV2 failover input. # class RecoveryPlanInMageAzureV2FailoverInput < RecoveryPlanProviderSpecificFailoverInput include MsRestAzure def initialize @instanceType = "InMageAzureV2" end attr_accessor :instanceType # @return [String] The vault location. attr_accessor :vault_location # @return [InMageV2RpRecoveryPointType] The recovery point type. Possible # values include: 'Latest', 'LatestApplicationConsistent', # 'LatestCrashConsistent', 'LatestProcessed' attr_accessor :recovery_point_type # @return [String] A value indicating whether multi VM sync enabled VMs # should use multi VM sync points for failover. attr_accessor :use_multi_vm_sync_point # # Mapper for RecoveryPlanInMageAzureV2FailoverInput class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InMageAzureV2', type: { name: 'Composite', class_name: 'RecoveryPlanInMageAzureV2FailoverInput', model_properties: { instanceType: { client_side_validation: true, required: true, serialized_name: 'instanceType', type: { name: 'String' } }, vault_location: { client_side_validation: true, required: true, serialized_name: 'vaultLocation', type: { name: 'String' } }, recovery_point_type: { client_side_validation: true, required: true, serialized_name: 'recoveryPointType', type: { name: 'String' } }, use_multi_vm_sync_point: { client_side_validation: true, required: false, serialized_name: 'useMultiVmSyncPoint', type: { name: 'String' } } } } } end end end end