jobs

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 jobs API

func New

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

New creates a new jobs API client.

func (*Client) JobAdd

func (a *Client) JobAdd(params *JobAddParams) (*JobAddCreated, error)

JobAdd adds a job to the specified account

The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

func (*Client) JobDelete

func (a *Client) JobDelete(params *JobDeleteParams) (*JobDeleteAccepted, error)

JobDelete deletes a job

Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents.

func (*Client) JobDisable

func (a *Client) JobDisable(params *JobDisableParams) (*JobDisableAccepted, error)

JobDisable disables the specified job preventing new tasks from running

The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

func (*Client) JobEnable

func (a *Client) JobEnable(params *JobEnableParams) (*JobEnableAccepted, error)

JobEnable enables the specified job allowing new tasks to run

When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.

func (*Client) JobGet

func (a *Client) JobGet(params *JobGetParams) (*JobGetOK, error)

JobGet gets information about the specified job

func (*Client) JobGetAllJobsLifetimeStatistics

func (a *Client) JobGetAllJobsLifetimeStatistics(params *JobGetAllJobsLifetimeStatisticsParams) (*JobGetAllJobsLifetimeStatisticsOK, error)

JobGetAllJobsLifetimeStatistics gets lifetime summary statistics for all of the jobs in the specified account

Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.

func (*Client) JobList

func (a *Client) JobList(params *JobListParams) (*JobListOK, error)

JobList lists all of the jobs in the specified account

func (*Client) JobListFromJobSchedule

func (a *Client) JobListFromJobSchedule(params *JobListFromJobScheduleParams) (*JobListFromJobScheduleOK, error)

JobListFromJobSchedule lists the jobs that have been created under the specified job schedule

func (*Client) JobListPreparationAndReleaseTaskStatus

func (a *Client) JobListPreparationAndReleaseTaskStatus(params *JobListPreparationAndReleaseTaskStatusParams) (*JobListPreparationAndReleaseTaskStatusOK, error)

JobListPreparationAndReleaseTaskStatus lists the execution status of the job preparation and job release task for the specified job across the compute nodes where the job has run

This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool.

func (*Client) JobPatch

func (a *Client) JobPatch(params *JobPatchParams) (*JobPatchOK, error)

JobPatch updates the properties of the specified job

This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.

func (*Client) JobTerminate

func (a *Client) JobTerminate(params *JobTerminateParams) (*JobTerminateAccepted, error)

JobTerminate terminates the specified job marking it as completed

When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.

func (*Client) JobUpdate

func (a *Client) JobUpdate(params *JobUpdateParams) (*JobUpdateOK, error)

JobUpdate updates the properties of the specified job

This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type JobAddCreated

type JobAddCreated 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
}

JobAddCreated handles this case with default header values.

The request to the Batch service was successful.

func NewJobAddCreated

func NewJobAddCreated() *JobAddCreated

NewJobAddCreated creates a JobAddCreated with default headers values

func (*JobAddCreated) Error

func (o *JobAddCreated) Error() string

type JobAddDefault

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

JobAddDefault handles this case with default header values.

The error from the Batch service.

func NewJobAddDefault

func NewJobAddDefault(code int) *JobAddDefault

NewJobAddDefault creates a JobAddDefault with default headers values

func (*JobAddDefault) Code

func (o *JobAddDefault) Code() int

Code gets the status code for the job add default response

func (*JobAddDefault) Error

func (o *JobAddDefault) Error() string

type JobAddParams

