Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateJobArtifactRequest

example

Click here to see how to use CreateJobArtifactRequest.

Hierarchy

Properties

Optional contentDisposition

contentDisposition: undefined | string

This header is for specifying a filename during upload. It is used to identify the file type and validate if the file type is supported. Example: {@code --content-disposition "attachment; filename=hello-world.py"}

Optional contentLength

contentLength: undefined | number

The content length of the body.

jobArtifact

jobArtifact: Uint8Array | Buffer | Blob | stream.Readable | ReadableStream | string

The job artifact to upload.

jobId

jobId: string

The OCID of the job.

Optional opcRequestId

opcRequestId: undefined | string

Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID.

Optional opcRetryToken

opcRetryToken: undefined | string

A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

Optional retryConfiguration

retryConfiguration: RetryConfiguration

RetryConfiguration to be used for the request NOTE : Retries are not supported for requests that have binary or stream bodies this also affects UploadManager operations For all requests with binary/stream bodies, retry attempts are not made