JobScheduleOperations Class
- java.
lang. Object - com.
microsoft. azure. batch. JobScheduleOperations
- com.
Implements
public class JobScheduleOperations
implements IInheritedBehaviors
Performs job schedule-related operations on an Azure Batch account.
Method Summary
Methods inherited from java.lang.Object
Method Details
createJobSchedule
public void createJobSchedule(JobScheduleAddParameter jobSchedule)
Adds a job schedule to the Batch account.
Parameters:
Throws:
createJobSchedule
public void createJobSchedule(JobScheduleAddParameter jobSchedule, Iterable
Adds a job schedule to the Batch account.
Parameters:
Throws:
createJobSchedule
public void createJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification)
Adds a job schedule to the Batch account.
Parameters:
Throws:
createJobSchedule
public void createJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification, Iterable
Adds a job schedule to the Batch account.
Parameters:
Throws:
customBehaviors
public Collection
Gets a collection of behaviors that modify or customize requests to the Batch service.
Returns:
deleteJobSchedule
public void deleteJobSchedule(String jobScheduleId)
Deletes the specified job schedule.
Parameters:
Throws:
deleteJobSchedule
public void deleteJobSchedule(String jobScheduleId, Iterable
Deletes the specified job schedule.
Parameters:
Throws:
disableJobSchedule
public void disableJobSchedule(String jobScheduleId)
Disables the specified job schedule. Disabled schedules do not create new jobs, but may be re-enabled later.
Parameters:
Throws:
disableJobSchedule
public void disableJobSchedule(String jobScheduleId, Iterable
Disables the specified job schedule. Disabled schedules do not create new jobs, but may be re-enabled later.
Parameters:
Throws:
enableJobSchedule
public void enableJobSchedule(String jobScheduleId)
Enables the specified job schedule, allowing jobs to be created according to its Schedule.
Parameters:
Throws:
enableJobSchedule
public void enableJobSchedule(String jobScheduleId, Iterable
Enables the specified job schedule, allowing jobs to be created according to its Schedule.
Parameters:
Throws:
existsJobSchedule
public boolean existsJobSchedule(String jobScheduleId)
Checks whether the specified job schedule exists.
Parameters:
Returns:
Throws:
existsJobSchedule
public boolean existsJobSchedule(String jobScheduleId, Iterable
Checks whether the specified job schedule exists.
Parameters:
Returns:
Throws:
getJobSchedule
public CloudJobSchedule getJobSchedule(String jobScheduleId)
Gets the specified CloudJobSchedule.
Parameters:
Returns:
Throws:
getJobSchedule
public CloudJobSchedule getJobSchedule(String jobScheduleId, DetailLevel detailLevel)
Gets the specified CloudJobSchedule.
Parameters:
Returns:
Throws:
getJobSchedule
public CloudJobSchedule getJobSchedule(String jobScheduleId, DetailLevel detailLevel, Iterable
Gets the specified CloudJobSchedule.
Parameters:
Returns:
Throws:
listJobSchedules
public PagedList
Lists the CloudJobSchedule in the Batch account.
Returns:
Throws:
listJobSchedules
public PagedList
Lists the CloudJobSchedule in the Batch account.
Parameters:
Returns:
Throws:
listJobSchedules
public PagedList
Lists the CloudJobSchedule in the Batch account.
Parameters:
Returns:
Throws:
patchJobSchedule
public void patchJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification)
Updates the specified job schedule. This method only replaces the properties specified with non-null values.
Parameters:
Throws:
patchJobSchedule
public void patchJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification, List
Updates the specified job schedule. This method only replaces the properties specified with non-null values.
Parameters:
Throws:
patchJobSchedule
public void patchJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification, List
Updates the specified job schedule. This method only replaces the properties specified with non-null values.
Parameters:
Throws:
terminateJobSchedule
public void terminateJobSchedule(String jobScheduleId)
Terminates the specified job schedule.
Parameters:
Throws:
terminateJobSchedule
public void terminateJobSchedule(String jobScheduleId, Iterable
Terminates the specified job schedule.
Parameters:
Throws:
updateJobSchedule
public void updateJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification)
Updates the specified job schedule. This method performs a full replace of all the updatable properties of the job schedule. For example, if the schedule parameter is null, then the Batch service removes the job schedule\u2019s existing schedule and replaces it with the default schedule.
Parameters:
Throws:
updateJobSchedule
public void updateJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification, List
Updates the specified job schedule. This method performs a full replace of all the updatable properties of the job schedule. For example, if the schedule parameter is null, then the Batch service removes the job schedule\u2019s existing schedule and replaces it with the default schedule.
Parameters:
Throws:
updateJobSchedule
public void updateJobSchedule(String jobScheduleId, Schedule schedule, JobSpecification jobSpecification, List
Updates the specified job schedule. This method performs a full replace of all the updatable properties of the job schedule. For example, if the schedule parameter is null, then the Batch service removes the job schedule\u2019s existing schedule and replaces it with the default schedule.
Parameters:
Throws:
withCustomBehaviors
public IInheritedBehaviors withCustomBehaviors(Collection
Sets a collection of behaviors that modify or customize requests to the Batch service.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for