Aracılığıyla paylaş


JobSchedule class

JobSchedule'i temsil eden sınıf.

Oluşturucular

JobSchedule(BatchServiceClientContext)

JobSchedule oluşturun.

Yöntemler

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

Bir İş Zamanlamasını sildiğinizde, bu zamanlama kapsamındaki tüm İşler ve Görevler de silinir. Görevler silindiğinde, İşlem Düğümlerindeki çalışma dizinlerindeki tüm dosyalar da silinir (bekletme süresi yoksayılır). İş Zamanlaması istatistikleri artık İş Zamanlaması silindikten sonra erişilemez, ancak yine de Hesap ömrü istatistiklerine göre sayılırlar.

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

İş Zamanlaması yeniden etkinleştirilene kadar yeni İş oluşturulmaz.

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)

Belirtilen İş Zamanlaması hakkında bilgi alır.

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)

Bu, yalnızca istekte belirtilen İş Zamanlaması özelliklerinin yerini alır. Örneğin, schedule özelliği bu istekle belirtilmezse Batch hizmeti mevcut zamanlamayı tutar. İş Zamanlaması'na yapılan değişiklikler yalnızca güncelleştirme gerçekleştikten sonra zamanlama tarafından oluşturulan işleri etkiler; şu anda çalışan İşler etkilenmez.

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)

Bu, İş Zamanlaması'nın tüm güncelleştirilebilir özelliklerinin yerini alır. Örneğin, schedule özelliği bu istekle belirtilmezse Batch hizmeti mevcut zamanlamayı kaldırır. İş Zamanlaması'na yapılan değişiklikler yalnızca güncelleştirme gerçekleştikten sonra zamanlama tarafından oluşturulan işleri etkiler; şu anda çalışan İşler etkilenmez.

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

Oluşturucu Ayrıntıları

JobSchedule(BatchServiceClientContext)

JobSchedule oluşturun.

new JobSchedule(client: BatchServiceClientContext)

Parametreler

client
BatchServiceClientContext

Hizmet istemcisine başvuru.

Yöntem Ayrıntıları

add(JobScheduleAddParameter, JobScheduleAddOptionalParams)

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

Parametreler

cloudJobSchedule
JobScheduleAddParameter

Eklenecek İş Zamanlaması.

options
JobScheduleAddOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleAddResponse>

add(JobScheduleAddParameter, JobScheduleAddOptionalParams, ServiceCallback<void>)

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

Parametreler

cloudJobSchedule
JobScheduleAddParameter

Eklenecek İş Zamanlaması.

options
JobScheduleAddOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

add(JobScheduleAddParameter, ServiceCallback<void>)

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

Parametreler

cloudJobSchedule
JobScheduleAddParameter

Eklenecek İş Zamanlaması.

callback

ServiceCallback<void>

Geri çağırma

deleteMethod(string, JobScheduleDeleteMethodOptionalParams)

Bir İş Zamanlamasını sildiğinizde, bu zamanlama kapsamındaki tüm İşler ve Görevler de silinir. Görevler silindiğinde, İşlem Düğümlerindeki çalışma dizinlerindeki tüm dosyalar da silinir (bekletme süresi yoksayılır). İş Zamanlaması istatistikleri artık İş Zamanlaması silindikten sonra erişilemez, ancak yine de Hesap ömrü istatistiklerine göre sayılırlar.

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

Parametreler

jobScheduleId

string

Silinecek İş Zamanlamasının Kimliği.

options
JobScheduleDeleteMethodOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleDeleteResponse>

