Sha256: 8cfe1e236fe152b194632742797155b795ff664098cb69cf47d55ab2fb286f64

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 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
    #
    # Disable protection input properties.
    #
    class DisableProtectionInputProperties

      include MsRestAzure

      # @return [DisableProtectionReason] Disable protection reason. It can
      # have values NotSpecified/MigrationComplete. Possible values include:
      # 'NotSpecified', 'MigrationComplete'
      attr_accessor :disable_protection_reason

      # @return [DisableProtectionProviderSpecificInput] Replication provider
      # specific input.
      attr_accessor :replication_provider_input


      #
      # Mapper for DisableProtectionInputProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DisableProtectionInputProperties',
          type: {
            name: 'Composite',
            class_name: 'DisableProtectionInputProperties',
            model_properties: {
              disable_protection_reason: {
                required: false,
                serialized_name: 'disableProtectionReason',
                type: {
                  name: 'Enum',
                  module: 'DisableProtectionReason'
                }
              },
              replication_provider_input: {
                required: false,
                serialized_name: 'replicationProviderInput',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'instanceType',
                  uber_parent: 'DisableProtectionProviderSpecificInput',
                  class_name: 'DisableProtectionProviderSpecificInput'
                }
              }
            }
          }
        }
      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/disable_protection_input_properties.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_input_properties.rb