JobTerminateOptions Constructors

Definition

Overloads

JobTerminateOptions()

Initializes a new instance of the JobTerminateOptions class.

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

Initializes a new instance of the JobTerminateOptions class.

JobTerminateOptions()

Source:
JobTerminateOptions.cs

Initializes a new instance of the JobTerminateOptions class.

public JobTerminateOptions ();
Public Sub New ()

Applies to

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

Source:
JobTerminateOptions.cs

Initializes a new instance of the JobTerminateOptions class.

public JobTerminateOptions (int? timeout = default, Guid? clientRequestId = default, bool? returnClientRequestId = default, DateTime? ocpDate = default, string ifMatch = default, string ifNoneMatch = default, DateTime? ifModifiedSince = default, DateTime? ifUnmodifiedSince = default);
new Microsoft.Azure.Batch.Protocol.Models.JobTerminateOptions : Nullable<int> * Nullable<Guid> * Nullable<bool> * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Batch.Protocol.Models.JobTerminateOptions
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)

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.

Applies to