# 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 # # The properties of an add vCenter request. # class AddVCenterRequestProperties include MsRestAzure # @return [String] The friendly name of the vCenter. attr_accessor :friendly_name # @return [String] The IP address of the vCenter to be discovered. attr_accessor :ip_address # @return [String] The process server Id from where the discovery is # orchestrated. attr_accessor :process_server_id # @return [String] The port number for discovery. attr_accessor :port # @return [String] The account Id which has privileges to discover the # vCenter. attr_accessor :run_as_account_id # # Mapper for AddVCenterRequestProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AddVCenterRequestProperties', type: { name: 'Composite', class_name: 'AddVCenterRequestProperties', 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' } }, process_server_id: { client_side_validation: true, required: false, serialized_name: 'processServerId', type: { name: 'String' } }, port: { client_side_validation: true, required: false, serialized_name: 'port', type: { name: 'String' } }, run_as_account_id: { client_side_validation: true, required: false, serialized_name: 'runAsAccountId', type: { name: 'String' } } } } } end end end end