RunInner Class

  • java.lang.Object
    • ProxyResource
      • com.microsoft.azure.management.containerregistry.implementation.RunInner

public class RunInner

Run resource properties.

Method Summary

Modifier and Type Method and Description
AgentProperties agentConfiguration()

Get the machine configuration of the run agent.

DateTime createTime()

Get the time the run was scheduled.

DateTime finishTime()

Get the time the run finished.

ImageUpdateTrigger imageUpdateTrigger()

Get the image update trigger that caused the run. This is applicable if the task has base image trigger configured.

Boolean isArchiveEnabled()

Get the value that indicates whether archiving is enabled or not.

DateTime lastUpdatedTime()

Get the last updated time for the run.

List<ImageDescriptor> outputImages()

Get the list of all images that were generated from the run. This is applicable if the run generates base image dependencies.

PlatformProperties platform()

Get the platform properties against which the run will happen.

ProvisioningState provisioningState()

Get the provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'.

String runId()

Get the unique identifier for the run.

RunType runType()

Get the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'.

SourceTriggerDescriptor sourceTrigger()

Get the source trigger that caused the run.

DateTime startTime()

Get the time the run started.

RunStatus status()

Get the current status of the run. Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'.

String task()

Get the task against which run was scheduled.

RunInner withAgentConfiguration(AgentProperties agentConfiguration)

Set the machine configuration of the run agent.

RunInner withCreateTime(DateTime createTime)

Set the time the run was scheduled.

RunInner withFinishTime(DateTime finishTime)

Set the time the run finished.

RunInner withImageUpdateTrigger(ImageUpdateTrigger imageUpdateTrigger)

Set the image update trigger that caused the run. This is applicable if the task has base image trigger configured.

RunInner withIsArchiveEnabled(Boolean isArchiveEnabled)

Set the value that indicates whether archiving is enabled or not.

RunInner withLastUpdatedTime(DateTime lastUpdatedTime)

Set the last updated time for the run.

RunInner withOutputImages(List<ImageDescriptor> outputImages)

Set the list of all images that were generated from the run. This is applicable if the run generates base image dependencies.

RunInner withPlatform(PlatformProperties platform)

Set the platform properties against which the run will happen.

RunInner withProvisioningState(ProvisioningState provisioningState)

Set the provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'.

RunInner withRunId(String runId)

Set the unique identifier for the run.

RunInner withRunType(RunType runType)

Set the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'.

RunInner withSourceTrigger(SourceTriggerDescriptor sourceTrigger)

Set the source trigger that caused the run.

RunInner withStartTime(DateTime startTime)

Set the time the run started.

RunInner withStatus(RunStatus status)

Set the current status of the run. Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'.

RunInner withTask(String task)

Set the task against which run was scheduled.

Method Details

agentConfiguration

public AgentProperties agentConfiguration()

Get the machine configuration of the run agent.

Returns:

the agentConfiguration value

createTime

public DateTime createTime()

Get the time the run was scheduled.

Returns:

the createTime value

finishTime

public DateTime finishTime()

Get the time the run finished.

Returns:

the finishTime value

imageUpdateTrigger

public ImageUpdateTrigger imageUpdateTrigger()

Get the image update trigger that caused the run. This is applicable if the task has base image trigger configured.

Returns:

the imageUpdateTrigger value

isArchiveEnabled

public Boolean isArchiveEnabled()

Get the value that indicates whether archiving is enabled or not.

Returns:

the isArchiveEnabled value

lastUpdatedTime

public DateTime lastUpdatedTime()

Get the last updated time for the run.

Returns:

the lastUpdatedTime value

outputImages

public List outputImages()

Get the list of all images that were generated from the run. This is applicable if the run generates base image dependencies.

Returns:

the outputImages value

platform

public PlatformProperties platform()

Get the platform properties against which the run will happen.

Returns:

the platform value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'.

Returns:

the provisioningState value

runId

public String runId()

Get the unique identifier for the run.

Returns:

the runId value

runType

public RunType runType()

Get the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'.

Returns:

the runType value

sourceTrigger

public SourceTriggerDescriptor sourceTrigger()

Get the source trigger that caused the run.

Returns:

the sourceTrigger value

startTime

public DateTime startTime()

Get the time the run started.

Returns:

the startTime value

status

public RunStatus status()

Get the current status of the run. Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'.

Returns:

the status value

task

public String task()

Get the task against which run was scheduled.

Returns:

the task value

withAgentConfiguration

public RunInner withAgentConfiguration(AgentProperties agentConfiguration)

Set the machine configuration of the run agent.

Parameters:

agentConfiguration - the agentConfiguration value to set

Returns:

the RunInner object itself.

withCreateTime

public RunInner withCreateTime(DateTime createTime)

Set the time the run was scheduled.

Parameters:

createTime - the createTime value to set

Returns:

the RunInner object itself.

withFinishTime

public RunInner withFinishTime(DateTime finishTime)

Set the time the run finished.

Parameters:

finishTime - the finishTime value to set

Returns:

the RunInner object itself.

withImageUpdateTrigger

public RunInner withImageUpdateTrigger(ImageUpdateTrigger imageUpdateTrigger)

Set the image update trigger that caused the run. This is applicable if the task has base image trigger configured.

Parameters:

imageUpdateTrigger - the imageUpdateTrigger value to set

Returns:

the RunInner object itself.

withIsArchiveEnabled

public RunInner withIsArchiveEnabled(Boolean isArchiveEnabled)

Set the value that indicates whether archiving is enabled or not.

Parameters:

isArchiveEnabled - the isArchiveEnabled value to set

Returns:

the RunInner object itself.

withLastUpdatedTime

public RunInner withLastUpdatedTime(DateTime lastUpdatedTime)

Set the last updated time for the run.

Parameters:

lastUpdatedTime - the lastUpdatedTime value to set

Returns:

the RunInner object itself.

withOutputImages

public RunInner withOutputImages(List outputImages)

Set the list of all images that were generated from the run. This is applicable if the run generates base image dependencies.

Parameters:

outputImages - the outputImages value to set

Returns:

the RunInner object itself.

withPlatform

public RunInner withPlatform(PlatformProperties platform)

Set the platform properties against which the run will happen.

Parameters:

platform - the platform value to set

Returns:

the RunInner object itself.

withProvisioningState

public RunInner withProvisioningState(ProvisioningState provisioningState)

Set the provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'.

Parameters:

provisioningState - the provisioningState value to set

Returns:

the RunInner object itself.

withRunId

public RunInner withRunId(String runId)

Set the unique identifier for the run.

Parameters:

runId - the runId value to set

Returns:

the RunInner object itself.

withRunType

public RunInner withRunType(RunType runType)

Set the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'.

Parameters:

runType - the runType value to set

Returns:

the RunInner object itself.

withSourceTrigger

public RunInner withSourceTrigger(SourceTriggerDescriptor sourceTrigger)

Set the source trigger that caused the run.

Parameters:

sourceTrigger - the sourceTrigger value to set

Returns:

the RunInner object itself.

withStartTime

public RunInner withStartTime(DateTime startTime)

Set the time the run started.

Parameters:

startTime - the startTime value to set

Returns:

the RunInner object itself.

withStatus

public RunInner withStatus(RunStatus status)

Set the current status of the run. Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'.

Parameters:

status - the status value to set

Returns:

the RunInner object itself.

withTask

public RunInner withTask(String task)

Set the task against which run was scheduled.

Parameters:

task - the task value to set

Returns:

the RunInner object itself.

Applies to