다음을 통해 공유


JobSchedule class

JobSchedule을 나타내는 클래스입니다.

생성자

JobSchedule(BatchServiceClientContext)

JobSchedule을 만듭니다.

메서드

add(JobScheduleAddParameter, JobScheduleAddOptionalParams)
add(JobScheduleAddParameter, JobScheduleAddOptionalParams, ServiceCallback<void>)
add(JobScheduleAddParameter, ServiceCallback<void>)
deleteMethod(string, JobScheduleDeleteMethodOptionalParams)

작업 일정을 삭제하면 해당 일정에 따라 모든 작업 및 작업도 삭제됩니다. 작업이 삭제되면 컴퓨팅 노드의 작업 디렉터리에 있는 모든 파일도 삭제됩니다(보존 기간은 무시됨). 작업 일정 통계는 작업 일정이 삭제된 후에도 더 이상 액세스할 수 없지만 계정 수명 통계로 계산됩니다.

deleteMethod(string, JobScheduleDeleteMethodOptionalParams, ServiceCallback<void>)
deleteMethod(string, ServiceCallback<void>)
disable(string, JobScheduleDisableOptionalParams)

작업 일정을 다시 사용하도록 설정할 때까지 새 작업이 만들어지지 않습니다.

disable(string, JobScheduleDisableOptionalParams, ServiceCallback<void>)
disable(string, ServiceCallback<void>)
enable(string, JobScheduleEnableOptionalParams)
enable(string, JobScheduleEnableOptionalParams, ServiceCallback<void>)
enable(string, ServiceCallback<void>)
exists(string, JobScheduleExistsOptionalParams)
exists(string, JobScheduleExistsOptionalParams, ServiceCallback<boolean>)
exists(string, ServiceCallback<boolean>)
get(string, JobScheduleGetOptionalParams)

지정된 작업 일정에 대한 정보를 가져옵니다.

get(string, JobScheduleGetOptionalParams, ServiceCallback<CloudJobSchedule>)
get(string, ServiceCallback<CloudJobSchedule>)
list(JobScheduleListOptionalParams)
list(JobScheduleListOptionalParams, ServiceCallback<CloudJobScheduleListResult>)
list(ServiceCallback<CloudJobScheduleListResult>)
listNext(string, JobScheduleListNextOptionalParams)
listNext(string, JobScheduleListNextOptionalParams, ServiceCallback<CloudJobScheduleListResult>)
listNext(string, ServiceCallback<CloudJobScheduleListResult>)
patch(string, JobSchedulePatchParameter, JobSchedulePatchOptionalParams)

그러면 요청에 지정된 작업 일정 속성만 바뀝니다. 예를 들어 일정 속성이 이 요청과 함께 지정되지 않은 경우 Batch 서비스는 기존 일정을 유지합니다. 작업 일정에 대한 변경 내용은 업데이트가 수행된 후 일정에 의해 생성된 작업에만 영향을 미칩니다. 현재 실행 중인 작업은 영향을 받지 않습니다.

patch(string, JobSchedulePatchParameter, JobSchedulePatchOptionalParams, ServiceCallback<void>)
patch(string, JobSchedulePatchParameter, ServiceCallback<void>)
terminate(string, JobScheduleTerminateOptionalParams)
terminate(string, JobScheduleTerminateOptionalParams, ServiceCallback<void>)
terminate(string, ServiceCallback<void>)
update(string, JobScheduleUpdateParameter, JobScheduleUpdateOptionalParams)

그러면 작업 일정의 업데이트 가능한 모든 속성이 완전히 바뀝니다. 예를 들어 일정 속성이 이 요청과 함께 지정되지 않은 경우 Batch 서비스는 기존 일정을 제거합니다. 작업 일정에 대한 변경 내용은 업데이트가 수행된 후 일정에 의해 생성된 작업에만 영향을 미칩니다. 현재 실행 중인 작업은 영향을 받지 않습니다.

update(string, JobScheduleUpdateParameter, JobScheduleUpdateOptionalParams, ServiceCallback<void>)
update(string, JobScheduleUpdateParameter, ServiceCallback<void>)

생성자 세부 정보

JobSchedule(BatchServiceClientContext)

JobSchedule을 만듭니다.

new JobSchedule(client: BatchServiceClientContext)

매개 변수

client
BatchServiceClientContext

서비스 클라이언트에 대한 참조입니다.

메서드 세부 정보

add(JobScheduleAddParameter, JobScheduleAddOptionalParams)

