tasks

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for tasks API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new tasks API client.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) TaskAdd

func (a *Client) TaskAdd(params *TaskAddParams) (*TaskAddCreated, error)

TaskAdd adds a task to the specified job

func (*Client) TaskAddCollection

func (a *Client) TaskAddCollection(params *TaskAddCollectionParams) (*TaskAddCollectionOK, error)

TaskAddCollection adds a collection of tasks to the specified job

Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.

func (*Client) TaskDelete

func (a *Client) TaskDelete(params *TaskDeleteParams) (*TaskDeleteOK, error)

TaskDelete deletes a task from the specified job

When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.

func (*Client) TaskGet

func (a *Client) TaskGet(params *TaskGetParams) (*TaskGetOK, error)

TaskGet gets information about the specified task

For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.

func (*Client) TaskList

func (a *Client) TaskList(params *TaskListParams) (*TaskListOK, error)

TaskList lists all of the tasks that are associated with the specified job

For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.

func (*Client) TaskListSubtasks

func (a *Client) TaskListSubtasks(params *TaskListSubtasksParams) (*TaskListSubtasksOK, error)

TaskListSubtasks lists all of the subtasks that are associated with the specified multi instance task

If the task is not a multi-instance task then this returns an empty collection.

func (*Client) TaskReactivate

func (a *Client) TaskReactivate(params *TaskReactivateParams) (*TaskReactivateNoContent, error)

TaskReactivate reactivates the specified task

Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).

func (*Client) TaskTerminate

func (a *Client) TaskTerminate(params *TaskTerminateParams) (*TaskTerminateNoContent, error)

TaskTerminate terminates the specified task

When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.

func (*Client) TaskUpdate

func (a *Client) TaskUpdate(params *TaskUpdateParams) (*TaskUpdateOK, error)

TaskUpdate Updates the properties of the specified task.

type TaskAddCollectionDefault

type TaskAddCollectionDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskAddCollectionDefault handles this case with default header values.

Unexpected error

func NewTaskAddCollectionDefault

func NewTaskAddCollectionDefault(code int) *TaskAddCollectionDefault

NewTaskAddCollectionDefault creates a TaskAddCollectionDefault with default headers values

func (*TaskAddCollectionDefault) Code

func (o *TaskAddCollectionDefault) Code() int

Code gets the status code for the task add collection default response

func (*TaskAddCollectionDefault) Error

func (o *TaskAddCollectionDefault) Error() string

type TaskAddCollectionOK

type TaskAddCollectionOK struct {
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload *models.TaskAddCollectionResult
}

TaskAddCollectionOK handles this case with default header values.

A response containing the results of the add task collection operation.

func NewTaskAddCollectionOK

func NewTaskAddCollectionOK() *TaskAddCollectionOK

NewTaskAddCollectionOK creates a TaskAddCollectionOK with default headers values

func (*TaskAddCollectionOK) Error

func (o *TaskAddCollectionOK) Error() string

type TaskAddCollectionParams

type TaskAddCollectionParams struct {

	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job to which the task collection is to be added.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskCollection
	  The tasks to be added.

	*/
	TaskCollection *models.TaskAddCollectionParameter
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskAddCollectionParams contains all the parameters to send to the API endpoint for the task add collection operation typically these are written to a http.Request

func NewTaskAddCollectionParams

func NewTaskAddCollectionParams() *TaskAddCollectionParams

NewTaskAddCollectionParams creates a new TaskAddCollectionParams object with the default values initialized.

func NewTaskAddCollectionParamsWithContext

func NewTaskAddCollectionParamsWithContext(ctx context.Context) *TaskAddCollectionParams

NewTaskAddCollectionParamsWithContext creates a new TaskAddCollectionParams object with the default values initialized, and the ability to set a context for a request

func NewTaskAddCollectionParamsWithTimeout

func NewTaskAddCollectionParamsWithTimeout(timeout time.Duration) *TaskAddCollectionParams

NewTaskAddCollectionParamsWithTimeout creates a new TaskAddCollectionParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskAddCollectionParams) SetAPIVersion

