RunInner Class
- java.
lang. Object - ProxyResource
- com.
microsoft. azure. management. containerregistry. implementation. RunInner
- com.
public class RunInner
Run resource properties.
Method Summary
Modifier and Type | Method and Description |
---|---|
Agent |
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. |
Image |
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<Image |
outputImages()
Get the list of all images that were generated from the run. This is applicable if the run generates base image dependencies. |
Platform |
platform()
Get the platform properties against which the run will happen. |
Provisioning |
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. |
Run |
runType()
Get the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'. |
Source |
sourceTrigger()
Get the source trigger that caused the run. |
DateTime |
startTime()
Get the time the run started. |
Run |
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. |
Run |
withAgentConfiguration(AgentProperties agentConfiguration)
Set the machine configuration of the run agent. |
Run |
withCreateTime(DateTime createTime)
Set the time the run was scheduled. |
Run |
withFinishTime(DateTime finishTime)
Set the time the run finished. |
Run |
withImageUpdateTrigger(ImageUpdateTrigger imageUpdateTrigger)
Set the image update trigger that caused the run. This is applicable if the task has base image trigger configured. |
Run |
withIsArchiveEnabled(Boolean isArchiveEnabled)
Set the value that indicates whether archiving is enabled or not. |
Run |
withLastUpdatedTime(DateTime lastUpdatedTime)
Set the last updated time for the run. |
Run |
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. |
Run |
withPlatform(PlatformProperties platform)
Set the platform properties against which the run will happen. |
Run |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'. |
Run |
withRunId(String runId)
Set the unique identifier for the run. |
Run |
withRunType(RunType runType)
Set the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'. |
Run |
withSourceTrigger(SourceTriggerDescriptor sourceTrigger)
Set the source trigger that caused the run. |
Run |
withStartTime(DateTime startTime)
Set the time the run started. |
Run |
withStatus(RunStatus status)
Set the current status of the run. Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'. |
Run |
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:
createTime
public DateTime createTime()
Get the time the run was scheduled.
Returns:
finishTime
public DateTime finishTime()
Get the time the run finished.
Returns:
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:
isArchiveEnabled
public Boolean isArchiveEnabled()
Get the value that indicates whether archiving is enabled or not.
Returns:
lastUpdatedTime
public DateTime lastUpdatedTime()
Get the last updated time for the run.
Returns:
outputImages
public List
Get the list of all images that were generated from the run. This is applicable if the run generates base image dependencies.
Returns:
platform
public PlatformProperties platform()
Get the platform properties against which the run will happen.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'.
Returns:
runId
public String runId()
Get the unique identifier for the run.
Returns:
runType
public RunType runType()
Get the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'.
Returns:
sourceTrigger
public SourceTriggerDescriptor sourceTrigger()
Get the source trigger that caused the run.
Returns:
startTime
public DateTime startTime()
Get the time the run started.
Returns:
status
public RunStatus status()
Get the current status of the run. Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'.
Returns:
task
public String task()
Get the task against which run was scheduled.
Returns:
withAgentConfiguration
public RunInner withAgentConfiguration(AgentProperties agentConfiguration)
Set the machine configuration of the run agent.
Parameters:
Returns:
withCreateTime
public RunInner withCreateTime(DateTime createTime)
Set the time the run was scheduled.
Parameters:
Returns:
withFinishTime
public RunInner withFinishTime(DateTime finishTime)
Set the time the run finished.
Parameters:
Returns:
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:
Returns:
withIsArchiveEnabled
public RunInner withIsArchiveEnabled(Boolean isArchiveEnabled)
Set the value that indicates whether archiving is enabled or not.
Parameters:
Returns:
withLastUpdatedTime
public RunInner withLastUpdatedTime(DateTime lastUpdatedTime)
Set the last updated time for the run.
Parameters:
Returns:
withOutputImages
public RunInner withOutputImages(List
Set the list of all images that were generated from the run. This is applicable if the run generates base image dependencies.
Parameters:
Returns:
withPlatform
public RunInner withPlatform(PlatformProperties platform)
Set the platform properties against which the run will happen.
Parameters:
Returns:
withProvisioningState
public RunInner withProvisioningState(ProvisioningState provisioningState)
Set the provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'.
Parameters:
Returns:
withRunId
public RunInner withRunId(String runId)
Set the unique identifier for the run.
Parameters:
Returns:
withRunType
public RunInner withRunType(RunType runType)
Set the type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'.
Parameters:
Returns:
withSourceTrigger
public RunInner withSourceTrigger(SourceTriggerDescriptor sourceTrigger)
Set the source trigger that caused the run.
Parameters:
Returns:
withStartTime
public RunInner withStartTime(DateTime startTime)
Set the time the run started.
Parameters:
Returns:
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:
Returns:
withTask
public RunInner withTask(String task)
Set the task against which run was scheduled.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for