function add(cloudJobSchedule: JobScheduleAddParameter, options?: JobScheduleAddOptionalParams): Promise<JobScheduleAddResponse>

매개 변수

cloudJobSchedule
JobScheduleAddParameter

추가할 작업 일정입니다.

options
JobScheduleAddOptionalParams

선택적 매개 변수

반환

Promise<Models.JobScheduleAddResponse>

add(JobScheduleAddParameter, JobScheduleAddOptionalParams, ServiceCallback<void>)

function add(cloudJobSchedule: JobScheduleAddParameter, options: JobScheduleAddOptionalParams, callback: ServiceCallback<void>)

매개 변수

cloudJobSchedule
JobScheduleAddParameter

추가할 작업 일정입니다.

options
JobScheduleAddOptionalParams

선택적 매개 변수

callback

ServiceCallback<void>

콜백

add(JobScheduleAddParameter, ServiceCallback<void>)

function add(cloudJobSchedule: JobScheduleAddParameter, callback: ServiceCallback<void>)

매개 변수

cloudJobSchedule
JobScheduleAddParameter

추가할 작업 일정입니다.

callback

ServiceCallback<void>

콜백

deleteMethod(string, JobScheduleDeleteMethodOptionalParams)

작업 일정을 삭제하면 해당 일정에 따라 모든 작업 및 작업도 삭제됩니다. 작업이 삭제되면 컴퓨팅 노드의 작업 디렉터리에 있는 모든 파일도 삭제됩니다(보존 기간은 무시됨). 작업 일정 통계는 작업 일정이 삭제된 후에도 더 이상 액세스할 수 없지만 계정 수명 통계로 계산됩니다.

function deleteMethod(jobScheduleId: string, options?: JobScheduleDeleteMethodOptionalParams): Promise<JobScheduleDeleteResponse>

매개 변수

jobScheduleId

string

삭제할 작업 일정의 ID입니다.

options
JobScheduleDeleteMethodOptionalParams

선택적 매개 변수

반환

Promise<Models.JobScheduleDeleteResponse를 사용합니다.>

deleteMethod(string, JobScheduleDeleteMethodOptionalParams, ServiceCallback<void>)

