Condividi tramite


TaskAddOptions Class

Definition

Additional parameters for Add operation.

public class TaskAddOptions : Microsoft.Azure.Batch.Protocol.Models.ITimeoutOptions
type TaskAddOptions = class
    interface ITimeoutOptions
    interface IOptions
Public Class TaskAddOptions
Implements ITimeoutOptions
Inheritance
TaskAddOptions
Implements

Constructors

TaskAddOptions()

Initializes a new instance of the TaskAddOptions class.

TaskAddOptions(Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>)

Initializes a new instance of the TaskAddOptions class.

Properties

ClientRequestId

Gets or sets 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.

OcpDate

Gets or sets 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.

ReturnClientRequestId

Gets or sets whether the server should return the client-request-id in the response.

Timeout

Gets or sets 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.

Applies to