مشاركة عبر


JobSchedule class

فئة تمثل جدول الوظائف.

المنشئون

JobSchedule(BatchServiceClientContext)

إنشاء جدول مهام.

الأساليب

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)

إنشاء جدول مهام.

new JobSchedule(client: BatchServiceClientContext)

المعلمات

client
BatchServiceClientContext

الرجوع إلى عميل الخدمة.

تفاصيل الأسلوب

add(JobScheduleAddParameter, JobScheduleAddOptionalParams)

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

المعلمات

cloudJobSchedule
JobScheduleAddParameter

جدول الوظائف المراد إضافته.

options
JobScheduleAddOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<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

معرف جدول الوظائف المراد حذفه.

options
JobScheduleDeleteMethodOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleDeleteResponse>

deleteMethod(string, JobScheduleDeleteMethodOptionalParams, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد حذفه.

options
JobScheduleDeleteMethodOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<void>

رد الاتصال

deleteMethod(string, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد حذفه.

callback

ServiceCallback<void>

رد الاتصال

disable(string, JobScheduleDisableOptionalParams)

لن يتم إنشاء مهام جديدة حتى يتم تمكين جدول الوظائف مرة أخرى.

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تعطيله.

options
JobScheduleDisableOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleDisableResponse>

disable(string, JobScheduleDisableOptionalParams, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تعطيله.

options
JobScheduleDisableOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<void>

رد الاتصال

disable(string, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تعطيله.

callback

ServiceCallback<void>

رد الاتصال

enable(string, JobScheduleEnableOptionalParams)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تمكينه.

options
JobScheduleEnableOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleEnableResponse>

enable(string, JobScheduleEnableOptionalParams, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تمكينه.

options
JobScheduleEnableOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<void>

رد الاتصال

enable(string, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تمكينه.

callback

ServiceCallback<void>

رد الاتصال

exists(string, JobScheduleExistsOptionalParams)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف الذي تريد التحقق منه.

options
JobScheduleExistsOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleExistsResponse>

exists(string, JobScheduleExistsOptionalParams, ServiceCallback<boolean>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف الذي تريد التحقق منه.

options
JobScheduleExistsOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<boolean>

رد الاتصال

exists(string, ServiceCallback<boolean>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف الذي تريد التحقق منه.

callback

ServiceCallback<boolean>

رد الاتصال

get(string, JobScheduleGetOptionalParams)

الحصول على معلومات حول جدول الوظائف المحدد.

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف الذي يجب الحصول عليه.

options
JobScheduleGetOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleGetResponse>

get(string, JobScheduleGetOptionalParams, ServiceCallback<CloudJobSchedule>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف الذي يجب الحصول عليه.

options
JobScheduleGetOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<CloudJobSchedule>

رد الاتصال

get(string, ServiceCallback<CloudJobSchedule>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف الذي يجب الحصول عليه.

callback

ServiceCallback<CloudJobSchedule>

رد الاتصال

list(JobScheduleListOptionalParams)

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

المعلمات

options
JobScheduleListOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleListResponse>

list(JobScheduleListOptionalParams, ServiceCallback<CloudJobScheduleListResult>)

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

المعلمات

options
JobScheduleListOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<CloudJobScheduleListResult>

رد الاتصال

list(ServiceCallback<CloudJobScheduleListResult>)

function list(callback: ServiceCallback<CloudJobScheduleListResult>)

المعلمات

callback

ServiceCallback<CloudJobScheduleListResult>

رد الاتصال

listNext(string, JobScheduleListNextOptionalParams)

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

المعلمات

nextPageLink

string

NextLink من عملية الاستدعاء الناجحة السابقة إلى القائمة.

options
JobScheduleListNextOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleListResponse>

listNext(string, JobScheduleListNextOptionalParams, ServiceCallback<CloudJobScheduleListResult>)

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

المعلمات

nextPageLink

string

NextLink من عملية الاستدعاء الناجحة السابقة إلى القائمة.

options
JobScheduleListNextOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<CloudJobScheduleListResult>

رد الاتصال

listNext(string, ServiceCallback<CloudJobScheduleListResult>)

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

المعلمات

nextPageLink

string

NextLink من عملية الاستدعاء الناجحة السابقة إلى القائمة.

callback

ServiceCallback<CloudJobScheduleListResult>

رد الاتصال

patch(string, JobSchedulePatchParameter, JobSchedulePatchOptionalParams)

يؤدي ذلك إلى استبدال خصائص جدول الوظائف المحددة في الطلب فقط. على سبيل المثال، إذا لم يتم تحديد خاصية الجدول مع هذا الطلب، فستحتفظ خدمة Batch بالجدول الحالي. تؤثر التغييرات في جدول الوظائف فقط على الوظائف التي تم إنشاؤها بواسطة الجدول بعد إجراء التحديث؛ الوظائف قيد التشغيل حاليا غير متأثرة.

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تحديثه.

jobSchedulePatchParameter
JobSchedulePatchParameter

معلمات الطلب.

options
JobSchedulePatchOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobSchResponse>

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

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تحديثه.

jobSchedulePatchParameter
JobSchedulePatchParameter

معلمات الطلب.

options
JobSchedulePatchOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<void>

رد الاتصال

patch(string, JobSchedulePatchParameter, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تحديثه.

jobSchedulePatchParameter
JobSchedulePatchParameter

معلمات الطلب.

callback

ServiceCallback<void>

رد الاتصال

terminate(string, JobScheduleTerminateOptionalParams)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد إنهائه.

options
JobScheduleTerminateOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleTerminateResponse>

terminate(string, JobScheduleTerminateOptionalParams, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد إنهائه.

options
JobScheduleTerminateOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<void>

رد الاتصال

terminate(string, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد إنهائه.

callback

ServiceCallback<void>

رد الاتصال

update(string, JobScheduleUpdateParameter, JobScheduleUpdateOptionalParams)

يؤدي ذلك إلى استبدال كافة الخصائص القابلة للتحديث في جدول الوظائف بشكل كامل. على سبيل المثال، إذا لم يتم تحديد خاصية الجدول مع هذا الطلب، فستزيل خدمة Batch الجدول الحالي. تؤثر التغييرات في جدول الوظائف فقط على الوظائف التي تم إنشاؤها بواسطة الجدول بعد إجراء التحديث؛ الوظائف قيد التشغيل حاليا غير متأثرة.

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تحديثه.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

معلمات الطلب.

options
JobScheduleUpdateOptionalParams

المعلمات الاختيارية

المرتجعات

وعد<Models.JobScheduleUpdateResponse>

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

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تحديثه.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

معلمات الطلب.

options
JobScheduleUpdateOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<void>

رد الاتصال

update(string, JobScheduleUpdateParameter, ServiceCallback<void>)

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

المعلمات

jobScheduleId

string

معرف جدول الوظائف المراد تحديثه.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

معلمات الطلب.

callback

ServiceCallback<void>

رد الاتصال