Sha256: 0c28988b4112b27066a64e52e1ab0fce9f2d6ab8e157b3e14ac74f0b00ec2dbe

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

# 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 InMage failover input.
    #
    class RecoveryPlanInMageFailoverInput < RecoveryPlanProviderSpecificFailoverInput

      include MsRestAzure


      def initialize
        @instanceType = "InMage"
      end

      attr_accessor :instanceType

      # @return [RpInMageRecoveryPointType] The recovery point type. Possible
      # values include: 'LatestTime', 'LatestTag', 'Custom'
      attr_accessor :recovery_point_type


      #
      # Mapper for RecoveryPlanInMageFailoverInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'InMage',
          type: {
            name: 'Composite',
            class_name: 'RecoveryPlanInMageFailoverInput',
            model_properties: {
              instanceType: {
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              recovery_point_type: {
                required: true,
                serialized_name: 'recoveryPointType',
                type: {
                  name: 'Enum',
                  module: 'RpInMageRecoveryPointType'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.15.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_in_mage_failover_input.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_in_mage_failover_input.rb