public static base_response update ( nitro_service client , nshostname resource ) throws Exception { nshostname updateresource = new nshostname ( ) ; updateresource . hostname = resource . hostname ; updateresource . ownernode = resource . ownernode ; return updateresource . update_resource ( client ) ; }
Use this API to update nshostname .