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:

  • Reference InternalOpenGateAPI - to the API object.

toJson
function toJson() -> '*'

Returns:

  • *

update
function update()

withEnvFrom
function withEnvFrom(imageExecutionEnvFrom: array) -> 'ImageExecution'

Sets the env from for imageExecution

Arguments:

  • imageExecutionEnvFrom array

Returns:

  • ImageExecution

withEnvVars
function withEnvVars(imageExecutionEnvVars: object) -> 'ImageExecution'

Sets the env vars for imageExecution

Arguments:

  • imageExecutionEnvVars object

Returns:

  • ImageExecution

withIdentifier
function withIdentifier(identifier: string) -> 'ImageExecution'

Sets the identifier attribute

Arguments:

  • identifier string

Returns:

  • ImageExecution

withMaxTimeToWaitCallback
function withMaxTimeToWaitCallback(asyncResponseMaxTimeToWaitCallback: string) -> 'ImageExecution'

Sets the async response with selected timeout

Arguments:

  • asyncResponseMaxTimeToWaitCallback string

Returns:

  • ImageExecution

withName
function withName(imageExecutionName: string) -> 'ImageExecution'

Sets the name for imageExecution

Arguments:

  • imageExecutionName string

Returns:

  • ImageExecution

withOrganization
function withOrganization(organization: string) -> 'Channels'

Set the organization attribute

Arguments:

  • organization string

Returns:

  • Channels

withScheduleCronExpression
function withScheduleCronExpression(cronExpression: string) -> 'ImageExecution'

Sets the crontab expression for schedule

Arguments:

  • cronExpression string

Returns:

  • ImageExecution

withScheduleImmediateExecution
function withScheduleImmediateExecution(isImmediateExecution: boolean) -> 'ImageExecution'

Sets the isImmediateExecution attribute for schedule

Arguments:

  • isImmediateExecution boolean

Returns:

  • ImageExecution

withTag
function withTag(imageExecutionTag: string) -> 'ImageExecution'

Sets the tag for imageExecution

Arguments:

  • imageExecutionTag string

Returns:

  • ImageExecution

withTimeout
function withTimeout(timeout: string) -> 'ImageExecution'

Sets the execution timeout for imageExecution

Arguments:

  • timeout string

Returns:

  • ImageExecution