Sha256: 1ebf559a56a42a2ce28ee7cbac7fd0c782970348fb5be85273dee908be4dd3ad

Contents?: true

Size: 1.99 KB

Versions: 2

Compression:

Stored size: 1.99 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 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


      #
      # Mapper for RecoveryPlanA2AFailoverInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'A2A',
          type: {
            name: 'Composite',
            class_name: 'RecoveryPlanA2AFailoverInput',
            model_properties: {
              instanceType: {
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              recovery_point_type: {
                required: true,
                serialized_name: 'recoveryPointType',
                type: {
                  name: 'Enum',
                  module: 'A2ARpRecoveryPointType'
                }
              },
              cloud_service_creation_option: {
                required: false,
                serialized_name: 'cloudServiceCreationOption',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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_a2afailover_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_a2afailover_input.rb