func (o *TaskAddCollectionParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task add collection params

func (*TaskAddCollectionParams) SetClientRequestID

func (o *TaskAddCollectionParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task add collection params

func (*TaskAddCollectionParams) SetContext

func (o *TaskAddCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the task add collection params

func (*TaskAddCollectionParams) SetJobID

func (o *TaskAddCollectionParams) SetJobID(jobID string)

SetJobID adds the jobId to the task add collection params

func (*TaskAddCollectionParams) SetOcpDate

func (o *TaskAddCollectionParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task add collection params

func (*TaskAddCollectionParams) SetRequestTimeout

func (o *TaskAddCollectionParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task add collection params

func (*TaskAddCollectionParams) SetReturnClientRequestID

func (o *TaskAddCollectionParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task add collection params

func (*TaskAddCollectionParams) SetTaskCollection

func (o *TaskAddCollectionParams) SetTaskCollection(taskCollection *models.TaskAddCollectionParameter)

SetTaskCollection adds the taskCollection to the task add collection params

func (*TaskAddCollectionParams) SetTimeout

func (o *TaskAddCollectionParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task add collection params

func (*TaskAddCollectionParams) WithAPIVersion

func (o *TaskAddCollectionParams) WithAPIVersion(aPIVersion string) *TaskAddCollectionParams

WithAPIVersion adds the aPIVersion to the task add collection params

func (*TaskAddCollectionParams) WithClientRequestID

func (o *TaskAddCollectionParams) WithClientRequestID(clientRequestID *string) *TaskAddCollectionParams

WithClientRequestID adds the clientRequestID to the task add collection params

func (*TaskAddCollectionParams) WithContext

WithContext adds the context to the task add collection params

func (*TaskAddCollectionParams) WithJobID

WithJobID adds the jobID to the task add collection params

func (*TaskAddCollectionParams) WithOcpDate

func (o *TaskAddCollectionParams) WithOcpDate(ocpDate *string) *TaskAddCollectionParams

WithOcpDate adds the ocpDate to the task add collection params

func (*TaskAddCollectionParams) WithRequestTimeout

func (o *TaskAddCollectionParams) WithRequestTimeout(timeout time.Duration) *TaskAddCollectionParams

WithRequestTimeout adds the timeout to the task add collection params

func (*TaskAddCollectionParams) WithReturnClientRequestID

func (o *TaskAddCollectionParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskAddCollectionParams

WithReturnClientRequestID adds the returnClientRequestID to the task add collection params

func (*TaskAddCollectionParams) WithTaskCollection

func (o *TaskAddCollectionParams) WithTaskCollection(taskCollection *models.TaskAddCollectionParameter) *TaskAddCollectionParams

WithTaskCollection adds the taskCollection to the task add collection params

func (*TaskAddCollectionParams) WithTimeout

func (o *TaskAddCollectionParams) WithTimeout(timeout *int32) *TaskAddCollectionParams

WithTimeout adds the timeout to the task add collection params

func (*TaskAddCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TaskAddCollectionReader

type TaskAddCollectionReader struct {
	// contains filtered or unexported fields
}

TaskAddCollectionReader is a Reader for the TaskAddCollection structure.

func (*TaskAddCollectionReader) ReadResponse

func (o *TaskAddCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskAddCreated

type TaskAddCreated struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

TaskAddCreated handles this case with default header values.

The request to the Batch service was successful.

func NewTaskAddCreated

func NewTaskAddCreated() *TaskAddCreated

NewTaskAddCreated creates a TaskAddCreated with default headers values

func (*TaskAddCreated) Error

func (o *TaskAddCreated) Error() string

type TaskAddDefault

type TaskAddDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskAddDefault handles this case with default header values.

The error from the Batch service.

func NewTaskAddDefault

func NewTaskAddDefault(code int) *TaskAddDefault

NewTaskAddDefault creates a TaskAddDefault with default headers values

func (*TaskAddDefault) Code

func (o *TaskAddDefault) Code() int

Code gets the status code for the task add default response

func (*TaskAddDefault) Error

func (o *TaskAddDefault) Error() string

type TaskAddParams

type TaskAddParams struct {

	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job to which the task is to be added.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*Task
	  The task to be added.

	*/
	Task *models.TaskAddParameter
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskAddParams contains all the parameters to send to the API endpoint for the task add operation typically these are written to a http.Request

func NewTaskAddParams

func NewTaskAddParams() *TaskAddParams

NewTaskAddParams creates a new TaskAddParams object with the default values initialized.

func NewTaskAddParamsWithContext

func NewTaskAddParamsWithContext(ctx context.Context) *TaskAddParams

NewTaskAddParamsWithContext creates a new TaskAddParams object with the default values initialized, and the ability to set a context for a request

func NewTaskAddParamsWithTimeout

func NewTaskAddParamsWithTimeout(timeout time.Duration) *TaskAddParams

NewTaskAddParamsWithTimeout creates a new TaskAddParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskAddParams) SetAPIVersion

func (o *TaskAddParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task add params

func (*TaskAddParams) SetClientRequestID

func (o *TaskAddParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task add params

func (*TaskAddParams) SetContext

func (o *TaskAddParams) SetContext(ctx context.Context)

SetContext adds the context to the task add params

func (*TaskAddParams) SetJobID

func (o *TaskAddParams) SetJobID(jobID string)

SetJobID adds the jobId to the task add params

func (*TaskAddParams) SetOcpDate

func (o *TaskAddParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task add params

func (*TaskAddParams) SetRequestTimeout

func (o *TaskAddParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task add params

func (*TaskAddParams) SetReturnClientRequestID

func (o *TaskAddParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task add params

func (*TaskAddParams) SetTask

func (o *TaskAddParams) SetTask(task *models.TaskAddParameter)

SetTask adds the task to the task add params

func (*TaskAddParams) SetTimeout

func (o *TaskAddParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task add params

func (*TaskAddParams) WithAPIVersion

func (o *TaskAddParams) WithAPIVersion(aPIVersion string) *TaskAddParams

WithAPIVersion adds the aPIVersion to the task add params

func (*TaskAddParams) WithClientRequestID

func (o *TaskAddParams) WithClientRequestID(clientRequestID *string) *TaskAddParams

WithClientRequestID adds the clientRequestID to the task add params

func (*TaskAddParams) WithContext

func (o *TaskAddParams) WithContext(ctx context.Context) *TaskAddParams

WithContext adds the context to the task add params

func (*TaskAddParams) WithJobID

func (o *TaskAddParams) WithJobID(jobID string) *TaskAddParams

WithJobID adds the jobID to the task add params

func (*TaskAddParams) WithOcpDate

func (o *TaskAddParams) WithOcpDate(ocpDate *string) *TaskAddParams

WithOcpDate adds the ocpDate to the task add params

func (*TaskAddParams) WithRequestTimeout

func (o *TaskAddParams) WithRequestTimeout(timeout time.Duration) *TaskAddParams

WithRequestTimeout adds the timeout to the task add params

func (*TaskAddParams) WithReturnClientRequestID

func (o *TaskAddParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskAddParams

WithReturnClientRequestID adds the returnClientRequestID to the task add params

func (*TaskAddParams) WithTask

func (o *TaskAddParams) WithTask(task *models.TaskAddParameter) *TaskAddParams

WithTask adds the task to the task add params

func (*TaskAddParams) WithTimeout

func (o *TaskAddParams) WithTimeout(timeout *int32) *TaskAddParams

WithTimeout adds the timeout to the task add params

func (*TaskAddParams) WriteToRequest

func (o *TaskAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TaskAddReader

type TaskAddReader struct {
	// contains filtered or unexported fields
}

TaskAddReader is a Reader for the TaskAdd structure.

func (*TaskAddReader) ReadResponse

func (o *TaskAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskDeleteDefault

type TaskDeleteDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskDeleteDefault handles this case with default header values.

The error from the Batch service.

func NewTaskDeleteDefault

func NewTaskDeleteDefault(code int) *TaskDeleteDefault

NewTaskDeleteDefault creates a TaskDeleteDefault with default headers values

func (*TaskDeleteDefault) Code

func (o *TaskDeleteDefault) Code() int

Code gets the status code for the task delete default response

func (*TaskDeleteDefault) Error

func (o *TaskDeleteDefault) Error() string

type TaskDeleteOK

type TaskDeleteOK struct {
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

TaskDeleteOK handles this case with default header values.

The request to the Batch service was successful.

func NewTaskDeleteOK

func NewTaskDeleteOK() *TaskDeleteOK

NewTaskDeleteOK creates a TaskDeleteOK with default headers values

func (*TaskDeleteOK) Error

func (o *TaskDeleteOK) Error() string

type TaskDeleteParams

type TaskDeleteParams struct {

	/*IfMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified.

	*/
	IfMatch *string
	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfNoneMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag.

	*/
	IfNoneMatch *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job from which to delete the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task to delete.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskDeleteParams contains all the parameters to send to the API endpoint for the task delete operation typically these are written to a http.Request

func NewTaskDeleteParams

func NewTaskDeleteParams() *TaskDeleteParams

NewTaskDeleteParams creates a new TaskDeleteParams object with the default values initialized.

func NewTaskDeleteParamsWithContext

func NewTaskDeleteParamsWithContext(ctx context.Context) *TaskDeleteParams

NewTaskDeleteParamsWithContext creates a new TaskDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewTaskDeleteParamsWithTimeout

func NewTaskDeleteParamsWithTimeout(timeout time.Duration) *TaskDeleteParams

NewTaskDeleteParamsWithTimeout creates a new TaskDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskDeleteParams) SetAPIVersion

func (o *TaskDeleteParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task delete params

func (*TaskDeleteParams) SetClientRequestID

func (o *TaskDeleteParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task delete params

func (*TaskDeleteParams) SetContext

func (o *TaskDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the task delete params

func (*TaskDeleteParams) SetIfMatch

func (o *TaskDeleteParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the task delete params

func (*TaskDeleteParams) SetIfModifiedSince

func (o *TaskDeleteParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the task delete params

func (*TaskDeleteParams) SetIfNoneMatch

func (o *TaskDeleteParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the task delete params

func (*TaskDeleteParams) SetIfUnmodifiedSince

func (o *TaskDeleteParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the task delete params

func (*TaskDeleteParams) SetJobID

func (o *TaskDeleteParams) SetJobID(jobID string)

SetJobID adds the jobId to the task delete params

func (*TaskDeleteParams) SetOcpDate

func (o *TaskDeleteParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task delete params

func (*TaskDeleteParams) SetRequestTimeout

func (o *TaskDeleteParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task delete params

func (*TaskDeleteParams) SetReturnClientRequestID

func (o *TaskDeleteParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task delete params

func (*TaskDeleteParams) SetTaskID

func (o *TaskDeleteParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the task delete params

func (*TaskDeleteParams) SetTimeout

func (o *TaskDeleteParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task delete params

func (*TaskDeleteParams) WithAPIVersion

func (o *TaskDeleteParams) WithAPIVersion(aPIVersion string) *TaskDeleteParams

WithAPIVersion adds the aPIVersion to the task delete params

func (*TaskDeleteParams) WithClientRequestID

func (o *TaskDeleteParams) WithClientRequestID(clientRequestID *string) *TaskDeleteParams

WithClientRequestID adds the clientRequestID to the task delete params

func (*TaskDeleteParams) WithContext

func (o *TaskDeleteParams) WithContext(ctx context.Context) *TaskDeleteParams

WithContext adds the context to the task delete params

func (*TaskDeleteParams) WithIfMatch

func (o *TaskDeleteParams) WithIfMatch(ifMatch *string) *TaskDeleteParams

WithIfMatch adds the ifMatch to the task delete params

func (*TaskDeleteParams) WithIfModifiedSince

func (o *TaskDeleteParams) WithIfModifiedSince(ifModifiedSince *string) *TaskDeleteParams

WithIfModifiedSince adds the ifModifiedSince to the task delete params

func (*TaskDeleteParams) WithIfNoneMatch

func (o *TaskDeleteParams) WithIfNoneMatch(ifNoneMatch *string) *TaskDeleteParams

WithIfNoneMatch adds the ifNoneMatch to the task delete params

func (*TaskDeleteParams) WithIfUnmodifiedSince

func (o *TaskDeleteParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *TaskDeleteParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the task delete params

func (*TaskDeleteParams) WithJobID

func (o *TaskDeleteParams) WithJobID(jobID string) *TaskDeleteParams

WithJobID adds the jobID to the task delete params

func (*TaskDeleteParams) WithOcpDate

func (o *TaskDeleteParams) WithOcpDate(ocpDate *string) *TaskDeleteParams

WithOcpDate adds the ocpDate to the task delete params

func (*TaskDeleteParams) WithRequestTimeout

func (o *TaskDeleteParams) WithRequestTimeout(timeout time.Duration) *TaskDeleteParams

WithRequestTimeout adds the timeout to the task delete params

func (*TaskDeleteParams) WithReturnClientRequestID

func (o *TaskDeleteParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskDeleteParams

WithReturnClientRequestID adds the returnClientRequestID to the task delete params

func (*TaskDeleteParams) WithTaskID

func (o *TaskDeleteParams) WithTaskID(taskID string) *TaskDeleteParams

WithTaskID adds the taskID to the task delete params

func (*TaskDeleteParams) WithTimeout

func (o *TaskDeleteParams) WithTimeout(timeout *int32) *TaskDeleteParams

WithTimeout adds the timeout to the task delete params

func (*TaskDeleteParams) WriteToRequest

func (o *TaskDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TaskDeleteReader

type TaskDeleteReader struct {
	// contains filtered or unexported fields
}

TaskDeleteReader is a Reader for the TaskDelete structure.

func (*TaskDeleteReader) ReadResponse

func (o *TaskDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskGetDefault

type TaskGetDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskGetDefault handles this case with default header values.

The error from the Batch service.

func NewTaskGetDefault

func NewTaskGetDefault(code int) *TaskGetDefault

NewTaskGetDefault creates a TaskGetDefault with default headers values

func (*TaskGetDefault) Code

func (o *TaskGetDefault) Code() int

Code gets the status code for the task get default response

func (*TaskGetDefault) Error

func (o *TaskGetDefault) Error() string

type TaskGetOK

type TaskGetOK struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload *models.CloudTask
}

TaskGetOK handles this case with default header values.

A response containing the task.

func NewTaskGetOK

func NewTaskGetOK() *TaskGetOK

NewTaskGetOK creates a TaskGetOK with default headers values

func (*TaskGetOK) Error

func (o *TaskGetOK) Error() string

type TaskGetParams

type TaskGetParams struct {

	/*NrDollarExpand
	  An OData $expand clause.

	*/
	DollarExpand *string
	/*NrDollarSelect
	  An OData $select clause.

	*/
	DollarSelect *string
	/*IfMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified.

	*/
	IfMatch *string
	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfNoneMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag.

	*/
	IfNoneMatch *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job that contains the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task to get information about.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskGetParams contains all the parameters to send to the API endpoint for the task get operation typically these are written to a http.Request

func NewTaskGetParams

func NewTaskGetParams() *TaskGetParams

NewTaskGetParams creates a new TaskGetParams object with the default values initialized.

func NewTaskGetParamsWithContext

func NewTaskGetParamsWithContext(ctx context.Context) *TaskGetParams

NewTaskGetParamsWithContext creates a new TaskGetParams object with the default values initialized, and the ability to set a context for a request

func NewTaskGetParamsWithTimeout

func NewTaskGetParamsWithTimeout(timeout time.Duration) *TaskGetParams

NewTaskGetParamsWithTimeout creates a new TaskGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskGetParams) SetAPIVersion

func (o *TaskGetParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task get params

func (*TaskGetParams) SetClientRequestID

func (o *TaskGetParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task get params

func (*TaskGetParams) SetContext

func (o *TaskGetParams) SetContext(ctx context.Context)

SetContext adds the context to the task get params

func (*TaskGetParams) SetDollarExpand

func (o *TaskGetParams) SetDollarExpand(dollarExpand *string)

SetDollarExpand adds the dollarExpand to the task get params

func (*TaskGetParams) SetDollarSelect

func (o *TaskGetParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the task get params

func (*TaskGetParams) SetIfMatch

func (o *TaskGetParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the task get params

func (*TaskGetParams) SetIfModifiedSince

func (o *TaskGetParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the task get params

func (*TaskGetParams) SetIfNoneMatch

func (o *TaskGetParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the task get params

func (*TaskGetParams) SetIfUnmodifiedSince

func (o *TaskGetParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the task get params

func (*TaskGetParams) SetJobID

func (o *TaskGetParams) SetJobID(jobID string)

SetJobID adds the jobId to the task get params

func (*TaskGetParams) SetOcpDate

func (o *TaskGetParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task get params

func (*TaskGetParams) SetRequestTimeout

func (o *TaskGetParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task get params

func (*TaskGetParams) SetReturnClientRequestID

func (o *TaskGetParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task get params

func (*TaskGetParams) SetTaskID

func (o *TaskGetParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the task get params

func (*TaskGetParams) SetTimeout

func (o *TaskGetParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task get params

func (*TaskGetParams) WithAPIVersion

func (o *TaskGetParams) WithAPIVersion(aPIVersion string) *TaskGetParams

WithAPIVersion adds the aPIVersion to the task get params

func (*TaskGetParams) WithClientRequestID

func (o *TaskGetParams) WithClientRequestID(clientRequestID *string) *TaskGetParams

WithClientRequestID adds the clientRequestID to the task get params

func (*TaskGetParams) WithContext

func (o *TaskGetParams) WithContext(ctx context.Context) *TaskGetParams

WithContext adds the context to the task get params

func (*TaskGetParams) WithDollarExpand

func (o *TaskGetParams) WithDollarExpand(dollarExpand *string) *TaskGetParams

WithDollarExpand adds the dollarExpand to the task get params

func (*TaskGetParams) WithDollarSelect

func (o *TaskGetParams) WithDollarSelect(dollarSelect *string) *TaskGetParams

WithDollarSelect adds the dollarSelect to the task get params

func (*TaskGetParams) WithIfMatch

func (o *TaskGetParams) WithIfMatch(ifMatch *string) *TaskGetParams

WithIfMatch adds the ifMatch to the task get params

func (*TaskGetParams) WithIfModifiedSince

func (o *TaskGetParams) WithIfModifiedSince(ifModifiedSince *string) *TaskGetParams

WithIfModifiedSince adds the ifModifiedSince to the task get params

func (*TaskGetParams) WithIfNoneMatch

func (o *TaskGetParams) WithIfNoneMatch(ifNoneMatch *string) *TaskGetParams

WithIfNoneMatch adds the ifNoneMatch to the task get params

func (*TaskGetParams) WithIfUnmodifiedSince

func (o *TaskGetParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *TaskGetParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the task get params

func (*TaskGetParams) WithJobID

func (o *TaskGetParams) WithJobID(jobID string) *TaskGetParams

WithJobID adds the jobID to the task get params

func (*TaskGetParams) WithOcpDate

func (o *TaskGetParams) WithOcpDate(ocpDate *string) *TaskGetParams

WithOcpDate adds the ocpDate to the task get params

func (*TaskGetParams) WithRequestTimeout

func (o *TaskGetParams) WithRequestTimeout(timeout time.Duration) *TaskGetParams

WithRequestTimeout adds the timeout to the task get params

func (*TaskGetParams) WithReturnClientRequestID

func (o *TaskGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskGetParams

WithReturnClientRequestID adds the returnClientRequestID to the task get params

func (*TaskGetParams) WithTaskID

func (o *TaskGetParams) WithTaskID(taskID string) *TaskGetParams

WithTaskID adds the taskID to the task get params

func (*TaskGetParams) WithTimeout

func (o *TaskGetParams) WithTimeout(timeout *int32) *TaskGetParams

WithTimeout adds the timeout to the task get params

func (*TaskGetParams) WriteToRequest

func (o *TaskGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TaskGetReader

type TaskGetReader struct {
	// contains filtered or unexported fields
}

TaskGetReader is a Reader for the TaskGet structure.

func (*TaskGetReader) ReadResponse

func (o *TaskGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskListDefault

type TaskListDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskListDefault handles this case with default header values.

The error from the Batch service.

func NewTaskListDefault

func NewTaskListDefault(code int) *TaskListDefault

NewTaskListDefault creates a TaskListDefault with default headers values

func (*TaskListDefault) Code

func (o *TaskListDefault) Code() int

Code gets the status code for the task list default response

func (*TaskListDefault) Error

func (o *TaskListDefault) Error() string

type TaskListOK

type TaskListOK struct {
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload *models.CloudTaskListResult
}

TaskListOK handles this case with default header values.

A response containing the list of tasks.

func NewTaskListOK

func NewTaskListOK() *TaskListOK

NewTaskListOK creates a TaskListOK with default headers values

func (*TaskListOK) Error

func (o *TaskListOK) Error() string

type TaskListParams

type TaskListParams struct {

	/*NrDollarExpand
	  An OData $expand clause.

	*/
	DollarExpand *string
	/*NrDollarFilter
	  An OData $filter clause.

	*/
	DollarFilter *string
	/*NrDollarSelect
	  An OData $select clause.

	*/
	DollarSelect *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job.

	*/
	JobID string
	/*Maxresults
	  The maximum number of items to return in the response. A maximum of 1000 tasks can be returned.

	*/
	Maxresults *int32
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskListParams contains all the parameters to send to the API endpoint for the task list operation typically these are written to a http.Request

func NewTaskListParams

func NewTaskListParams() *TaskListParams

NewTaskListParams creates a new TaskListParams object with the default values initialized.

func NewTaskListParamsWithContext

func NewTaskListParamsWithContext(ctx context.Context) *TaskListParams

NewTaskListParamsWithContext creates a new TaskListParams object with the default values initialized, and the ability to set a context for a request

func NewTaskListParamsWithTimeout

func NewTaskListParamsWithTimeout(timeout time.Duration) *TaskListParams

NewTaskListParamsWithTimeout creates a new TaskListParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskListParams) SetAPIVersion

func (o *TaskListParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task list params

func (*TaskListParams) SetClientRequestID

func (o *TaskListParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task list params

func (*TaskListParams) SetContext

func (o *TaskListParams) SetContext(ctx context.Context)

SetContext adds the context to the task list params

func (*TaskListParams) SetDollarExpand

func (o *TaskListParams) SetDollarExpand(dollarExpand *string)

SetDollarExpand adds the dollarExpand to the task list params

func (*TaskListParams) SetDollarFilter

func (o *TaskListParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the task list params

func (*TaskListParams) SetDollarSelect

func (o *TaskListParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the task list params

func (*TaskListParams) SetJobID

func (o *TaskListParams) SetJobID(jobID string)

SetJobID adds the jobId to the task list params

func (*TaskListParams) SetMaxresults

func (o *TaskListParams) SetMaxresults(maxresults *int32)

SetMaxresults adds the maxresults to the task list params

func (*TaskListParams) SetOcpDate

func (o *TaskListParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task list params

func (*TaskListParams) SetRequestTimeout

func (o *TaskListParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task list params

func (*TaskListParams) SetReturnClientRequestID

func (o *TaskListParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task list params

func (*TaskListParams) SetTimeout

func (o *TaskListParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task list params

func (*TaskListParams) WithAPIVersion

func (o *TaskListParams) WithAPIVersion(aPIVersion string) *TaskListParams

WithAPIVersion adds the aPIVersion to the task list params

func (*TaskListParams) WithClientRequestID

func (o *TaskListParams) WithClientRequestID(clientRequestID *string) *TaskListParams

WithClientRequestID adds the clientRequestID to the task list params

func (*TaskListParams) WithContext

func (o *TaskListParams) WithContext(ctx context.Context) *TaskListParams

WithContext adds the context to the task list params

func (*TaskListParams) WithDollarExpand

func (o *TaskListParams) WithDollarExpand(dollarExpand *string) *TaskListParams

WithDollarExpand adds the dollarExpand to the task list params

func (*TaskListParams) WithDollarFilter

func (o *TaskListParams) WithDollarFilter(dollarFilter *string) *TaskListParams

WithDollarFilter adds the dollarFilter to the task list params

func (*TaskListParams) WithDollarSelect

func (o *TaskListParams) WithDollarSelect(dollarSelect *string) *TaskListParams

WithDollarSelect adds the dollarSelect to the task list params

func (*TaskListParams) WithJobID

func (o *TaskListParams) WithJobID(jobID string) *TaskListParams

WithJobID adds the jobID to the task list params

func (*TaskListParams) WithMaxresults

func (o *TaskListParams) WithMaxresults(maxresults *int32) *TaskListParams

WithMaxresults adds the maxresults to the task list params

func (*TaskListParams) WithOcpDate

func (o *TaskListParams) WithOcpDate(ocpDate *string) *TaskListParams

WithOcpDate adds the ocpDate to the task list params

func (*TaskListParams) WithRequestTimeout

func (o *TaskListParams) WithRequestTimeout(timeout time.Duration) *TaskListParams

WithRequestTimeout adds the timeout to the task list params

func (*TaskListParams) WithReturnClientRequestID

func (o *TaskListParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskListParams

WithReturnClientRequestID adds the returnClientRequestID to the task list params

func (*TaskListParams) WithTimeout

func (o *TaskListParams) WithTimeout(timeout *int32) *TaskListParams

WithTimeout adds the timeout to the task list params

func (*TaskListParams) WriteToRequest

func (o *TaskListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TaskListReader

type TaskListReader struct {
	// contains filtered or unexported fields
}

TaskListReader is a Reader for the TaskList structure.

func (*TaskListReader) ReadResponse

func (o *TaskListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskListSubtasksDefault

type TaskListSubtasksDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskListSubtasksDefault handles this case with default header values.

The error from the Batch service.

func NewTaskListSubtasksDefault

func NewTaskListSubtasksDefault(code int) *TaskListSubtasksDefault

NewTaskListSubtasksDefault creates a TaskListSubtasksDefault with default headers values

func (*TaskListSubtasksDefault) Code

func (o *TaskListSubtasksDefault) Code() int

Code gets the status code for the task list subtasks default response

func (*TaskListSubtasksDefault) Error

func (o *TaskListSubtasksDefault) Error() string

type TaskListSubtasksOK

type TaskListSubtasksOK struct {
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload *models.CloudTaskListSubtasksResult
}

TaskListSubtasksOK handles this case with default header values.

A response containing the list of subtasks.

func NewTaskListSubtasksOK

func NewTaskListSubtasksOK() *TaskListSubtasksOK

NewTaskListSubtasksOK creates a TaskListSubtasksOK with default headers values

func (*TaskListSubtasksOK) Error

func (o *TaskListSubtasksOK) Error() string

type TaskListSubtasksParams

type TaskListSubtasksParams struct {

	/*NrDollarSelect
	  An OData $select clause.

	*/
	DollarSelect *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskListSubtasksParams contains all the parameters to send to the API endpoint for the task list subtasks operation typically these are written to a http.Request

func NewTaskListSubtasksParams

func NewTaskListSubtasksParams() *TaskListSubtasksParams

NewTaskListSubtasksParams creates a new TaskListSubtasksParams object with the default values initialized.

func NewTaskListSubtasksParamsWithContext

func NewTaskListSubtasksParamsWithContext(ctx context.Context) *TaskListSubtasksParams

NewTaskListSubtasksParamsWithContext creates a new TaskListSubtasksParams object with the default values initialized, and the ability to set a context for a request

func NewTaskListSubtasksParamsWithTimeout

func NewTaskListSubtasksParamsWithTimeout(timeout time.Duration) *TaskListSubtasksParams

NewTaskListSubtasksParamsWithTimeout creates a new TaskListSubtasksParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskListSubtasksParams) SetAPIVersion

func (o *TaskListSubtasksParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task list subtasks params

func (*TaskListSubtasksParams) SetClientRequestID

func (o *TaskListSubtasksParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task list subtasks params

func (*TaskListSubtasksParams) SetContext

func (o *TaskListSubtasksParams) SetContext(ctx context.Context)

SetContext adds the context to the task list subtasks params

func (*TaskListSubtasksParams) SetDollarSelect

func (o *TaskListSubtasksParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the task list subtasks params

func (*TaskListSubtasksParams) SetJobID

func (o *TaskListSubtasksParams) SetJobID(jobID string)

SetJobID adds the jobId to the task list subtasks params

func (*TaskListSubtasksParams) SetOcpDate

func (o *TaskListSubtasksParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task list subtasks params

func (*TaskListSubtasksParams) SetRequestTimeout

func (o *TaskListSubtasksParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task list subtasks params

func (*TaskListSubtasksParams) SetReturnClientRequestID

func (o *TaskListSubtasksParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task list subtasks params

func (*TaskListSubtasksParams) SetTaskID

func (o *TaskListSubtasksParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the task list subtasks params

func (*TaskListSubtasksParams) SetTimeout

func (o *TaskListSubtasksParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task list subtasks params

func (*TaskListSubtasksParams) WithAPIVersion

func (o *TaskListSubtasksParams) WithAPIVersion(aPIVersion string) *TaskListSubtasksParams

WithAPIVersion adds the aPIVersion to the task list subtasks params

func (*TaskListSubtasksParams) WithClientRequestID

func (o *TaskListSubtasksParams) WithClientRequestID(clientRequestID *string) *TaskListSubtasksParams

WithClientRequestID adds the clientRequestID to the task list subtasks params

func (*TaskListSubtasksParams) WithContext

WithContext adds the context to the task list subtasks params

func (*TaskListSubtasksParams) WithDollarSelect

func (o *TaskListSubtasksParams) WithDollarSelect(dollarSelect *string) *TaskListSubtasksParams

WithDollarSelect adds the dollarSelect to the task list subtasks params

func (*TaskListSubtasksParams) WithJobID

WithJobID adds the jobID to the task list subtasks params

func (*TaskListSubtasksParams) WithOcpDate

func (o *TaskListSubtasksParams) WithOcpDate(ocpDate *string) *TaskListSubtasksParams

WithOcpDate adds the ocpDate to the task list subtasks params

func (*TaskListSubtasksParams) WithRequestTimeout

func (o *TaskListSubtasksParams) WithRequestTimeout(timeout time.Duration) *TaskListSubtasksParams

WithRequestTimeout adds the timeout to the task list subtasks params

func (*TaskListSubtasksParams) WithReturnClientRequestID

func (o *TaskListSubtasksParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskListSubtasksParams

WithReturnClientRequestID adds the returnClientRequestID to the task list subtasks params

func (*TaskListSubtasksParams) WithTaskID

func (o *TaskListSubtasksParams) WithTaskID(taskID string) *TaskListSubtasksParams

WithTaskID adds the taskID to the task list subtasks params

func (*TaskListSubtasksParams) WithTimeout

func (o *TaskListSubtasksParams) WithTimeout(timeout *int32) *TaskListSubtasksParams

WithTimeout adds the timeout to the task list subtasks params

func (*TaskListSubtasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TaskListSubtasksReader

type TaskListSubtasksReader struct {
	// contains filtered or unexported fields
}

TaskListSubtasksReader is a Reader for the TaskListSubtasks structure.

func (*TaskListSubtasksReader) ReadResponse

func (o *TaskListSubtasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskReactivateDefault

type TaskReactivateDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskReactivateDefault handles this case with default header values.

The error from the Batch service.

func NewTaskReactivateDefault

func NewTaskReactivateDefault(code int) *TaskReactivateDefault

NewTaskReactivateDefault creates a TaskReactivateDefault with default headers values

func (*TaskReactivateDefault) Code

func (o *TaskReactivateDefault) Code() int

Code gets the status code for the task reactivate default response

func (*TaskReactivateDefault) Error

func (o *TaskReactivateDefault) Error() string

type TaskReactivateNoContent

type TaskReactivateNoContent struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

TaskReactivateNoContent handles this case with default header values.

The request to the Batch service was successful.

func NewTaskReactivateNoContent

func NewTaskReactivateNoContent() *TaskReactivateNoContent

NewTaskReactivateNoContent creates a TaskReactivateNoContent with default headers values

func (*TaskReactivateNoContent) Error

func (o *TaskReactivateNoContent) Error() string

type TaskReactivateParams

type TaskReactivateParams struct {

	/*IfMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified.

	*/
	IfMatch *string
	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfNoneMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag.

	*/
	IfNoneMatch *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job containing the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task to reactivate.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskReactivateParams contains all the parameters to send to the API endpoint for the task reactivate operation typically these are written to a http.Request

func NewTaskReactivateParams

func NewTaskReactivateParams() *TaskReactivateParams

NewTaskReactivateParams creates a new TaskReactivateParams object with the default values initialized.

func NewTaskReactivateParamsWithContext

func NewTaskReactivateParamsWithContext(ctx context.Context) *TaskReactivateParams

NewTaskReactivateParamsWithContext creates a new TaskReactivateParams object with the default values initialized, and the ability to set a context for a request

func NewTaskReactivateParamsWithTimeout

func NewTaskReactivateParamsWithTimeout(timeout time.Duration) *TaskReactivateParams

NewTaskReactivateParamsWithTimeout creates a new TaskReactivateParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskReactivateParams) SetAPIVersion

func (o *TaskReactivateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task reactivate params

func (*TaskReactivateParams) SetClientRequestID

func (o *TaskReactivateParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task reactivate params

func (*TaskReactivateParams) SetContext

func (o *TaskReactivateParams) SetContext(ctx context.Context)

SetContext adds the context to the task reactivate params

func (*TaskReactivateParams) SetIfMatch

func (o *TaskReactivateParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the task reactivate params

func (*TaskReactivateParams) SetIfModifiedSince

func (o *TaskReactivateParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the task reactivate params

func (*TaskReactivateParams) SetIfNoneMatch

func (o *TaskReactivateParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the task reactivate params

func (*TaskReactivateParams) SetIfUnmodifiedSince

func (o *TaskReactivateParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the task reactivate params

func (*TaskReactivateParams) SetJobID

func (o *TaskReactivateParams) SetJobID(jobID string)

SetJobID adds the jobId to the task reactivate params

func (*TaskReactivateParams) SetOcpDate

func (o *TaskReactivateParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task reactivate params

func (*TaskReactivateParams) SetRequestTimeout

func (o *TaskReactivateParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task reactivate params

func (*TaskReactivateParams) SetReturnClientRequestID

func (o *TaskReactivateParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task reactivate params

func (*TaskReactivateParams) SetTaskID

func (o *TaskReactivateParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the task reactivate params

func (*TaskReactivateParams) SetTimeout

func (o *TaskReactivateParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task reactivate params

func (*TaskReactivateParams) WithAPIVersion

func (o *TaskReactivateParams) WithAPIVersion(aPIVersion string) *TaskReactivateParams

WithAPIVersion adds the aPIVersion to the task reactivate params

func (*TaskReactivateParams) WithClientRequestID

func (o *TaskReactivateParams) WithClientRequestID(clientRequestID *string) *TaskReactivateParams

WithClientRequestID adds the clientRequestID to the task reactivate params

func (*TaskReactivateParams) WithContext

WithContext adds the context to the task reactivate params

func (*TaskReactivateParams) WithIfMatch

func (o *TaskReactivateParams) WithIfMatch(ifMatch *string) *TaskReactivateParams

WithIfMatch adds the ifMatch to the task reactivate params

func (*TaskReactivateParams) WithIfModifiedSince

func (o *TaskReactivateParams) WithIfModifiedSince(ifModifiedSince *string) *TaskReactivateParams

WithIfModifiedSince adds the ifModifiedSince to the task reactivate params

func (*TaskReactivateParams) WithIfNoneMatch

func (o *TaskReactivateParams) WithIfNoneMatch(ifNoneMatch *string) *TaskReactivateParams

WithIfNoneMatch adds the ifNoneMatch to the task reactivate params

func (*TaskReactivateParams) WithIfUnmodifiedSince

func (o *TaskReactivateParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *TaskReactivateParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the task reactivate params

func (*TaskReactivateParams) WithJobID

func (o *TaskReactivateParams) WithJobID(jobID string) *TaskReactivateParams

WithJobID adds the jobID to the task reactivate params

func (*TaskReactivateParams) WithOcpDate

func (o *TaskReactivateParams) WithOcpDate(ocpDate *string) *TaskReactivateParams

WithOcpDate adds the ocpDate to the task reactivate params

func (*TaskReactivateParams) WithRequestTimeout

func (o *TaskReactivateParams) WithRequestTimeout(timeout time.Duration) *TaskReactivateParams

WithRequestTimeout adds the timeout to the task reactivate params

func (*TaskReactivateParams) WithReturnClientRequestID

func (o *TaskReactivateParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskReactivateParams

WithReturnClientRequestID adds the returnClientRequestID to the task reactivate params

func (*TaskReactivateParams) WithTaskID

func (o *TaskReactivateParams) WithTaskID(taskID string) *TaskReactivateParams

WithTaskID adds the taskID to the task reactivate params

func (*TaskReactivateParams) WithTimeout

func (o *TaskReactivateParams) WithTimeout(timeout *int32) *TaskReactivateParams

WithTimeout adds the timeout to the task reactivate params

func (*TaskReactivateParams) WriteToRequest

func (o *TaskReactivateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TaskReactivateReader

type TaskReactivateReader struct {
	// contains filtered or unexported fields
}

TaskReactivateReader is a Reader for the TaskReactivate structure.

func (*TaskReactivateReader) ReadResponse

func (o *TaskReactivateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskTerminateDefault

type TaskTerminateDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskTerminateDefault handles this case with default header values.

The error from the Batch service.

func NewTaskTerminateDefault

func NewTaskTerminateDefault(code int) *TaskTerminateDefault

NewTaskTerminateDefault creates a TaskTerminateDefault with default headers values

func (*TaskTerminateDefault) Code

func (o *TaskTerminateDefault) Code() int

Code gets the status code for the task terminate default response

func (*TaskTerminateDefault) Error

func (o *TaskTerminateDefault) Error() string

type TaskTerminateNoContent

type TaskTerminateNoContent struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

TaskTerminateNoContent handles this case with default header values.

The request to the Batch service was successful.

func NewTaskTerminateNoContent

func NewTaskTerminateNoContent() *TaskTerminateNoContent

NewTaskTerminateNoContent creates a TaskTerminateNoContent with default headers values

func (*TaskTerminateNoContent) Error

func (o *TaskTerminateNoContent) Error() string

type TaskTerminateParams

type TaskTerminateParams struct {

	/*IfMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified.

	*/
	IfMatch *string
	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfNoneMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag.

	*/
	IfNoneMatch *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job containing the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task to terminate.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskTerminateParams contains all the parameters to send to the API endpoint for the task terminate operation typically these are written to a http.Request

func NewTaskTerminateParams

func NewTaskTerminateParams() *TaskTerminateParams

NewTaskTerminateParams creates a new TaskTerminateParams object with the default values initialized.

func NewTaskTerminateParamsWithContext

func NewTaskTerminateParamsWithContext(ctx context.Context) *TaskTerminateParams

NewTaskTerminateParamsWithContext creates a new TaskTerminateParams object with the default values initialized, and the ability to set a context for a request

func NewTaskTerminateParamsWithTimeout

func NewTaskTerminateParamsWithTimeout(timeout time.Duration) *TaskTerminateParams

NewTaskTerminateParamsWithTimeout creates a new TaskTerminateParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskTerminateParams) SetAPIVersion

func (o *TaskTerminateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task terminate params

func (*TaskTerminateParams) SetClientRequestID

func (o *TaskTerminateParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task terminate params

func (*TaskTerminateParams) SetContext

func (o *TaskTerminateParams) SetContext(ctx context.Context)

SetContext adds the context to the task terminate params

func (*TaskTerminateParams) SetIfMatch

func (o *TaskTerminateParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the task terminate params

func (*TaskTerminateParams) SetIfModifiedSince

func (o *TaskTerminateParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the task terminate params

func (*TaskTerminateParams) SetIfNoneMatch

func (o *TaskTerminateParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the task terminate params

func (*TaskTerminateParams) SetIfUnmodifiedSince

func (o *TaskTerminateParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the task terminate params

func (*TaskTerminateParams) SetJobID

func (o *TaskTerminateParams) SetJobID(jobID string)

SetJobID adds the jobId to the task terminate params

func (*TaskTerminateParams) SetOcpDate

func (o *TaskTerminateParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task terminate params

func (*TaskTerminateParams) SetRequestTimeout

func (o *TaskTerminateParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task terminate params

func (*TaskTerminateParams) SetReturnClientRequestID

func (o *TaskTerminateParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task terminate params

func (*TaskTerminateParams) SetTaskID

func (o *TaskTerminateParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the task terminate params

func (*TaskTerminateParams) SetTimeout

func (o *TaskTerminateParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task terminate params

func (*TaskTerminateParams) WithAPIVersion

func (o *TaskTerminateParams) WithAPIVersion(aPIVersion string) *TaskTerminateParams

WithAPIVersion adds the aPIVersion to the task terminate params

func (*TaskTerminateParams) WithClientRequestID

func (o *TaskTerminateParams) WithClientRequestID(clientRequestID *string) *TaskTerminateParams

WithClientRequestID adds the clientRequestID to the task terminate params

func (*TaskTerminateParams) WithContext

WithContext adds the context to the task terminate params

func (*TaskTerminateParams) WithIfMatch

func (o *TaskTerminateParams) WithIfMatch(ifMatch *string) *TaskTerminateParams

WithIfMatch adds the ifMatch to the task terminate params

func (*TaskTerminateParams) WithIfModifiedSince

func (o *TaskTerminateParams) WithIfModifiedSince(ifModifiedSince *string) *TaskTerminateParams

WithIfModifiedSince adds the ifModifiedSince to the task terminate params

func (*TaskTerminateParams) WithIfNoneMatch

func (o *TaskTerminateParams) WithIfNoneMatch(ifNoneMatch *string) *TaskTerminateParams

WithIfNoneMatch adds the ifNoneMatch to the task terminate params

func (*TaskTerminateParams) WithIfUnmodifiedSince

func (o *TaskTerminateParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *TaskTerminateParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the task terminate params

func (*TaskTerminateParams) WithJobID

func (o *TaskTerminateParams) WithJobID(jobID string) *TaskTerminateParams

WithJobID adds the jobID to the task terminate params

func (*TaskTerminateParams) WithOcpDate

func (o *TaskTerminateParams) WithOcpDate(ocpDate *string) *TaskTerminateParams

WithOcpDate adds the ocpDate to the task terminate params

func (*TaskTerminateParams) WithRequestTimeout

func (o *TaskTerminateParams) WithRequestTimeout(timeout time.Duration) *TaskTerminateParams

WithRequestTimeout adds the timeout to the task terminate params

func (*TaskTerminateParams) WithReturnClientRequestID

func (o *TaskTerminateParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskTerminateParams

WithReturnClientRequestID adds the returnClientRequestID to the task terminate params

func (*TaskTerminateParams) WithTaskID

func (o *TaskTerminateParams) WithTaskID(taskID string) *TaskTerminateParams

WithTaskID adds the taskID to the task terminate params

func (*TaskTerminateParams) WithTimeout

func (o *TaskTerminateParams) WithTimeout(timeout *int32) *TaskTerminateParams

WithTimeout adds the timeout to the task terminate params

func (*TaskTerminateParams) WriteToRequest

func (o *TaskTerminateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TaskTerminateReader

type TaskTerminateReader struct {
	// contains filtered or unexported fields
}

TaskTerminateReader is a Reader for the TaskTerminate structure.

func (*TaskTerminateReader) ReadResponse

func (o *TaskTerminateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TaskUpdateDefault

type TaskUpdateDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

TaskUpdateDefault handles this case with default header values.

The error from the Batch service.

func NewTaskUpdateDefault

func NewTaskUpdateDefault(code int) *TaskUpdateDefault

NewTaskUpdateDefault creates a TaskUpdateDefault with default headers values

func (*TaskUpdateDefault) Code

func (o *TaskUpdateDefault) Code() int

Code gets the status code for the task update default response

func (*TaskUpdateDefault) Error

func (o *TaskUpdateDefault) Error() string

type TaskUpdateOK

type TaskUpdateOK struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

TaskUpdateOK handles this case with default header values.

The request to the Batch service was successful.

func NewTaskUpdateOK

func NewTaskUpdateOK() *TaskUpdateOK

NewTaskUpdateOK creates a TaskUpdateOK with default headers values

func (*TaskUpdateOK) Error

func (o *TaskUpdateOK) Error() string

type TaskUpdateParams

type TaskUpdateParams struct {

	/*IfMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified.

	*/
	IfMatch *string
	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfNoneMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag.

	*/
	IfNoneMatch *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  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.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job containing the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task to update.

	*/
	TaskID string
	/*TaskUpdateParameter
	  The parameters for the request.

	*/
	TaskUpdateParameter *models.TaskUpdateParameter
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TaskUpdateParams contains all the parameters to send to the API endpoint for the task update operation typically these are written to a http.Request

func NewTaskUpdateParams

func NewTaskUpdateParams() *TaskUpdateParams

NewTaskUpdateParams creates a new TaskUpdateParams object with the default values initialized.

func NewTaskUpdateParamsWithContext

func NewTaskUpdateParamsWithContext(ctx context.Context) *TaskUpdateParams

NewTaskUpdateParamsWithContext creates a new TaskUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewTaskUpdateParamsWithTimeout

func NewTaskUpdateParamsWithTimeout(timeout time.Duration) *TaskUpdateParams

NewTaskUpdateParamsWithTimeout creates a new TaskUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*TaskUpdateParams) SetAPIVersion

func (o *TaskUpdateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the task update params

func (*TaskUpdateParams) SetClientRequestID

func (o *TaskUpdateParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the task update params

func (*TaskUpdateParams) SetContext

func (o *TaskUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the task update params

func (*TaskUpdateParams) SetIfMatch

func (o *TaskUpdateParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the task update params

func (*TaskUpdateParams) SetIfModifiedSince

func (o *TaskUpdateParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the task update params

func (*TaskUpdateParams) SetIfNoneMatch

func (o *TaskUpdateParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the task update params

func (*TaskUpdateParams) SetIfUnmodifiedSince

func (o *TaskUpdateParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the task update params

func (*TaskUpdateParams) SetJobID

func (o *TaskUpdateParams) SetJobID(jobID string)

SetJobID adds the jobId to the task update params

func (*TaskUpdateParams) SetOcpDate

func (o *TaskUpdateParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the task update params

func (*TaskUpdateParams) SetRequestTimeout

func (o *TaskUpdateParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the task update params

func (*TaskUpdateParams) SetReturnClientRequestID

func (o *TaskUpdateParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the task update params

func (*TaskUpdateParams) SetTaskID

func (o *TaskUpdateParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the task update params

func (*TaskUpdateParams) SetTaskUpdateParameter

func (o *TaskUpdateParams) SetTaskUpdateParameter(taskUpdateParameter *models.TaskUpdateParameter)

SetTaskUpdateParameter adds the taskUpdateParameter to the task update params

func (*TaskUpdateParams) SetTimeout

func (o *TaskUpdateParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the task update params

func (*TaskUpdateParams) WithAPIVersion

func (o *TaskUpdateParams) WithAPIVersion(aPIVersion string) *TaskUpdateParams

WithAPIVersion adds the aPIVersion to the task update params

func (*TaskUpdateParams) WithClientRequestID

func (o *TaskUpdateParams) WithClientRequestID(clientRequestID *string) *TaskUpdateParams

WithClientRequestID adds the clientRequestID to the task update params

func (*TaskUpdateParams) WithContext

func (o *TaskUpdateParams) WithContext(ctx context.Context) *TaskUpdateParams

WithContext adds the context to the task update params

func (*TaskUpdateParams) WithIfMatch

func (o *TaskUpdateParams) WithIfMatch(ifMatch *string) *TaskUpdateParams

WithIfMatch adds the ifMatch to the task update params

func (*TaskUpdateParams) WithIfModifiedSince

func (o *TaskUpdateParams) WithIfModifiedSince(ifModifiedSince *string) *TaskUpdateParams

WithIfModifiedSince adds the ifModifiedSince to the task update params

func (*TaskUpdateParams) WithIfNoneMatch

func (o *TaskUpdateParams) WithIfNoneMatch(ifNoneMatch *string) *TaskUpdateParams

WithIfNoneMatch adds the ifNoneMatch to the task update params

func (*TaskUpdateParams) WithIfUnmodifiedSince

func (o *TaskUpdateParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *TaskUpdateParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the task update params

func (*TaskUpdateParams) WithJobID

func (o *TaskUpdateParams) WithJobID(jobID string) *TaskUpdateParams

WithJobID adds the jobID to the task update params

func (*TaskUpdateParams) WithOcpDate

func (o *TaskUpdateParams) WithOcpDate(ocpDate *string) *TaskUpdateParams

WithOcpDate adds the ocpDate to the task update params

func (*TaskUpdateParams) WithRequestTimeout

func (o *TaskUpdateParams) WithRequestTimeout(timeout time.Duration) *TaskUpdateParams

WithRequestTimeout adds the timeout to the task update params

func (*TaskUpdateParams) WithReturnClientRequestID

func (o *TaskUpdateParams) WithReturnClientRequestID(returnClientRequestID *bool) *TaskUpdateParams

WithReturnClientRequestID adds the returnClientRequestID to the task update params

func (*TaskUpdateParams) WithTaskID

func (o *TaskUpdateParams) WithTaskID(taskID string) *TaskUpdateParams

WithTaskID adds the taskID to the task update params

func (*TaskUpdateParams) WithTaskUpdateParameter

func (o *TaskUpdateParams) WithTaskUpdateParameter(taskUpdateParameter *models.TaskUpdateParameter) *TaskUpdateParams

WithTaskUpdateParameter adds the taskUpdateParameter to the task update params

func (*TaskUpdateParams) WithTimeout

func (o *TaskUpdateParams) WithTimeout(timeout *int32) *TaskUpdateParams

WithTimeout adds the timeout to the task update params

func (*TaskUpdateParams) WriteToRequest

func (o *TaskUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TaskUpdateReader

type TaskUpdateReader struct {
	// contains filtered or unexported fields
}

TaskUpdateReader is a Reader for the TaskUpdate structure.

func (*TaskUpdateReader) ReadResponse

func (o *TaskUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL