PADomainUtils - copyJob(String paJob, String runAs)

  • 릴리스 버전: Zurich
  • 업데이트 날짜 2025년 07월 31일
  • 소요 시간: 1분
  • 예약된 데이터 수집 작업 기록을 퍼포먼스 분석 다른 도메인에 복사합니다.

    표 1. 매개변수
    이름 유형 설명
    paJob 문자열 예약된 데이터 수집 작업 [sysauto_pa] 기록의 퍼포먼스 분석 Sys_id입니다.
    runAs 문자열 작업을 복사할 도메인의 사용자입니다.
    표 2. 반환
    유형 설명
    문자열 오류가 발생하는 경우 오류 메시지, 오류가 없는 경우 빈 문자열입니다.
    // No source domain needs to be set
    var pa = new SNC.PADomainUtils();
    // copy the '[PA Incident] Daily Data Collection job'
    // set the 'run as' of the new record to be the 'acme.itil' user
    // first argument is the sys_id of the sysauto_pa record
    // the second is the sys_id of the acme.itil user record
    pa.copyJob('82ba2023d7101100b96d45a3ce6103cd','797d14341f1310005a3637b8ec8b7010');