# 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 failover input. # class RecoveryPlanHyperVReplicaAzureFailoverInput < RecoveryPlanProviderSpecificFailoverInput include MsRestAzure def initialize @instanceType = "HyperVReplicaAzure" end attr_accessor :instanceType # @return [String] The vault location. attr_accessor :vault_location # @return [String] The primary KEK certificate PFX. attr_accessor :primary_kek_certificate_pfx # @return [String] The secondary KEK certificate PFX. attr_accessor :secondary_kek_certificate_pfx # @return [HyperVReplicaAzureRpRecoveryPointType] The recovery point # type. Possible values include: 'Latest', 'LatestApplicationConsistent', # 'LatestProcessed' attr_accessor :recovery_point_type # # Mapper for RecoveryPlanHyperVReplicaAzureFailoverInput class as Ruby # Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'HyperVReplicaAzure', type: { name: 'Composite', class_name: 'RecoveryPlanHyperVReplicaAzureFailoverInput', model_properties: { instanceType: { required: true, serialized_name: 'instanceType', type: { name: 'String' } }, vault_location: { required: true, serialized_name: 'vaultLocation', type: { name: 'String' } }, primary_kek_certificate_pfx: { required: false, serialized_name: 'primaryKekCertificatePfx', type: { name: 'String' } }, secondary_kek_certificate_pfx: { required: false, serialized_name: 'secondaryKekCertificatePfx', type: { name: 'String' } }, recovery_point_type: { required: false, serialized_name: 'recoveryPointType', type: { name: 'Enum', module: 'HyperVReplicaAzureRpRecoveryPointType' } } } } } end end end end