ComputeBatchModelFactory.BatchJobTerminateOptions(String) 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.
Parameters for terminating an Azure Batch Job.
public static Azure.Compute.Batch.BatchJobTerminateOptions BatchJobTerminateOptions(string terminationReason = default);
static member BatchJobTerminateOptions : string -> Azure.Compute.Batch.BatchJobTerminateOptions
Public Shared Function BatchJobTerminateOptions (Optional terminationReason As String = Nothing) As BatchJobTerminateOptions
Parameters
- terminationReason
- String
The text you want to appear as the Job's TerminationReason. The default is 'UserTerminate'.
Returns
A new BatchJobTerminateOptions instance for mocking.