Image Execution
ImageExecution
ImageExecution Objects
class ImageExecution()This is a base object that contains all you can do about Bundles.
constructor
function constructor()Constructor
Arguments:
ReferenceInternalOpenGateAPI - to the API object.
toJson
function toJson() -> '*'Returns:
*
update
function update()withEnvFrom
function withEnvFrom(imageExecutionEnvFrom: array) -> 'ImageExecution'Sets the env from for imageExecution
Arguments:
imageExecutionEnvFromarray
Returns:
ImageExecution
withEnvVars
function withEnvVars(imageExecutionEnvVars: object) -> 'ImageExecution'Sets the env vars for imageExecution
Arguments:
imageExecutionEnvVarsobject
Returns:
ImageExecution
withIdentifier
function withIdentifier(identifier: string) -> 'ImageExecution'Sets the identifier attribute
Arguments:
identifierstring
Returns:
ImageExecution
withMaxTimeToWaitCallback
function withMaxTimeToWaitCallback(asyncResponseMaxTimeToWaitCallback: string) -> 'ImageExecution'Sets the async response with selected timeout
Arguments:
asyncResponseMaxTimeToWaitCallbackstring
Returns:
ImageExecution
withName
function withName(imageExecutionName: string) -> 'ImageExecution'Sets the name for imageExecution
Arguments:
imageExecutionNamestring
Returns:
ImageExecution
withOrganization
function withOrganization(organization: string) -> 'Channels'Set the organization attribute
Arguments:
organizationstring
Returns:
Channels
withScheduleCronExpression
function withScheduleCronExpression(cronExpression: string) -> 'ImageExecution'Sets the crontab expression for schedule
Arguments:
cronExpressionstring
Returns:
ImageExecution
withScheduleImmediateExecution
function withScheduleImmediateExecution(isImmediateExecution: boolean) -> 'ImageExecution'Sets the isImmediateExecution attribute for schedule
Arguments:
isImmediateExecutionboolean
Returns:
ImageExecution
withTag
function withTag(imageExecutionTag: string) -> 'ImageExecution'Sets the tag for imageExecution
Arguments:
imageExecutionTagstring
Returns:
ImageExecution
withTimeout
function withTimeout(timeout: string) -> 'ImageExecution'Sets the execution timeout for imageExecution
Arguments:
timeoutstring
Returns:
ImageExecution