Sha256: 97c79c433cd8967ac99ef268b6ca30a98f5f226e56a4f60802ae4ce2bc495024

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 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
    #
    # Input definition for planned failover input properties.
    #
    class UnplannedFailoverInputProperties

      include MsRestAzure

      # @return [String] Failover direction.
      attr_accessor :failover_direction

      # @return [String] Source site operations status
      attr_accessor :source_site_operations

      # @return [ProviderSpecificFailoverInput] Provider specific settings
      attr_accessor :provider_specific_details


      #
      # Mapper for UnplannedFailoverInputProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'UnplannedFailoverInputProperties',
          type: {
            name: 'Composite',
            class_name: 'UnplannedFailoverInputProperties',
            model_properties: {
              failover_direction: {
                required: false,
                serialized_name: 'failoverDirection',
                type: {
                  name: 'String'
                }
              },
              source_site_operations: {
                required: false,
                serialized_name: 'sourceSiteOperations',
                type: {
                  name: 'String'
                }
              },
              provider_specific_details: {
                required: false,
                serialized_name: 'providerSpecificDetails',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'instanceType',
                  uber_parent: 'ProviderSpecificFailoverInput',
                  class_name: 'ProviderSpecificFailoverInput'
                }
              }
            }
          }
        }
      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/unplanned_failover_input_properties.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/unplanned_failover_input_properties.rb