JobScheduleOperationsExtensions.Disable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables a Job Schedule.
public static Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders Disable (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions jobScheduleDisableOptions = default);
static member Disable : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions -> Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders
<Extension()>
Public Function Disable (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleDisableOptions As JobScheduleDisableOptions = Nothing) As JobScheduleDisableHeaders
Parameters
- operations
- IJobScheduleOperations
The operations group for this extension method.
- jobScheduleId
- String
The ID of the Job Schedule to disable.
- jobScheduleDisableOptions
- JobScheduleDisableOptions
Additional parameters for the operation
Returns
Remarks
No new Jobs will be created until the Job Schedule is enabled again.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET