# File lib/foreman_api/resources/auth_source_ldap.rb, line 4 def self.doc @doc ||= ForemanApi.doc['resources']["auth_source_ldaps"] end
@param [Hash] params a hash of params to be passed to the service @option params [Hash] auth_source_ldap
allowed keys are: * account [String] * account_password [String] Required if onthefly_register is true * attr_firstname [String] Required if onthefly_register is true * attr_lastname [String] Required if onthefly_register is true * attr_login [String] Required if onthefly_register is true * attr_mail [String] Required if onthefly_register is true * base_dn [String] * host [String] * name [String] * onthefly_register [String] * port [String] Defaults to 389 * tls [String]
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/auth_source_ldap.rb, line 45 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end
@param [Hash] params a hash of params to be passed to the service @option params [String] id
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/auth_source_ldap.rb, line 77 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end
@param [Hash] params a hash of params to be passed to the service @option params [String] page Paginate results @option params [String] per_page Number of entries per request
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/auth_source_ldap.rb, line 14 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end
@param [Hash] params a hash of params to be passed to the service @option params [String] id
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/auth_source_ldap.rb, line 23 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end
@param [Hash] params a hash of params to be passed to the service @option params [String] id @option params [Hash] auth_source_ldap
allowed keys are: * account [String] * account_password [String] Required if onthefly_register is true * attr_firstname [String] Required if onthefly_register is true * attr_lastname [String] Required if onthefly_register is true * attr_login [String] Required if onthefly_register is true * attr_mail [String] Required if onthefly_register is true * base_dn [String] * host [String] * name [String] * onthefly_register [String] * port [String] Defaults to 389 * tls [String]
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/auth_source_ldap.rb, line 68 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end