Class RunInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.containerregistry.fluent.models.RunInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class RunInner
extends com.azure.core.management.ProxyResource
Run resource properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the agentConfiguration property: The machine configuration of the run agent.Get the agentPoolName property: The dedicated agent pool for the run.Get the createTime property: The time the run was scheduled.Get the customRegistries property: The list of custom registries that were logged in during this run.Get the finishTime property: The time the run finished.Get the imageUpdateTrigger property: The image update trigger that caused the run.Get the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.Get the lastUpdatedTime property: The last updated time for the run.Get the logArtifact property: The image description for the log artifact.Get the outputImages property: The list of all images that were generated from the run.platform()Get the platform property: The platform properties against which the run will happen.Get the provisioningState property: The provisioning state of a run.Get the runErrorMessage property: The error message received from backend systems after the run is scheduled.runId()Get the runId property: The unique identifier for the run.runType()Get the runType property: The type of run.Get the sourceRegistryAuth property: The scope of the credentials that were used to login to the source registry during this run.Get the sourceTrigger property: The source trigger that caused the run.Get the startTime property: The time the run started.status()Get the status property: The current status of the run.com.azure.core.management.SystemDataGet the systemData property: Metadata pertaining to creation and last modification of the resource.task()Get the task property: The task against which run was scheduled.Get the timerTrigger property: The timer trigger that caused the run.Get the updateTriggerToken property: The update trigger token passed for the Run.voidvalidate()Validates the instance.withAgentConfiguration(AgentProperties agentConfiguration) Set the agentConfiguration property: The machine configuration of the run agent.withAgentPoolName(String agentPoolName) Set the agentPoolName property: The dedicated agent pool for the run.withCreateTime(OffsetDateTime createTime) Set the createTime property: The time the run was scheduled.withCustomRegistries(List<String> customRegistries) Set the customRegistries property: The list of custom registries that were logged in during this run.withFinishTime(OffsetDateTime finishTime) Set the finishTime property: The time the run finished.withImageUpdateTrigger(ImageUpdateTrigger imageUpdateTrigger) Set the imageUpdateTrigger property: The image update trigger that caused the run.withIsArchiveEnabled(Boolean isArchiveEnabled) Set the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.withLastUpdatedTime(OffsetDateTime lastUpdatedTime) Set the lastUpdatedTime property: The last updated time for the run.withOutputImages(List<ImageDescriptor> outputImages) Set the outputImages property: The list of all images that were generated from the run.withPlatform(PlatformProperties platform) Set the platform property: The platform properties against which the run will happen.withProvisioningState(ProvisioningState provisioningState) Set the provisioningState property: The provisioning state of a run.Set the runId property: The unique identifier for the run.withRunType(RunType runType) Set the runType property: The type of run.withSourceRegistryAuth(String sourceRegistryAuth) Set the sourceRegistryAuth property: The scope of the credentials that were used to login to the source registry during this run.withSourceTrigger(SourceTriggerDescriptor sourceTrigger) Set the sourceTrigger property: The source trigger that caused the run.withStartTime(OffsetDateTime startTime) Set the startTime property: The time the run started.withStatus(RunStatus status) Set the status property: The current status of the run.Set the task property: The task against which run was scheduled.withTimerTrigger(TimerTriggerDescriptor timerTrigger) Set the timerTrigger property: The timer trigger that caused the run.withUpdateTriggerToken(String updateTriggerToken) Set the updateTriggerToken property: The update trigger token passed for the Run.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
RunInner
public RunInner()Creates an instance of RunInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
runId
Get the runId property: The unique identifier for the run.- Returns:
- the runId value.
-
withRunId
Set the runId property: The unique identifier for the run.- Parameters:
runId- the runId value to set.- Returns:
- the RunInner object itself.
-
status
Get the status property: The current status of the run.- Returns:
- the status value.
-
withStatus
Set the status property: The current status of the run.- Parameters:
status- the status value to set.- Returns:
- the RunInner object itself.
-
lastUpdatedTime
Get the lastUpdatedTime property: The last updated time for the run.- Returns:
- the lastUpdatedTime value.
-
withLastUpdatedTime
Set the lastUpdatedTime property: The last updated time for the run.- Parameters:
lastUpdatedTime- the lastUpdatedTime value to set.- Returns:
- the RunInner object itself.
-
runType
Get the runType property: The type of run.- Returns:
- the runType value.
-
withRunType
Set the runType property: The type of run.- Parameters:
runType- the runType value to set.- Returns:
- the RunInner object itself.
-
agentPoolName
Get the agentPoolName property: The dedicated agent pool for the run.- Returns:
- the agentPoolName value.
-
withAgentPoolName
Set the agentPoolName property: The dedicated agent pool for the run.- Parameters:
agentPoolName- the agentPoolName value to set.- Returns:
- the RunInner object itself.
-
createTime
Get the createTime property: The time the run was scheduled.- Returns:
- the createTime value.
-
withCreateTime
Set the createTime property: The time the run was scheduled.- Parameters:
createTime- the createTime value to set.- Returns:
- the RunInner object itself.
-
startTime
Get the startTime property: The time the run started.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The time the run started.- Parameters:
startTime- the startTime value to set.- Returns:
- the RunInner object itself.
-
finishTime
Get the finishTime property: The time the run finished.- Returns:
- the finishTime value.
-
withFinishTime
Set the finishTime property: The time the run finished.- Parameters:
finishTime- the finishTime value to set.- Returns:
- the RunInner object itself.
-
outputImages
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:
- the outputImages value.
-
withOutputImages
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:
outputImages- the outputImages value to set.- Returns:
- the RunInner object itself.
-
task
Get the task property: The task against which run was scheduled.- Returns:
- the task value.
-
withTask
Set the task property: The task against which run was scheduled.- Parameters:
task- the task value to set.- Returns:
- the RunInner object itself.
-
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:
- the imageUpdateTrigger value.
-
withImageUpdateTrigger
Set the imageUpdateTrigger property: 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.
-
sourceTrigger
Get the sourceTrigger property: The source trigger that caused the run.- Returns:
- the sourceTrigger value.
-
withSourceTrigger
Set the sourceTrigger property: The source trigger that caused the run.- Parameters:
sourceTrigger- the sourceTrigger value to set.- Returns:
- the RunInner object itself.
-
timerTrigger
Get the timerTrigger property: The timer trigger that caused the run.- Returns:
- the timerTrigger value.
-
withTimerTrigger
Set the timerTrigger property: The timer trigger that caused the run.- Parameters:
timerTrigger- the timerTrigger value to set.- Returns:
- the RunInner object itself.
-
platform
Get the platform property: The platform properties against which the run will happen.- Returns:
- the platform value.
-
withPlatform
Set the platform property: The platform properties against which the run will happen.- Parameters:
platform- the platform value to set.- Returns:
- the RunInner object itself.
-
agentConfiguration
Get the agentConfiguration property: The machine configuration of the run agent.- Returns:
- the agentConfiguration value.
-
withAgentConfiguration
Set the agentConfiguration property: The machine configuration of the run agent.- Parameters:
agentConfiguration- the agentConfiguration value to set.- Returns:
- the RunInner object itself.
-
sourceRegistryAuth
Get the sourceRegistryAuth property: The scope of the credentials that were used to login to the source registry during this run.- Returns:
- the sourceRegistryAuth value.
-
withSourceRegistryAuth
Set the sourceRegistryAuth property: The scope of the credentials that were used to login to the source registry during this run.- Parameters:
sourceRegistryAuth- the sourceRegistryAuth value to set.- Returns:
- the RunInner object itself.
-
customRegistries
Get the customRegistries property: The list of custom registries that were logged in during this run.- Returns:
- the customRegistries value.
-
withCustomRegistries
Set the customRegistries property: The list of custom registries that were logged in during this run.- Parameters:
customRegistries- the customRegistries value to set.- Returns:
- the RunInner object itself.
-
runErrorMessage
Get the runErrorMessage property: The error message received from backend systems after the run is scheduled.- Returns:
- the runErrorMessage value.
-
updateTriggerToken
Get the updateTriggerToken property: The update trigger token passed for the Run.- Returns:
- the updateTriggerToken value.
-
withUpdateTriggerToken
Set the updateTriggerToken property: The update trigger token passed for the Run.- Parameters:
updateTriggerToken- the updateTriggerToken value to set.- Returns:
- the RunInner object itself.
-
logArtifact
Get the logArtifact property: The image description for the log artifact.- Returns:
- the logArtifact value.
-
provisioningState
Get the provisioningState property: The provisioning state of a run.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: The provisioning state of a run.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the RunInner object itself.
-
isArchiveEnabled
Get the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.- Returns:
- the isArchiveEnabled value.
-
withIsArchiveEnabled
Set the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.- Parameters:
isArchiveEnabled- the isArchiveEnabled value to set.- Returns:
- the RunInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-