Sha256: f566d09bf135469bb094f7317152721fba7f91475eef3031ff3093244463d613

Contents?: true

Size: 1.71 KB

Versions: 6

Compression:

Stored size: 1.71 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
    #
    # Replication provider specific settings.
    #
    class ReplicationProviderSpecificSettings

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["HyperVReplicaBaseReplicationDetails"] = "HyperVReplicaBaseReplicationDetails"
      @@discriminatorMap["HyperVReplica2012"] = "HyperVReplicaReplicationDetails"
      @@discriminatorMap["HyperVReplica2012R2"] = "HyperVReplicaBlueReplicationDetails"
      @@discriminatorMap["HyperVReplicaAzure"] = "HyperVReplicaAzureReplicationDetails"
      @@discriminatorMap["InMageAzureV2"] = "InMageAzureV2ReplicationDetails"
      @@discriminatorMap["InMage"] = "InMageReplicationDetails"
      @@discriminatorMap["A2A"] = "A2AReplicationDetails"

      def initialize
        @instanceType = "ReplicationProviderSpecificSettings"
      end

      attr_accessor :instanceType


      #
      # Mapper for ReplicationProviderSpecificSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicationProviderSpecificSettings',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'instanceType',
            uber_parent: 'ReplicationProviderSpecificSettings',
            class_name: 'ReplicationProviderSpecificSettings',
            model_properties: {
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.17.3 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb
azure_mgmt_recovery_services_site_recovery-0.16.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb
azure_mgmt_recovery_services_site_recovery-0.15.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb