Sha256: 33682303d771ed8fb2f547bb16af7738b555be719b4f530d1c0f624650e90dfd

Contents?: true

Size: 1.93 KB

Versions: 4

Compression:

Stored size: 1.93 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::V2018_01_10
  module Models
    #
    # Discover protectable item properties.
    #
    class DiscoverProtectableItemRequestProperties

      include MsRestAzure

      # @return [String] The friendly name of the physical machine.
      attr_accessor :friendly_name

      # @return [String] The IP address of the physical machine to be
      # discovered.
      attr_accessor :ip_address

      # @return [String] The OS type on the physical machine.
      attr_accessor :os_type


      #
      # Mapper for DiscoverProtectableItemRequestProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DiscoverProtectableItemRequestProperties',
          type: {
            name: 'Composite',
            class_name: 'DiscoverProtectableItemRequestProperties',
            model_properties: {
              friendly_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'friendlyName',
                type: {
                  name: 'String'
                }
              },
              ip_address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipAddress',
                type: {
                  name: 'String'
                }
              },
              os_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'osType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.17.3 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request_properties.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request_properties.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request_properties.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request_properties.rb