lib/iam/right_iam_interface.rb
# Updates the name and/or the path of the specified server certificate.
#
# Options: :new_server_certificate_name, :new_path
#
#  iam.update_server_certificate('ProdServerCert', :new_server_certificate_name => 'OldServerCert') #=> true
#
Updates the name and/or the path of the specified server certificate.


Updates the name and / or the path of the specified server certificate .
def update_server_certificate(server_certificate_name, options={})
      request_hash = { 'ServerCertificateName' => server_certificate_name}
      request_hash['NewServerCertificateName'] = options[:new_server_certificate_name] unless options[:new_server_certificate_name].right_blank?
      request_hash['NewPath']                  = options[:new_path]                    unless options[:new_path].right_blank?
      link = generate_request("UpdateServerCertificate", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def update_server_certificate ( server_certificate_name , options = { } ) request_hash = { 'ServerCertificateName' => server_certificate_name } request_hash [ 'NewServerCertificateName' ] = options [ :new_server_certificate_name ] unless options [ :new_server_certificate_name ] . right_blank? request_hash [ 'NewPath' ] = options [ :new_path ] unless options [ :new_path ] . right_blank? link = generate_request ( "UpdateServerCertificate" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Updates the name and/or the path of the specified server certificate.
Updates the name and / or the path of the specified server certificate .
server_certificate_name
<not_specific>
options
<not_specific>