deleteMethod(string, JobScheduleDeleteMethodOptionalParams, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Silinecek İş Zamanlamasının Kimliği.

options
JobScheduleDeleteMethodOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

deleteMethod(string, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Silinecek İş Zamanlamasının Kimliği.

callback

ServiceCallback<void>

Geri çağırma

disable(string, JobScheduleDisableOptionalParams)

İş Zamanlaması yeniden etkinleştirilene kadar yeni İş oluşturulmaz.

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

Parametreler

jobScheduleId

string

Devre dışı bırakacak İş Zamanlamasının kimliği.

options
JobScheduleDisableOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleDisableResponse>

disable(string, JobScheduleDisableOptionalParams, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Devre dışı bırakacak İş Zamanlamasının kimliği.

options
JobScheduleDisableOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

disable(string, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Devre dışı bırakacak İş Zamanlamasının kimliği.

callback

ServiceCallback<void>

Geri çağırma

enable(string, JobScheduleEnableOptionalParams)

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

Parametreler

jobScheduleId

string

Etkinleştirileceği İş Zamanlamasının kimliği.

options
JobScheduleEnableOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleEnableResponse>

enable(string, JobScheduleEnableOptionalParams, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Etkinleştirileceği İş Zamanlamasının kimliği.

options
JobScheduleEnableOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

enable(string, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Etkinleştirileceği İş Zamanlamasının kimliği.

callback

ServiceCallback<void>

Geri çağırma

exists(string, JobScheduleExistsOptionalParams)

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

Parametreler

jobScheduleId

string

Denetlemek istediğiniz İş Zamanlamasının kimliği.

options
JobScheduleExistsOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleExistsResponse>

exists(string, JobScheduleExistsOptionalParams, ServiceCallback<boolean>)

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

Parametreler

jobScheduleId

string

Denetlemek istediğiniz İş Zamanlamasının kimliği.

options
JobScheduleExistsOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<boolean>

Geri çağırma

exists(string, ServiceCallback<boolean>)

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

Parametreler

jobScheduleId

string

Denetlemek istediğiniz İş Zamanlamasının kimliği.

callback

ServiceCallback<boolean>

Geri çağırma

get(string, JobScheduleGetOptionalParams)

Belirtilen İş Zamanlaması hakkında bilgi alır.

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

Parametreler

jobScheduleId

string

Alınacak İş Zamanlamasının kimliği.

options
JobScheduleGetOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleGetResponse>

get(string, JobScheduleGetOptionalParams, ServiceCallback<CloudJobSchedule>)

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

Parametreler

jobScheduleId

string

Alınacak İş Zamanlamasının kimliği.

options
JobScheduleGetOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<CloudJobSchedule>

Geri çağırma

get(string, ServiceCallback<CloudJobSchedule>)

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

Parametreler

jobScheduleId

string

Alınacak İş Zamanlamasının kimliği.

callback

ServiceCallback<CloudJobSchedule>

Geri çağırma

list(JobScheduleListOptionalParams)

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

Parametreler

options
JobScheduleListOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleListResponse>

list(JobScheduleListOptionalParams, ServiceCallback<CloudJobScheduleListResult>)

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

Parametreler

options
JobScheduleListOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<CloudJobScheduleListResult>

Geri çağırma

list(ServiceCallback<CloudJobScheduleListResult>)

function list(callback: ServiceCallback<CloudJobScheduleListResult>)

Parametreler

callback

ServiceCallback<CloudJobScheduleListResult>

Geri çağırma

listNext(string, JobScheduleListNextOptionalParams)

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

Parametreler

nextPageLink

string

Önceki başarılı List çağrısından NextLink işlemi.

options
JobScheduleListNextOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleListResponse>

listNext(string, JobScheduleListNextOptionalParams, ServiceCallback<CloudJobScheduleListResult>)

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

Parametreler

nextPageLink

string

Önceki başarılı List çağrısından NextLink işlemi.

options
JobScheduleListNextOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<CloudJobScheduleListResult>

Geri çağırma

listNext(string, ServiceCallback<CloudJobScheduleListResult>)

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

Parametreler

nextPageLink

string

Önceki başarılı List çağrısından NextLink işlemi.

callback

ServiceCallback<CloudJobScheduleListResult>

Geri çağırma

patch(string, JobSchedulePatchParameter, JobSchedulePatchOptionalParams)

Bu, yalnızca istekte belirtilen İş Zamanlaması özelliklerinin yerini alır. Örneğin, schedule özelliği bu istekle belirtilmezse Batch hizmeti mevcut zamanlamayı tutar. İş Zamanlaması'na yapılan değişiklikler yalnızca güncelleştirme gerçekleştikten sonra zamanlama tarafından oluşturulan işleri etkiler; şu anda çalışan İşler etkilenmez.

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

Parametreler

jobScheduleId

string

Güncelleştirilecek İş Zamanlamasının Kimliği.

jobSchedulePatchParameter
JobSchedulePatchParameter

İsteğin parametreleri.

options
JobSchedulePatchOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobSchedulePatchResponse>

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

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

Parametreler

jobScheduleId

string

Güncelleştirilecek İş Zamanlamasının Kimliği.

jobSchedulePatchParameter
JobSchedulePatchParameter

İsteğin parametreleri.

options
JobSchedulePatchOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

patch(string, JobSchedulePatchParameter, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Güncelleştirilecek İş Zamanlamasının Kimliği.

jobSchedulePatchParameter
JobSchedulePatchParameter

İsteğin parametreleri.

callback

ServiceCallback<void>

Geri çağırma

terminate(string, JobScheduleTerminateOptionalParams)

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

Parametreler

jobScheduleId

string

Sonlandıracak İş Zamanlamasının kimliği.

options
JobScheduleTerminateOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleTerminateResponse>

terminate(string, JobScheduleTerminateOptionalParams, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Sonlandıracak İş Zamanlamasının kimliği.

options
JobScheduleTerminateOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

terminate(string, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Sonlandıracak İş Zamanlamasının kimliği.

callback

ServiceCallback<void>

Geri çağırma

update(string, JobScheduleUpdateParameter, JobScheduleUpdateOptionalParams)

Bu, İş Zamanlaması'nın tüm güncelleştirilebilir özelliklerinin yerini alır. Örneğin, schedule özelliği bu istekle belirtilmezse Batch hizmeti mevcut zamanlamayı kaldırır. İş Zamanlaması'na yapılan değişiklikler yalnızca güncelleştirme gerçekleştikten sonra zamanlama tarafından oluşturulan işleri etkiler; şu anda çalışan İşler etkilenmez.

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

Parametreler

jobScheduleId

string

Güncelleştirilecek İş Zamanlamasının Kimliği.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

İsteğin parametreleri.

options
JobScheduleUpdateOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.JobScheduleUpdateResponse>

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

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

Parametreler

jobScheduleId

string

Güncelleştirilecek İş Zamanlamasının Kimliği.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

İsteğin parametreleri.

options
JobScheduleUpdateOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

update(string, JobScheduleUpdateParameter, ServiceCallback<void>)

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

Parametreler

jobScheduleId

string

Güncelleştirilecek İş Zamanlamasının Kimliği.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

İsteğin parametreleri.

callback

ServiceCallback<void>

Geri çağırma