RunInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerregistry. fluent. models. RunInner
- com.
- com.
public final class RunInner
extends ProxyResource
Run resource properties.
Constructor Summary
Constructor | Description |
---|---|
RunInner() |
Creates an instance of Run |
Method Summary
Modifier and Type | Method and Description |
---|---|
Agent |
agentConfiguration()
Get the agent |
String |
agentPoolName()
Get the agent |
Offset |
createTime()
Get the create |
List<String> |
customRegistries()
Get the custom |
Offset |
finishTime()
Get the finish |
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Image |
imageUpdateTrigger()
Get the image |
Boolean |
isArchiveEnabled()
Get the is |
Offset |
lastUpdatedTime()
Get the last |
Image |
logArtifact()
Get the log |
String |
name()
Get the name property: The name of the resource. |
List<Image |
outputImages()
Get the output |
Platform |
platform()
Get the platform property: The platform properties against which the run will happen. |
Provisioning |
provisioningState()
Get the provisioning |
String |
runErrorMessage()
Get the run |
String |
runId()
Get the run |
Run |
runType()
Get the run |
String |
sourceRegistryAuth()
Get the source |
Source |
sourceTrigger()
Get the source |
Offset |
startTime()
Get the start |
Run |
status()
Get the status property: The current status of the run. |
System |
systemData()
Get the system |
String |
task()
Get the task property: The task against which run was scheduled. |
Timer |
timerTrigger()
Get the timer |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
String |
updateTriggerToken()
Get the update |
void |
validate()
Validates the instance. |
Run |
withAgentConfiguration(AgentProperties agentConfiguration)
Set the agent |
Run |
withAgentPoolName(String agentPoolName)
Set the agent |
Run |
withCreateTime(OffsetDateTime createTime)
Set the create |
Run |
withCustomRegistries(List<String> customRegistries)
Set the custom |
Run |
withFinishTime(OffsetDateTime finishTime)
Set the finish |
Run |
withImageUpdateTrigger(ImageUpdateTrigger imageUpdateTrigger)
Set the image |
Run |
withIsArchiveEnabled(Boolean isArchiveEnabled)
Set the is |
Run |
withLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the last |
Run |
withOutputImages(List<ImageDescriptor> outputImages)
Set the output |
Run |
withPlatform(PlatformProperties platform)
Set the platform property: The platform properties against which the run will happen. |
Run |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning |
Run |
withRunId(String runId)
Set the run |
Run |
withRunType(RunType runType)
Set the run |
Run |
withSourceRegistryAuth(String sourceRegistryAuth)
Set the source |
Run |
withSourceTrigger(SourceTriggerDescriptor sourceTrigger)
Set the source |
Run |
withStartTime(OffsetDateTime startTime)
Set the start |
Run |
withStatus(RunStatus status)
Set the status property: The current status of the run. |
Run |
withTask(String task)
Set the task property: The task against which run was scheduled. |
Run |
withTimerTrigger(TimerTriggerDescriptor timerTrigger)
Set the timer |
Run |
withUpdateTriggerToken(String updateTriggerToken)
Set the update |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RunInner
public RunInner()
Creates an instance of RunInner class.
Method Details
agentConfiguration
public AgentProperties agentConfiguration()
Get the agentConfiguration property: The machine configuration of the run agent.
Returns:
agentPoolName
public String agentPoolName()
Get the agentPoolName property: The dedicated agent pool for the run.
Returns:
createTime
public OffsetDateTime createTime()
Get the createTime property: The time the run was scheduled.
Returns:
customRegistries
public List
Get the customRegistries property: The list of custom registries that were logged in during this run.
Returns:
finishTime
public OffsetDateTime finishTime()
Get the finishTime property: The time the run finished.
Returns:
fromJson
public static RunInner fromJson(JsonReader jsonReader)
Reads an instance of RunInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RunInner.id()Returns:
imageUpdateTrigger
public ImageUpdateTrigger imageUpdateTrigger()
Get the imageUpdateTrigger property: 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 isArchiveEnabled property: The value that indicates whether archiving is enabled or not.
Returns:
lastUpdatedTime
public OffsetDateTime lastUpdatedTime()
Get the lastUpdatedTime property: The last updated time for the run.
Returns:
logArtifact
public ImageDescriptor logArtifact()
Get the logArtifact property: The image description for the log artifact.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RunInner.name()Returns:
outputImages
public List
Get the outputImages property: 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 property: The platform properties against which the run will happen.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of a run.
Returns:
runErrorMessage
public String runErrorMessage()
Get the runErrorMessage property: The error message received from backend systems after the run is scheduled.
Returns:
runId
public String runId()
Get the runId property: The unique identifier for the run.
Returns:
runType
public RunType runType()
Get the runType property: The type of run.
Returns:
sourceRegistryAuth
public String sourceRegistryAuth()
Get the sourceRegistryAuth property: The scope of the credentials that were used to login to the source registry during this run.
Returns:
sourceTrigger
public SourceTriggerDescriptor sourceTrigger()
Get the sourceTrigger property: The source trigger that caused the run.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The time the run started.
Returns:
status
public RunStatus status()
Get the status property: The current status of the run.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
task
public String task()
Get the task property: The task against which run was scheduled.
Returns:
timerTrigger
public TimerTriggerDescriptor timerTrigger()
Get the timerTrigger property: The timer trigger that caused the run.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RunInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RunInner.type()Returns:
updateTriggerToken
public String updateTriggerToken()
Get the updateTriggerToken property: The update trigger token passed for the Run.
Returns:
validate
public void validate()
Validates the instance.
withAgentConfiguration
public RunInner withAgentConfiguration(AgentProperties agentConfiguration)
Set the agentConfiguration property: The machine configuration of the run agent.
Parameters:
Returns:
withAgentPoolName
public RunInner withAgentPoolName(String agentPoolName)
Set the agentPoolName property: The dedicated agent pool for the run.
Parameters:
Returns:
withCreateTime
public RunInner withCreateTime(OffsetDateTime createTime)
Set the createTime property: The time the run was scheduled.
Parameters:
Returns:
withCustomRegistries
public RunInner withCustomRegistries(List
Set the customRegistries property: The list of custom registries that were logged in during this run.
Parameters:
Returns:
withFinishTime
public RunInner withFinishTime(OffsetDateTime finishTime)
Set the finishTime property: The time the run finished.
Parameters:
Returns:
withImageUpdateTrigger
public RunInner withImageUpdateTrigger(ImageUpdateTrigger imageUpdateTrigger)
Set the imageUpdateTrigger property: 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 isArchiveEnabled property: The value that indicates whether archiving is enabled or not.
Parameters:
Returns:
withLastUpdatedTime
public RunInner withLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the lastUpdatedTime property: The last updated time for the run.
Parameters:
Returns:
withOutputImages
public RunInner withOutputImages(List
Set the outputImages property: 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 property: The platform properties against which the run will happen.
Parameters:
Returns:
withProvisioningState
public RunInner withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: The provisioning state of a run.
Parameters:
Returns:
withRunId
public RunInner withRunId(String runId)
Set the runId property: The unique identifier for the run.
Parameters:
Returns:
withRunType
public RunInner withRunType(RunType runType)
Set the runType property: The type of run.
Parameters:
Returns:
withSourceRegistryAuth
public RunInner withSourceRegistryAuth(String sourceRegistryAuth)
Set the sourceRegistryAuth property: The scope of the credentials that were used to login to the source registry during this run.
Parameters:
Returns:
withSourceTrigger
public RunInner withSourceTrigger(SourceTriggerDescriptor sourceTrigger)
Set the sourceTrigger property: The source trigger that caused the run.
Parameters:
Returns:
withStartTime
public RunInner withStartTime(OffsetDateTime startTime)
Set the startTime property: The time the run started.
Parameters:
Returns:
withStatus
public RunInner withStatus(RunStatus status)
Set the status property: The current status of the run.
Parameters:
Returns:
withTask
public RunInner withTask(String task)
Set the task property: The task against which run was scheduled.
Parameters:
Returns:
withTimerTrigger
public RunInner withTimerTrigger(TimerTriggerDescriptor timerTrigger)
Set the timerTrigger property: The timer trigger that caused the run.
Parameters:
Returns:
withUpdateTriggerToken
public RunInner withUpdateTriggerToken(String updateTriggerToken)
Set the updateTriggerToken property: The update trigger token passed for the Run.
Parameters:
Returns:
Applies to
Azure SDK for Java