Udostępnij za pośrednictwem


JobScheduleTerminateOptions Constructors

Definition

Overloads

JobScheduleTerminateOptions()

Initializes a new instance of the JobScheduleTerminateOptions class.

JobScheduleTerminateOptions(Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>)

Initializes a new instance of the JobScheduleTerminateOptions class.

JobScheduleTerminateOptions()

Source:
JobScheduleTerminateOptions.cs

Initializes a new instance of the JobScheduleTerminateOptions class.

public JobScheduleTerminateOptions ();
Public Sub New ()

Applies to

JobScheduleTerminateOptions(Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>)

Source:
JobScheduleTerminateOptions.cs

Initializes a new instance of the JobScheduleTerminateOptions class.

public JobScheduleTerminateOptions (int? timeout = default, Guid? clientRequestId = default, bool? returnClientRequestId = default, DateTime? ocpDate = default, string ifMatch = default, string ifNoneMatch = default, DateTime? ifModifiedSince = default, DateTime? ifUnmodifiedSince = default, bool? force = default);
new Microsoft.Azure.Batch.Protocol.Models.JobScheduleTerminateOptions : Nullable<int> * Nullable<Guid> * Nullable<bool> * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> -> Microsoft.Azure.Batch.Protocol.Models.JobScheduleTerminateOptions
Public Sub New (Optional timeout As Nullable(Of Integer) = Nothing, Optional clientRequestId As Nullable(Of Guid) = Nothing, Optional returnClientRequestId As Nullable(Of Boolean) = Nothing, Optional ocpDate As Nullable(Of DateTime) = Nothing, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional ifModifiedSince As Nullable(Of DateTime) = Nothing, Optional ifUnmodifiedSince As Nullable(Of DateTime) = Nothing, Optional force As Nullable(Of Boolean) = Nothing)

Parameters

timeout
Nullable<Int32>

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.

clientRequestId
Nullable<Guid>

The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

returnClientRequestId
Nullable<Boolean>

Whether the server should return the client-request-id in the response.

ocpDate
Nullable<DateTime>

The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

ifMatch
String

An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.

ifNoneMatch
String

An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.

ifModifiedSince
Nullable<DateTime>

A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.

ifUnmodifiedSince
Nullable<DateTime>

A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.

force
Nullable<Boolean>

If true, the server will terminate the JobSchedule even if the corresponding nodes have not fully processed the termination. The default value is false.

Applies to