type JobAddParams struct {

	/*Job
	  The job to be added.

	*/
	Job *models.JobAddParameter
	/*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
	/*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
}

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

func NewJobAddParams

func NewJobAddParams() *JobAddParams

NewJobAddParams creates a new JobAddParams object with the default values initialized.

func NewJobAddParamsWithContext

func NewJobAddParamsWithContext(ctx context.Context) *JobAddParams

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

func NewJobAddParamsWithTimeout

func NewJobAddParamsWithTimeout(timeout time.Duration) *JobAddParams

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

func (*JobAddParams) SetAPIVersion

func (o *JobAddParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job add params

func (*JobAddParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job add params

func (*JobAddParams) SetContext

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

SetContext adds the context to the job add params

func (*JobAddParams) SetJob

func (o *JobAddParams) SetJob(job *models.JobAddParameter)

SetJob adds the job to the job add params

func (*JobAddParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job add params

func (*JobAddParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job add params

func (*JobAddParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job add params

func (*JobAddParams) SetTimeout

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

SetTimeout adds the timeout to the job add params

func (*JobAddParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job add params

func (*JobAddParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job add params

func (*JobAddParams) WithContext

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

WithContext adds the context to the job add params

func (*JobAddParams) WithJob

func (o *JobAddParams) WithJob(job *models.JobAddParameter) *JobAddParams

WithJob adds the job to the job add params

func (*JobAddParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job add params

func (*JobAddParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job add params

func (*JobAddParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job add params

func (*JobAddParams) WithTimeout

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

WithTimeout adds the timeout to the job add params

func (*JobAddParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobAddReader

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

JobAddReader is a Reader for the JobAdd structure.

func (*JobAddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobDeleteAccepted

type JobDeleteAccepted 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
}

JobDeleteAccepted handles this case with default header values.

The request to the Batch service was successful.

func NewJobDeleteAccepted

func NewJobDeleteAccepted() *JobDeleteAccepted

NewJobDeleteAccepted creates a JobDeleteAccepted with default headers values

func (*JobDeleteAccepted) Error

func (o *JobDeleteAccepted) Error() string

type JobDeleteDefault

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

JobDeleteDefault handles this case with default header values.

The error from the Batch service.

func NewJobDeleteDefault

func NewJobDeleteDefault(code int) *JobDeleteDefault

NewJobDeleteDefault creates a JobDeleteDefault with default headers values

func (*JobDeleteDefault) Code

func (o *JobDeleteDefault) Code() int

Code gets the status code for the job delete default response

func (*JobDeleteDefault) Error

func (o *JobDeleteDefault) Error() string

type JobDeleteParams

type JobDeleteParams 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 to delete.

	*/
	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
	/*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
}

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

func NewJobDeleteParams

func NewJobDeleteParams() *JobDeleteParams

NewJobDeleteParams creates a new JobDeleteParams object with the default values initialized.

func NewJobDeleteParamsWithContext

func NewJobDeleteParamsWithContext(ctx context.Context) *JobDeleteParams

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

func NewJobDeleteParamsWithTimeout

func NewJobDeleteParamsWithTimeout(timeout time.Duration) *JobDeleteParams

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

func (*JobDeleteParams) SetAPIVersion

func (o *JobDeleteParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job delete params

func (*JobDeleteParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job delete params

func (*JobDeleteParams) SetContext

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

SetContext adds the context to the job delete params

func (*JobDeleteParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the job delete params

func (*JobDeleteParams) SetIfModifiedSince

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

SetIfModifiedSince adds the ifModifiedSince to the job delete params

func (*JobDeleteParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the job delete params

func (*JobDeleteParams) SetIfUnmodifiedSince

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

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job delete params

func (*JobDeleteParams) SetJobID

func (o *JobDeleteParams) SetJobID(jobID string)

SetJobID adds the jobId to the job delete params

func (*JobDeleteParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job delete params

func (*JobDeleteParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job delete params

func (*JobDeleteParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job delete params

func (*JobDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the job delete params

func (*JobDeleteParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job delete params

func (*JobDeleteParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job delete params

func (*JobDeleteParams) WithContext

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

WithContext adds the context to the job delete params

func (*JobDeleteParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the job delete params

func (*JobDeleteParams) WithIfModifiedSince

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

WithIfModifiedSince adds the ifModifiedSince to the job delete params

func (*JobDeleteParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the job delete params

func (*JobDeleteParams) WithIfUnmodifiedSince

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

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job delete params

func (*JobDeleteParams) WithJobID

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

WithJobID adds the jobID to the job delete params

func (*JobDeleteParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job delete params

func (*JobDeleteParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job delete params

func (*JobDeleteParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job delete params

func (*JobDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the job delete params

func (*JobDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobDeleteReader

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

JobDeleteReader is a Reader for the JobDelete structure.

func (*JobDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobDisableAccepted

type JobDisableAccepted 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
}

JobDisableAccepted handles this case with default header values.

The request to the Batch service was successful.

func NewJobDisableAccepted

func NewJobDisableAccepted() *JobDisableAccepted

NewJobDisableAccepted creates a JobDisableAccepted with default headers values

func (*JobDisableAccepted) Error

func (o *JobDisableAccepted) Error() string

type JobDisableDefault

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

JobDisableDefault handles this case with default header values.

The error from the Batch service.

func NewJobDisableDefault

func NewJobDisableDefault(code int) *JobDisableDefault

NewJobDisableDefault creates a JobDisableDefault with default headers values

func (*JobDisableDefault) Code

func (o *JobDisableDefault) Code() int

Code gets the status code for the job disable default response

func (*JobDisableDefault) Error

func (o *JobDisableDefault) Error() string

type JobDisableParams

type JobDisableParams 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
	/*JobDisableParameter
	  The parameters for the request.

	*/
	JobDisableParameter *models.JobDisableParameter
	/*JobID
	  The ID of the job to disable.

	*/
	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
	/*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
}

JobDisableParams contains all the parameters to send to the API endpoint for the job disable operation typically these are written to a http.Request

func NewJobDisableParams

func NewJobDisableParams() *JobDisableParams

NewJobDisableParams creates a new JobDisableParams object with the default values initialized.

func NewJobDisableParamsWithContext

func NewJobDisableParamsWithContext(ctx context.Context) *JobDisableParams

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

func NewJobDisableParamsWithTimeout

func NewJobDisableParamsWithTimeout(timeout time.Duration) *JobDisableParams

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

func (*JobDisableParams) SetAPIVersion

func (o *JobDisableParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job disable params

func (*JobDisableParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job disable params

func (*JobDisableParams) SetContext

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

SetContext adds the context to the job disable params

func (*JobDisableParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the job disable params

func (*JobDisableParams) SetIfModifiedSince

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

SetIfModifiedSince adds the ifModifiedSince to the job disable params

func (*JobDisableParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the job disable params

func (*JobDisableParams) SetIfUnmodifiedSince

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

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job disable params

func (*JobDisableParams) SetJobDisableParameter

func (o *JobDisableParams) SetJobDisableParameter(jobDisableParameter *models.JobDisableParameter)

SetJobDisableParameter adds the jobDisableParameter to the job disable params

func (*JobDisableParams) SetJobID

func (o *JobDisableParams) SetJobID(jobID string)

SetJobID adds the jobId to the job disable params

func (*JobDisableParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job disable params

func (*JobDisableParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job disable params

func (*JobDisableParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job disable params

func (*JobDisableParams) SetTimeout

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

SetTimeout adds the timeout to the job disable params

func (*JobDisableParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job disable params

func (*JobDisableParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job disable params

func (*JobDisableParams) WithContext

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

WithContext adds the context to the job disable params

func (*JobDisableParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the job disable params

func (*JobDisableParams) WithIfModifiedSince

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

WithIfModifiedSince adds the ifModifiedSince to the job disable params

func (*JobDisableParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the job disable params

func (*JobDisableParams) WithIfUnmodifiedSince

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

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job disable params

func (*JobDisableParams) WithJobDisableParameter

func (o *JobDisableParams) WithJobDisableParameter(jobDisableParameter *models.JobDisableParameter) *JobDisableParams

WithJobDisableParameter adds the jobDisableParameter to the job disable params

func (*JobDisableParams) WithJobID

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

WithJobID adds the jobID to the job disable params

func (*JobDisableParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job disable params

func (*JobDisableParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job disable params

func (*JobDisableParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job disable params

func (*JobDisableParams) WithTimeout

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

WithTimeout adds the timeout to the job disable params

func (*JobDisableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobDisableReader

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

JobDisableReader is a Reader for the JobDisable structure.

func (*JobDisableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobEnableAccepted

type JobEnableAccepted 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
}

JobEnableAccepted handles this case with default header values.

The request to the Batch service was successful.

func NewJobEnableAccepted

func NewJobEnableAccepted() *JobEnableAccepted

NewJobEnableAccepted creates a JobEnableAccepted with default headers values

func (*JobEnableAccepted) Error

func (o *JobEnableAccepted) Error() string

type JobEnableDefault

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

JobEnableDefault handles this case with default header values.

The error from the Batch service.

func NewJobEnableDefault

func NewJobEnableDefault(code int) *JobEnableDefault

NewJobEnableDefault creates a JobEnableDefault with default headers values

func (*JobEnableDefault) Code

func (o *JobEnableDefault) Code() int

Code gets the status code for the job enable default response

func (*JobEnableDefault) Error

func (o *JobEnableDefault) Error() string

type JobEnableParams

type JobEnableParams 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 to enable.

	*/
	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
	/*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
}

JobEnableParams contains all the parameters to send to the API endpoint for the job enable operation typically these are written to a http.Request

func NewJobEnableParams

func NewJobEnableParams() *JobEnableParams

NewJobEnableParams creates a new JobEnableParams object with the default values initialized.

func NewJobEnableParamsWithContext

func NewJobEnableParamsWithContext(ctx context.Context) *JobEnableParams

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

func NewJobEnableParamsWithTimeout

func NewJobEnableParamsWithTimeout(timeout time.Duration) *JobEnableParams

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

func (*JobEnableParams) SetAPIVersion

func (o *JobEnableParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job enable params

func (*JobEnableParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job enable params

func (*JobEnableParams) SetContext

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

SetContext adds the context to the job enable params

func (*JobEnableParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the job enable params

func (*JobEnableParams) SetIfModifiedSince

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

SetIfModifiedSince adds the ifModifiedSince to the job enable params

func (*JobEnableParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the job enable params

func (*JobEnableParams) SetIfUnmodifiedSince

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

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job enable params

func (*JobEnableParams) SetJobID

func (o *JobEnableParams) SetJobID(jobID string)

SetJobID adds the jobId to the job enable params

func (*JobEnableParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job enable params

func (*JobEnableParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job enable params

func (*JobEnableParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job enable params

func (*JobEnableParams) SetTimeout

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

SetTimeout adds the timeout to the job enable params

func (*JobEnableParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job enable params

func (*JobEnableParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job enable params

func (*JobEnableParams) WithContext

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

WithContext adds the context to the job enable params

func (*JobEnableParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the job enable params

func (*JobEnableParams) WithIfModifiedSince

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

WithIfModifiedSince adds the ifModifiedSince to the job enable params

func (*JobEnableParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the job enable params

func (*JobEnableParams) WithIfUnmodifiedSince

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

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job enable params

func (*JobEnableParams) WithJobID

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

WithJobID adds the jobID to the job enable params

func (*JobEnableParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job enable params

func (*JobEnableParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job enable params

func (*JobEnableParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job enable params

func (*JobEnableParams) WithTimeout

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

WithTimeout adds the timeout to the job enable params

func (*JobEnableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobEnableReader

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

JobEnableReader is a Reader for the JobEnable structure.

func (*JobEnableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobGetAllJobsLifetimeStatisticsDefault

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

JobGetAllJobsLifetimeStatisticsDefault handles this case with default header values.

The error from the Batch service.

func NewJobGetAllJobsLifetimeStatisticsDefault

func NewJobGetAllJobsLifetimeStatisticsDefault(code int) *JobGetAllJobsLifetimeStatisticsDefault

NewJobGetAllJobsLifetimeStatisticsDefault creates a JobGetAllJobsLifetimeStatisticsDefault with default headers values

func (*JobGetAllJobsLifetimeStatisticsDefault) Code

Code gets the status code for the job get all jobs lifetime statistics default response

func (*JobGetAllJobsLifetimeStatisticsDefault) Error

type JobGetAllJobsLifetimeStatisticsOK

type JobGetAllJobsLifetimeStatisticsOK 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.JobStatistics
}

JobGetAllJobsLifetimeStatisticsOK handles this case with default header values.

A response containing the job statistics for the lifetime of the Batch account.

func NewJobGetAllJobsLifetimeStatisticsOK

func NewJobGetAllJobsLifetimeStatisticsOK() *JobGetAllJobsLifetimeStatisticsOK

NewJobGetAllJobsLifetimeStatisticsOK creates a JobGetAllJobsLifetimeStatisticsOK with default headers values

func (*JobGetAllJobsLifetimeStatisticsOK) Error

type JobGetAllJobsLifetimeStatisticsParams

type JobGetAllJobsLifetimeStatisticsParams 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
	/*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
}

JobGetAllJobsLifetimeStatisticsParams contains all the parameters to send to the API endpoint for the job get all jobs lifetime statistics operation typically these are written to a http.Request

func NewJobGetAllJobsLifetimeStatisticsParams

func NewJobGetAllJobsLifetimeStatisticsParams() *JobGetAllJobsLifetimeStatisticsParams

NewJobGetAllJobsLifetimeStatisticsParams creates a new JobGetAllJobsLifetimeStatisticsParams object with the default values initialized.

func NewJobGetAllJobsLifetimeStatisticsParamsWithContext

func NewJobGetAllJobsLifetimeStatisticsParamsWithContext(ctx context.Context) *JobGetAllJobsLifetimeStatisticsParams

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

func NewJobGetAllJobsLifetimeStatisticsParamsWithTimeout

func NewJobGetAllJobsLifetimeStatisticsParamsWithTimeout(timeout time.Duration) *JobGetAllJobsLifetimeStatisticsParams

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

func (*JobGetAllJobsLifetimeStatisticsParams) SetAPIVersion

func (o *JobGetAllJobsLifetimeStatisticsParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) SetContext

SetContext adds the context to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) SetTimeout

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

SetTimeout adds the timeout to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WithClientRequestID

WithClientRequestID adds the clientRequestID to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WithContext

WithContext adds the context to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WithOcpDate

WithOcpDate adds the ocpDate to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WithTimeout

WithTimeout adds the timeout to the job get all jobs lifetime statistics params

func (*JobGetAllJobsLifetimeStatisticsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type JobGetAllJobsLifetimeStatisticsReader

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

JobGetAllJobsLifetimeStatisticsReader is a Reader for the JobGetAllJobsLifetimeStatistics structure.

func (*JobGetAllJobsLifetimeStatisticsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobGetDefault

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

JobGetDefault handles this case with default header values.

The error from the Batch service.

func NewJobGetDefault

func NewJobGetDefault(code int) *JobGetDefault

NewJobGetDefault creates a JobGetDefault with default headers values

func (*JobGetDefault) Code

func (o *JobGetDefault) Code() int

Code gets the status code for the job get default response

func (*JobGetDefault) Error

func (o *JobGetDefault) Error() string

type JobGetOK

type JobGetOK 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.CloudJob
}

JobGetOK handles this case with default header values.

A response containing the job.

func NewJobGetOK

func NewJobGetOK() *JobGetOK

NewJobGetOK creates a JobGetOK with default headers values

func (*JobGetOK) Error

func (o *JobGetOK) Error() string

type JobGetParams

type JobGetParams 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.

	*/
	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
	/*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
}

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

func NewJobGetParams

func NewJobGetParams() *JobGetParams

NewJobGetParams creates a new JobGetParams object with the default values initialized.

func NewJobGetParamsWithContext

func NewJobGetParamsWithContext(ctx context.Context) *JobGetParams

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

func NewJobGetParamsWithTimeout

func NewJobGetParamsWithTimeout(timeout time.Duration) *JobGetParams

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

func (*JobGetParams) SetAPIVersion

func (o *JobGetParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job get params

func (*JobGetParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job get params

func (*JobGetParams) SetContext

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

SetContext adds the context to the job get params

func (*JobGetParams) SetDollarExpand

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

SetDollarExpand adds the dollarExpand to the job get params

func (*JobGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the job get params

func (*JobGetParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the job get params

func (*JobGetParams) SetIfModifiedSince

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

SetIfModifiedSince adds the ifModifiedSince to the job get params

func (*JobGetParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the job get params

func (*JobGetParams) SetIfUnmodifiedSince

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

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job get params

func (*JobGetParams) SetJobID

func (o *JobGetParams) SetJobID(jobID string)

SetJobID adds the jobId to the job get params

func (*JobGetParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job get params

func (*JobGetParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job get params

func (*JobGetParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job get params

func (*JobGetParams) SetTimeout

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

SetTimeout adds the timeout to the job get params

func (*JobGetParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job get params

func (*JobGetParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job get params

func (*JobGetParams) WithContext

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

WithContext adds the context to the job get params

func (*JobGetParams) WithDollarExpand

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

WithDollarExpand adds the dollarExpand to the job get params

func (*JobGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the job get params

func (*JobGetParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the job get params

func (*JobGetParams) WithIfModifiedSince

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

WithIfModifiedSince adds the ifModifiedSince to the job get params

func (*JobGetParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the job get params

func (*JobGetParams) WithIfUnmodifiedSince

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

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job get params

func (*JobGetParams) WithJobID

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

WithJobID adds the jobID to the job get params

func (*JobGetParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job get params

func (*JobGetParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job get params

func (*JobGetParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job get params

func (*JobGetParams) WithTimeout

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

WithTimeout adds the timeout to the job get params

func (*JobGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobGetReader

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

JobGetReader is a Reader for the JobGet structure.

func (*JobGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobListDefault

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

JobListDefault handles this case with default header values.

The error from the Batch service.

func NewJobListDefault

func NewJobListDefault(code int) *JobListDefault

NewJobListDefault creates a JobListDefault with default headers values

func (*JobListDefault) Code

func (o *JobListDefault) Code() int

Code gets the status code for the job list default response

func (*JobListDefault) Error

func (o *JobListDefault) Error() string

type JobListFromJobScheduleDefault

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

JobListFromJobScheduleDefault handles this case with default header values.

The error from the Batch service.

func NewJobListFromJobScheduleDefault

func NewJobListFromJobScheduleDefault(code int) *JobListFromJobScheduleDefault

NewJobListFromJobScheduleDefault creates a JobListFromJobScheduleDefault with default headers values

func (*JobListFromJobScheduleDefault) Code

Code gets the status code for the job list from job schedule default response

func (*JobListFromJobScheduleDefault) Error

type JobListFromJobScheduleOK

type JobListFromJobScheduleOK 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.CloudJobListResult
}

JobListFromJobScheduleOK handles this case with default header values.

A response containing the list of jobs.

func NewJobListFromJobScheduleOK

func NewJobListFromJobScheduleOK() *JobListFromJobScheduleOK

NewJobListFromJobScheduleOK creates a JobListFromJobScheduleOK with default headers values

func (*JobListFromJobScheduleOK) Error

func (o *JobListFromJobScheduleOK) Error() string

type JobListFromJobScheduleParams

type JobListFromJobScheduleParams 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
	/*JobScheduleID
	  The ID of the job schedule from which you want to get a list of jobs.

	*/
	JobScheduleID string
	/*Maxresults
	  The maximum number of items to return in the response. A maximum of 1000 jobs 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
}

JobListFromJobScheduleParams contains all the parameters to send to the API endpoint for the job list from job schedule operation typically these are written to a http.Request

func NewJobListFromJobScheduleParams

func NewJobListFromJobScheduleParams() *JobListFromJobScheduleParams

NewJobListFromJobScheduleParams creates a new JobListFromJobScheduleParams object with the default values initialized.

func NewJobListFromJobScheduleParamsWithContext

func NewJobListFromJobScheduleParamsWithContext(ctx context.Context) *JobListFromJobScheduleParams

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

func NewJobListFromJobScheduleParamsWithTimeout

func NewJobListFromJobScheduleParamsWithTimeout(timeout time.Duration) *JobListFromJobScheduleParams

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

func (*JobListFromJobScheduleParams) SetAPIVersion

func (o *JobListFromJobScheduleParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetContext

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

SetContext adds the context to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetDollarExpand

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

SetDollarExpand adds the dollarExpand to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetJobScheduleID

func (o *JobListFromJobScheduleParams) SetJobScheduleID(jobScheduleID string)

SetJobScheduleID adds the jobScheduleId to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetMaxresults

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

SetMaxresults adds the maxresults to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job list from job schedule params

func (*JobListFromJobScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithContext

WithContext adds the context to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithDollarExpand

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

WithDollarExpand adds the dollarExpand to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithJobScheduleID

func (o *JobListFromJobScheduleParams) WithJobScheduleID(jobScheduleID string) *JobListFromJobScheduleParams

WithJobScheduleID adds the jobScheduleID to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithMaxresults

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

WithMaxresults adds the maxresults to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithOcpDate

WithOcpDate adds the ocpDate to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job list from job schedule params

func (*JobListFromJobScheduleParams) WithTimeout

WithTimeout adds the timeout to the job list from job schedule params

func (*JobListFromJobScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type JobListFromJobScheduleReader

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

JobListFromJobScheduleReader is a Reader for the JobListFromJobSchedule structure.

func (*JobListFromJobScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobListOK

type JobListOK 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.CloudJobListResult
}

JobListOK handles this case with default header values.

A response containing the list of jobs.

func NewJobListOK

func NewJobListOK() *JobListOK

NewJobListOK creates a JobListOK with default headers values

func (*JobListOK) Error

func (o *JobListOK) Error() string

type JobListParams

type JobListParams 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
	/*Maxresults
	  The maximum number of items to return in the response. A maximum of 1000 jobs 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
}

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

func NewJobListParams

func NewJobListParams() *JobListParams

NewJobListParams creates a new JobListParams object with the default values initialized.

func NewJobListParamsWithContext

func NewJobListParamsWithContext(ctx context.Context) *JobListParams

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

func NewJobListParamsWithTimeout

func NewJobListParamsWithTimeout(timeout time.Duration) *JobListParams

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

func (*JobListParams) SetAPIVersion

func (o *JobListParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job list params

func (*JobListParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job list params

func (*JobListParams) SetContext

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

SetContext adds the context to the job list params

func (*JobListParams) SetDollarExpand

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

SetDollarExpand adds the dollarExpand to the job list params

func (*JobListParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the job list params

func (*JobListParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the job list params

func (*JobListParams) SetMaxresults

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

SetMaxresults adds the maxresults to the job list params

func (*JobListParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job list params

func (*JobListParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job list params

func (*JobListParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job list params

func (*JobListParams) SetTimeout

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

SetTimeout adds the timeout to the job list params

func (*JobListParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job list params

func (*JobListParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job list params

func (*JobListParams) WithContext

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

WithContext adds the context to the job list params

func (*JobListParams) WithDollarExpand

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

WithDollarExpand adds the dollarExpand to the job list params

func (*JobListParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the job list params

func (*JobListParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the job list params

func (*JobListParams) WithMaxresults

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

WithMaxresults adds the maxresults to the job list params

func (*JobListParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job list params

func (*JobListParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job list params

func (*JobListParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job list params

func (*JobListParams) WithTimeout

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

WithTimeout adds the timeout to the job list params

func (*JobListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobListPreparationAndReleaseTaskStatusDefault

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

JobListPreparationAndReleaseTaskStatusDefault handles this case with default header values.

The error from the Batch service. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409.

func NewJobListPreparationAndReleaseTaskStatusDefault

func NewJobListPreparationAndReleaseTaskStatusDefault(code int) *JobListPreparationAndReleaseTaskStatusDefault

NewJobListPreparationAndReleaseTaskStatusDefault creates a JobListPreparationAndReleaseTaskStatusDefault with default headers values

func (*JobListPreparationAndReleaseTaskStatusDefault) Code

Code gets the status code for the job list preparation and release task status default response

func (*JobListPreparationAndReleaseTaskStatusDefault) Error

type JobListPreparationAndReleaseTaskStatusOK

type JobListPreparationAndReleaseTaskStatusOK 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.CloudJobListPreparationAndReleaseTaskStatusResult
}

JobListPreparationAndReleaseTaskStatusOK handles this case with default header values.

A response containing a list of job preparation and job release task statuses.

func NewJobListPreparationAndReleaseTaskStatusOK

func NewJobListPreparationAndReleaseTaskStatusOK() *JobListPreparationAndReleaseTaskStatusOK

NewJobListPreparationAndReleaseTaskStatusOK creates a JobListPreparationAndReleaseTaskStatusOK with default headers values

func (*JobListPreparationAndReleaseTaskStatusOK) Error

type JobListPreparationAndReleaseTaskStatusParams

type JobListPreparationAndReleaseTaskStatusParams struct {

	/*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
}

JobListPreparationAndReleaseTaskStatusParams contains all the parameters to send to the API endpoint for the job list preparation and release task status operation typically these are written to a http.Request

func NewJobListPreparationAndReleaseTaskStatusParams

func NewJobListPreparationAndReleaseTaskStatusParams() *JobListPreparationAndReleaseTaskStatusParams

NewJobListPreparationAndReleaseTaskStatusParams creates a new JobListPreparationAndReleaseTaskStatusParams object with the default values initialized.

func NewJobListPreparationAndReleaseTaskStatusParamsWithContext

func NewJobListPreparationAndReleaseTaskStatusParamsWithContext(ctx context.Context) *JobListPreparationAndReleaseTaskStatusParams

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

func NewJobListPreparationAndReleaseTaskStatusParamsWithTimeout

func NewJobListPreparationAndReleaseTaskStatusParamsWithTimeout(timeout time.Duration) *JobListPreparationAndReleaseTaskStatusParams

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

func (*JobListPreparationAndReleaseTaskStatusParams) SetAPIVersion

func (o *JobListPreparationAndReleaseTaskStatusParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetContext

SetContext adds the context to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetJobID

SetJobID adds the jobId to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetMaxresults

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

SetMaxresults adds the maxresults to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) SetTimeout

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

SetTimeout adds the timeout to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithClientRequestID

WithClientRequestID adds the clientRequestID to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithContext

WithContext adds the context to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithJobID

WithJobID adds the jobID to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithMaxresults

WithMaxresults adds the maxresults to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithOcpDate

WithOcpDate adds the ocpDate to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WithTimeout

WithTimeout adds the timeout to the job list preparation and release task status params

func (*JobListPreparationAndReleaseTaskStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type JobListPreparationAndReleaseTaskStatusReader

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

JobListPreparationAndReleaseTaskStatusReader is a Reader for the JobListPreparationAndReleaseTaskStatus structure.

func (*JobListPreparationAndReleaseTaskStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobListReader

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

JobListReader is a Reader for the JobList structure.

func (*JobListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobPatchDefault

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

JobPatchDefault handles this case with default header values.

The error from the Batch service.

func NewJobPatchDefault

func NewJobPatchDefault(code int) *JobPatchDefault

NewJobPatchDefault creates a JobPatchDefault with default headers values

func (*JobPatchDefault) Code

func (o *JobPatchDefault) Code() int

Code gets the status code for the job patch default response

func (*JobPatchDefault) Error

func (o *JobPatchDefault) Error() string

type JobPatchOK

type JobPatchOK 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
}

JobPatchOK handles this case with default header values.

The request to the Batch service was successful.

func NewJobPatchOK

func NewJobPatchOK() *JobPatchOK

NewJobPatchOK creates a JobPatchOK with default headers values

func (*JobPatchOK) Error

func (o *JobPatchOK) Error() string

type JobPatchParams

type JobPatchParams 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 whose properties you want to update.

	*/
	JobID string
	/*JobPatchParameter
	  The parameters for the request.

	*/
	JobPatchParameter *models.JobPatchParameter
	/*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
}

JobPatchParams contains all the parameters to send to the API endpoint for the job patch operation typically these are written to a http.Request

func NewJobPatchParams

func NewJobPatchParams() *JobPatchParams

NewJobPatchParams creates a new JobPatchParams object with the default values initialized.

func NewJobPatchParamsWithContext

func NewJobPatchParamsWithContext(ctx context.Context) *JobPatchParams

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

func NewJobPatchParamsWithTimeout

func NewJobPatchParamsWithTimeout(timeout time.Duration) *JobPatchParams

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

func (*JobPatchParams) SetAPIVersion

func (o *JobPatchParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job patch params

func (*JobPatchParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job patch params

func (*JobPatchParams) SetContext

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

SetContext adds the context to the job patch params

func (*JobPatchParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the job patch params

func (*JobPatchParams) SetIfModifiedSince

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

SetIfModifiedSince adds the ifModifiedSince to the job patch params

func (*JobPatchParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the job patch params

func (*JobPatchParams) SetIfUnmodifiedSince

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

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job patch params

func (*JobPatchParams) SetJobID

func (o *JobPatchParams) SetJobID(jobID string)

SetJobID adds the jobId to the job patch params

func (*JobPatchParams) SetJobPatchParameter

func (o *JobPatchParams) SetJobPatchParameter(jobPatchParameter *models.JobPatchParameter)

SetJobPatchParameter adds the jobPatchParameter to the job patch params

func (*JobPatchParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job patch params

func (*JobPatchParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job patch params

func (*JobPatchParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job patch params

func (*JobPatchParams) SetTimeout

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

SetTimeout adds the timeout to the job patch params

func (*JobPatchParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job patch params

func (*JobPatchParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job patch params

func (*JobPatchParams) WithContext

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

WithContext adds the context to the job patch params

func (*JobPatchParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the job patch params

func (*JobPatchParams) WithIfModifiedSince

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

WithIfModifiedSince adds the ifModifiedSince to the job patch params

func (*JobPatchParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the job patch params

func (*JobPatchParams) WithIfUnmodifiedSince

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

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job patch params

func (*JobPatchParams) WithJobID

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

WithJobID adds the jobID to the job patch params

func (*JobPatchParams) WithJobPatchParameter

func (o *JobPatchParams) WithJobPatchParameter(jobPatchParameter *models.JobPatchParameter) *JobPatchParams

WithJobPatchParameter adds the jobPatchParameter to the job patch params

func (*JobPatchParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job patch params

func (*JobPatchParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job patch params

func (*JobPatchParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job patch params

func (*JobPatchParams) WithTimeout

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

WithTimeout adds the timeout to the job patch params

func (*JobPatchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobPatchReader

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

JobPatchReader is a Reader for the JobPatch structure.

func (*JobPatchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobTerminateAccepted

type JobTerminateAccepted 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
}

JobTerminateAccepted handles this case with default header values.

The request to the Batch service was successful.

func NewJobTerminateAccepted

func NewJobTerminateAccepted() *JobTerminateAccepted

NewJobTerminateAccepted creates a JobTerminateAccepted with default headers values

func (*JobTerminateAccepted) Error

func (o *JobTerminateAccepted) Error() string

type JobTerminateDefault

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

JobTerminateDefault handles this case with default header values.

The error from the Batch service.

func NewJobTerminateDefault

func NewJobTerminateDefault(code int) *JobTerminateDefault

NewJobTerminateDefault creates a JobTerminateDefault with default headers values

func (*JobTerminateDefault) Code

func (o *JobTerminateDefault) Code() int

Code gets the status code for the job terminate default response

func (*JobTerminateDefault) Error

func (o *JobTerminateDefault) Error() string

type JobTerminateParams

type JobTerminateParams 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 to terminate.

	*/
	JobID string
	/*JobTerminateParameter
	  The parameters for the request.

	*/
	JobTerminateParameter *models.JobTerminateParameter
	/*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
}

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

func NewJobTerminateParams

func NewJobTerminateParams() *JobTerminateParams

NewJobTerminateParams creates a new JobTerminateParams object with the default values initialized.

func NewJobTerminateParamsWithContext

func NewJobTerminateParamsWithContext(ctx context.Context) *JobTerminateParams

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

func NewJobTerminateParamsWithTimeout

func NewJobTerminateParamsWithTimeout(timeout time.Duration) *JobTerminateParams

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

func (*JobTerminateParams) SetAPIVersion

func (o *JobTerminateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job terminate params

func (*JobTerminateParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job terminate params

func (*JobTerminateParams) SetContext

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

SetContext adds the context to the job terminate params

func (*JobTerminateParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the job terminate params

func (*JobTerminateParams) SetIfModifiedSince

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

SetIfModifiedSince adds the ifModifiedSince to the job terminate params

func (*JobTerminateParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the job terminate params

func (*JobTerminateParams) SetIfUnmodifiedSince

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

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job terminate params

func (*JobTerminateParams) SetJobID

func (o *JobTerminateParams) SetJobID(jobID string)

SetJobID adds the jobId to the job terminate params

func (*JobTerminateParams) SetJobTerminateParameter

func (o *JobTerminateParams) SetJobTerminateParameter(jobTerminateParameter *models.JobTerminateParameter)

SetJobTerminateParameter adds the jobTerminateParameter to the job terminate params

func (*JobTerminateParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job terminate params

func (*JobTerminateParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job terminate params

func (*JobTerminateParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job terminate params

func (*JobTerminateParams) SetTimeout

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

SetTimeout adds the timeout to the job terminate params

func (*JobTerminateParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job terminate params

func (*JobTerminateParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job terminate params

func (*JobTerminateParams) WithContext

WithContext adds the context to the job terminate params

func (*JobTerminateParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the job terminate params

func (*JobTerminateParams) WithIfModifiedSince

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

WithIfModifiedSince adds the ifModifiedSince to the job terminate params

func (*JobTerminateParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the job terminate params

func (*JobTerminateParams) WithIfUnmodifiedSince

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

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job terminate params

func (*JobTerminateParams) WithJobID

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

WithJobID adds the jobID to the job terminate params

func (*JobTerminateParams) WithJobTerminateParameter

func (o *JobTerminateParams) WithJobTerminateParameter(jobTerminateParameter *models.JobTerminateParameter) *JobTerminateParams

WithJobTerminateParameter adds the jobTerminateParameter to the job terminate params

func (*JobTerminateParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job terminate params

func (*JobTerminateParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job terminate params

func (*JobTerminateParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job terminate params

func (*JobTerminateParams) WithTimeout

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

WithTimeout adds the timeout to the job terminate params

func (*JobTerminateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobTerminateReader

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

JobTerminateReader is a Reader for the JobTerminate structure.

func (*JobTerminateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JobUpdateDefault

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

JobUpdateDefault handles this case with default header values.

The error from the Batch service.

func NewJobUpdateDefault

func NewJobUpdateDefault(code int) *JobUpdateDefault

NewJobUpdateDefault creates a JobUpdateDefault with default headers values

func (*JobUpdateDefault) Code

func (o *JobUpdateDefault) Code() int

Code gets the status code for the job update default response

func (*JobUpdateDefault) Error

func (o *JobUpdateDefault) Error() string

type JobUpdateOK

type JobUpdateOK 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
}

JobUpdateOK handles this case with default header values.

The request to the Batch service was successful.

func NewJobUpdateOK

func NewJobUpdateOK() *JobUpdateOK

NewJobUpdateOK creates a JobUpdateOK with default headers values

func (*JobUpdateOK) Error

func (o *JobUpdateOK) Error() string

type JobUpdateParams

type JobUpdateParams 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 whose properties you want to update.

	*/
	JobID string
	/*JobUpdateParameter
	  The parameters for the request.

	*/
	JobUpdateParameter *models.JobUpdateParameter
	/*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
}

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

func NewJobUpdateParams

func NewJobUpdateParams() *JobUpdateParams

NewJobUpdateParams creates a new JobUpdateParams object with the default values initialized.

func NewJobUpdateParamsWithContext

func NewJobUpdateParamsWithContext(ctx context.Context) *JobUpdateParams

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

func NewJobUpdateParamsWithTimeout

func NewJobUpdateParamsWithTimeout(timeout time.Duration) *JobUpdateParams

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

func (*JobUpdateParams) SetAPIVersion

func (o *JobUpdateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the job update params

func (*JobUpdateParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the job update params

func (*JobUpdateParams) SetContext

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

SetContext adds the context to the job update params

func (*JobUpdateParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the job update params

func (*JobUpdateParams) SetIfModifiedSince

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

SetIfModifiedSince adds the ifModifiedSince to the job update params

func (*JobUpdateParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the job update params

func (*JobUpdateParams) SetIfUnmodifiedSince

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

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job update params

func (*JobUpdateParams) SetJobID

func (o *JobUpdateParams) SetJobID(jobID string)

SetJobID adds the jobId to the job update params

func (*JobUpdateParams) SetJobUpdateParameter

func (o *JobUpdateParams) SetJobUpdateParameter(jobUpdateParameter *models.JobUpdateParameter)

SetJobUpdateParameter adds the jobUpdateParameter to the job update params

func (*JobUpdateParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the job update params

func (*JobUpdateParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the job update params

func (*JobUpdateParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the job update params

func (*JobUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the job update params

func (*JobUpdateParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the job update params

func (*JobUpdateParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the job update params

func (*JobUpdateParams) WithContext

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

WithContext adds the context to the job update params

func (*JobUpdateParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the job update params

func (*JobUpdateParams) WithIfModifiedSince

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

WithIfModifiedSince adds the ifModifiedSince to the job update params

func (*JobUpdateParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the job update params

func (*JobUpdateParams) WithIfUnmodifiedSince

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

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job update params

func (*JobUpdateParams) WithJobID

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

WithJobID adds the jobID to the job update params

func (*JobUpdateParams) WithJobUpdateParameter

func (o *JobUpdateParams) WithJobUpdateParameter(jobUpdateParameter *models.JobUpdateParameter) *JobUpdateParams

WithJobUpdateParameter adds the jobUpdateParameter to the job update params

func (*JobUpdateParams) WithOcpDate

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

WithOcpDate adds the ocpDate to the job update params

func (*JobUpdateParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the job update params

func (*JobUpdateParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the job update params

func (*JobUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the job update params

func (*JobUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JobUpdateReader

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

JobUpdateReader is a Reader for the JobUpdate structure.

func (*JobUpdateReader) ReadResponse

func (o *JobUpdateReader) 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