function deleteMethod(jobScheduleId: string, options: JobScheduleDeleteMethodOptionalParams, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

삭제할 작업 일정의 ID입니다.

options
JobScheduleDeleteMethodOptionalParams

선택적 매개 변수

callback

ServiceCallback<void>

콜백

deleteMethod(string, ServiceCallback<void>)

function deleteMethod(jobScheduleId: string, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

삭제할 작업 일정의 ID입니다.

callback

ServiceCallback<void>

콜백

disable(string, JobScheduleDisableOptionalParams)

작업 일정을 다시 사용하도록 설정할 때까지 새 작업이 만들어지지 않습니다.

function disable(jobScheduleId: string, options?: JobScheduleDisableOptionalParams): Promise<JobScheduleDisableResponse>

매개 변수

jobScheduleId

string

사용하지 않도록 설정할 작업 일정의 ID입니다.

options
JobScheduleDisableOptionalParams

선택적 매개 변수

반환

Promise Models.JobScheduleDisableResponse를 약속<합니다.>

disable(string, JobScheduleDisableOptionalParams, ServiceCallback<void>)

function disable(jobScheduleId: string, options: JobScheduleDisableOptionalParams, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

사용하지 않도록 설정할 작업 일정의 ID입니다.

options
JobScheduleDisableOptionalParams

선택적 매개 변수

callback

ServiceCallback<void>

콜백

disable(string, ServiceCallback<void>)

function disable(jobScheduleId: string, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

사용하지 않도록 설정할 작업 일정의 ID입니다.

callback

ServiceCallback<void>

콜백

enable(string, JobScheduleEnableOptionalParams)

function enable(jobScheduleId: string, options?: JobScheduleEnableOptionalParams): Promise<JobScheduleEnableResponse>

매개 변수

jobScheduleId

string

사용하도록 설정할 작업 일정의 ID입니다.

options
JobScheduleEnableOptionalParams

선택적 매개 변수

반환

Promise Models.JobScheduleEnableResponse를 약속<합니다.>

enable(string, JobScheduleEnableOptionalParams, ServiceCallback<void>)

function enable(jobScheduleId: string, options: JobScheduleEnableOptionalParams, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

사용하도록 설정할 작업 일정의 ID입니다.

options
JobScheduleEnableOptionalParams

선택적 매개 변수

callback

ServiceCallback<void>

콜백

enable(string, ServiceCallback<void>)

function enable(jobScheduleId: string, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

사용하도록 설정할 작업 일정의 ID입니다.

callback

ServiceCallback<void>

콜백

exists(string, JobScheduleExistsOptionalParams)

function exists(jobScheduleId: string, options?: JobScheduleExistsOptionalParams): Promise<JobScheduleExistsResponse>

매개 변수

jobScheduleId

string

확인하려는 작업 일정의 ID입니다.

options
JobScheduleExistsOptionalParams

선택적 매개 변수

반환

Promise<Models.JobScheduleExistsResponse입니다.>

exists(string, JobScheduleExistsOptionalParams, ServiceCallback<boolean>)

function exists(jobScheduleId: string, options: JobScheduleExistsOptionalParams, callback: ServiceCallback<boolean>)

매개 변수

jobScheduleId

string

확인하려는 작업 일정의 ID입니다.

options
JobScheduleExistsOptionalParams

선택적 매개 변수

callback

ServiceCallback<boolean>

콜백

exists(string, ServiceCallback<boolean>)

function exists(jobScheduleId: string, callback: ServiceCallback<boolean>)

매개 변수

jobScheduleId

string

확인하려는 작업 일정의 ID입니다.

callback

ServiceCallback<boolean>

콜백

get(string, JobScheduleGetOptionalParams)

지정된 작업 일정에 대한 정보를 가져옵니다.

function get(jobScheduleId: string, options?: JobScheduleGetOptionalParams): Promise<JobScheduleGetResponse>

매개 변수

jobScheduleId

string

가져올 작업 일정의 ID입니다.

options
JobScheduleGetOptionalParams

선택적 매개 변수

반환

Models.JobScheduleGetResponse 약속<>

get(string, JobScheduleGetOptionalParams, ServiceCallback<CloudJobSchedule>)

function get(jobScheduleId: string, options: JobScheduleGetOptionalParams, callback: ServiceCallback<CloudJobSchedule>)

매개 변수

jobScheduleId

string

가져올 작업 일정의 ID입니다.

options
JobScheduleGetOptionalParams

선택적 매개 변수

get(string, ServiceCallback<CloudJobSchedule>)

function get(jobScheduleId: string, callback: ServiceCallback<CloudJobSchedule>)

매개 변수

jobScheduleId

string

가져올 작업 일정의 ID입니다.

list(JobScheduleListOptionalParams)

function list(options?: JobScheduleListOptionalParams): Promise<JobScheduleListResponse>

매개 변수

options
JobScheduleListOptionalParams

선택적 매개 변수

반환

Promise<Models.JobScheduleListResponse를 사용합니다.>

list(JobScheduleListOptionalParams, ServiceCallback<CloudJobScheduleListResult>)

function list(options: JobScheduleListOptionalParams, callback: ServiceCallback<CloudJobScheduleListResult>)

매개 변수

options
JobScheduleListOptionalParams

선택적 매개 변수

list(ServiceCallback<CloudJobScheduleListResult>)

function list(callback: ServiceCallback<CloudJobScheduleListResult>)

매개 변수

listNext(string, JobScheduleListNextOptionalParams)

function listNext(nextPageLink: string, options?: JobScheduleListNextOptionalParams): Promise<JobScheduleListResponse>

매개 변수

nextPageLink

string

이전에 성공한 목록 작업 호출의 NextLink입니다.

options
JobScheduleListNextOptionalParams

선택적 매개 변수

반환

Promise<Models.JobScheduleListResponse를 사용합니다.>

listNext(string, JobScheduleListNextOptionalParams, ServiceCallback<CloudJobScheduleListResult>)

function listNext(nextPageLink: string, options: JobScheduleListNextOptionalParams, callback: ServiceCallback<CloudJobScheduleListResult>)

매개 변수

nextPageLink

string

이전에 성공한 목록 작업 호출의 NextLink입니다.

options
JobScheduleListNextOptionalParams

선택적 매개 변수

listNext(string, ServiceCallback<CloudJobScheduleListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<CloudJobScheduleListResult>)

매개 변수

nextPageLink

string

이전에 성공한 목록 작업 호출의 NextLink입니다.

patch(string, JobSchedulePatchParameter, JobSchedulePatchOptionalParams)

그러면 요청에 지정된 작업 일정 속성만 바뀝니다. 예를 들어 일정 속성이 이 요청과 함께 지정되지 않은 경우 Batch 서비스는 기존 일정을 유지합니다. 작업 일정에 대한 변경 내용은 업데이트가 수행된 후 일정에 의해 생성된 작업에만 영향을 미칩니다. 현재 실행 중인 작업은 영향을 받지 않습니다.

function patch(jobScheduleId: string, jobSchedulePatchParameter: JobSchedulePatchParameter, options?: JobSchedulePatchOptionalParams): Promise<JobSchedulePatchResponse>

매개 변수

jobScheduleId

string

업데이트할 작업 일정의 ID입니다.

jobSchedulePatchParameter
JobSchedulePatchParameter

요청에 대한 매개 변수입니다.

options
JobSchedulePatchOptionalParams

선택적 매개 변수

반환

Promise<Models.JobSchedulePatchResponse>

patch(string, JobSchedulePatchParameter, JobSchedulePatchOptionalParams, ServiceCallback<void>)

function patch(jobScheduleId: string, jobSchedulePatchParameter: JobSchedulePatchParameter, options: JobSchedulePatchOptionalParams, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

업데이트할 작업 일정의 ID입니다.

jobSchedulePatchParameter
JobSchedulePatchParameter

요청에 대한 매개 변수입니다.

options
JobSchedulePatchOptionalParams

선택적 매개 변수

callback

ServiceCallback<void>

콜백

patch(string, JobSchedulePatchParameter, ServiceCallback<void>)

function patch(jobScheduleId: string, jobSchedulePatchParameter: JobSchedulePatchParameter, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

업데이트할 작업 일정의 ID입니다.

jobSchedulePatchParameter
JobSchedulePatchParameter

요청에 대한 매개 변수입니다.

callback

ServiceCallback<void>

콜백

terminate(string, JobScheduleTerminateOptionalParams)

function terminate(jobScheduleId: string, options?: JobScheduleTerminateOptionalParams): Promise<JobScheduleTerminateResponse>

매개 변수

jobScheduleId

string

종료할 작업 일정의 ID입니다.

options
JobScheduleTerminateOptionalParams

선택적 매개 변수

반환

Promise<Models.JobScheduleTerminateResponse입니다.>

terminate(string, JobScheduleTerminateOptionalParams, ServiceCallback<void>)

function terminate(jobScheduleId: string, options: JobScheduleTerminateOptionalParams, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

종료할 작업 일정의 ID입니다.

options
JobScheduleTerminateOptionalParams

선택적 매개 변수

callback

ServiceCallback<void>

콜백

terminate(string, ServiceCallback<void>)

function terminate(jobScheduleId: string, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

종료할 작업 일정의 ID입니다.

callback

ServiceCallback<void>

콜백

update(string, JobScheduleUpdateParameter, JobScheduleUpdateOptionalParams)

그러면 작업 일정의 업데이트 가능한 모든 속성이 완전히 바뀝니다. 예를 들어 일정 속성이 이 요청과 함께 지정되지 않은 경우 Batch 서비스는 기존 일정을 제거합니다. 작업 일정에 대한 변경 내용은 업데이트가 수행된 후 일정에 의해 생성된 작업에만 영향을 미칩니다. 현재 실행 중인 작업은 영향을 받지 않습니다.

function update(jobScheduleId: string, jobScheduleUpdateParameter: JobScheduleUpdateParameter, options?: JobScheduleUpdateOptionalParams): Promise<JobScheduleUpdateResponse>

매개 변수

jobScheduleId

string

업데이트할 작업 일정의 ID입니다.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

요청에 대한 매개 변수입니다.

options
JobScheduleUpdateOptionalParams

선택적 매개 변수

반환

Promise<Models.JobScheduleUpdateResponse>

update(string, JobScheduleUpdateParameter, JobScheduleUpdateOptionalParams, ServiceCallback<void>)

function update(jobScheduleId: string, jobScheduleUpdateParameter: JobScheduleUpdateParameter, options: JobScheduleUpdateOptionalParams, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

업데이트할 작업 일정의 ID입니다.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

요청에 대한 매개 변수입니다.

options
JobScheduleUpdateOptionalParams

선택적 매개 변수

callback

ServiceCallback<void>

콜백

update(string, JobScheduleUpdateParameter, ServiceCallback<void>)

function update(jobScheduleId: string, jobScheduleUpdateParameter: JobScheduleUpdateParameter, callback: ServiceCallback<void>)

매개 변수

jobScheduleId

string

업데이트할 작업 일정의 ID입니다.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

요청에 대한 매개 변수입니다.

callback

ServiceCallback<void>

콜백