다음을 통해 공유


RunInner Class

public final class RunInner
extends ProxyResource

Run resource properties.

Constructor Summary

Constructor Description
RunInner()

Creates an instance of RunInner class.

Method Summary

Modifier and Type Method and Description
AgentProperties agentConfiguration()

Get the agentConfiguration property: The machine configuration of the run agent.

String agentPoolName()

Get the agentPoolName property: The dedicated agent pool for the run.

OffsetDateTime createTime()

Get the createTime property: The time the run was scheduled.

List<String> customRegistries()

Get the customRegistries property: The list of custom registries that were logged in during this run.

OffsetDateTime finishTime()

Get the finishTime property: The time the run finished.

static RunInner fromJson(JsonReader jsonReader)

Reads an instance of RunInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ImageUpdateTrigger imageUpdateTrigger()

Get the imageUpdateTrigger property: The image update trigger that caused the run.

Boolean isArchiveEnabled()

Get the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.

OffsetDateTime lastUpdatedTime()

Get the lastUpdatedTime property: The last updated time for the run.

ImageDescriptor logArtifact()

Get the logArtifact property: The image description for the log artifact.

String name()

Get the name property: The name of the resource.

List<ImageDescriptor> outputImages()

Get the outputImages property: The list of all images that were generated from the run.

PlatformProperties platform()

Get the platform property: The platform properties against which the run will happen.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of a run.

String runErrorMessage()

Get the runErrorMessage property: The error message received from backend systems after the run is scheduled.

String runId()

Get the runId property: The unique identifier for the run.

RunType runType()

Get the runType property: The type of run.

String sourceRegistryAuth()

Get the sourceRegistryAuth property: The scope of the credentials that were used to login to the source registry during this run.

SourceTriggerDescriptor sourceTrigger()

Get the sourceTrigger property: The source trigger that caused the run.

OffsetDateTime startTime()

Get the startTime property: The time the run started.

RunStatus status()

Get the status property: The current status of the run.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

String task()

Get the task property: The task against which run was scheduled.

TimerTriggerDescriptor timerTrigger()

Get the timerTrigger property: The timer trigger that caused the run.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String updateTriggerToken()

Get the updateTriggerToken property: The update trigger token passed for the Run.

void validate()

Validates the instance.

RunInner withAgentConfiguration(AgentProperties agentConfiguration)

Set the agentConfiguration property: The machine configuration of the run agent.

RunInner withAgentPoolName(String agentPoolName)

Set the agentPoolName property: The dedicated agent pool for the run.

RunInner withCreateTime(OffsetDateTime createTime)

Set the createTime property: The time the run was scheduled.

RunInner withCustomRegistries(List<String> customRegistries)

Set the customRegistries property: The list of custom registries that were logged in during this run.

RunInner withFinishTime(OffsetDateTime finishTime)

Set the finishTime property: The time the run finished.

RunInner withImageUpdateTrigger(ImageUpdateTrigger imageUpdateTrigger)

Set the imageUpdateTrigger property: The image update trigger that caused the run.

RunInner withIsArchiveEnabled(Boolean isArchiveEnabled)

Set the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.

RunInner withLastUpdatedTime(OffsetDateTime lastUpdatedTime)

Set the lastUpdatedTime property: The last updated time for the run.

RunInner withOutputImages(List<ImageDescriptor> outputImages)

Set the outputImages property: The list of all images that were generated from the run.

RunInner withPlatform(PlatformProperties platform)

Set the platform property: The platform properties against which the run will happen.

RunInner withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioning state of a run.

RunInner withRunId(String runId)

Set the runId property: The unique identifier for the run.

RunInner withRunType(RunType runType)

Set the runType property: The type of run.

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.

RunInner withSourceTrigger(SourceTriggerDescriptor sourceTrigger)

Set the sourceTrigger property: The source trigger that caused the run.

RunInner withStartTime(OffsetDateTime startTime)

Set the startTime property: The time the run started.

RunInner withStatus(RunStatus status)

Set the status property: The current status of the run.

RunInner withTask(String task)

Set the task property: The task against which run was scheduled.

RunInner withTimerTrigger(TimerTriggerDescriptor timerTrigger)

Set the timerTrigger property: The timer trigger that caused the run.

RunInner withUpdateTriggerToken(String updateTriggerToken)

Set the updateTriggerToken property: The update trigger token passed for the Run.

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:

the agentConfiguration value.

agentPoolName

public String agentPoolName()

Get the agentPoolName property: The dedicated agent pool for the run.

Returns:

the agentPoolName value.

createTime

public OffsetDateTime createTime()

Get the createTime property: The time the run was scheduled.

Returns:

the createTime value.

customRegistries

public List customRegistries()

Get the customRegistries property: The list of custom registries that were logged in during this run.

Returns:

the customRegistries value.

finishTime

public OffsetDateTime finishTime()

Get the finishTime property: The time the run finished.

Returns:

the finishTime value.

fromJson

public static RunInner fromJson(JsonReader jsonReader)

Reads an instance of RunInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RunInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RunInner.id()

Returns:

the id value.

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:

the imageUpdateTrigger value.

isArchiveEnabled

public Boolean isArchiveEnabled()

Get the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.

Returns:

the isArchiveEnabled value.

lastUpdatedTime

public OffsetDateTime lastUpdatedTime()

Get the lastUpdatedTime property: The last updated time for the run.

Returns:

the lastUpdatedTime value.

logArtifact

public ImageDescriptor logArtifact()

Get the logArtifact property: The image description for the log artifact.

Returns:

the logArtifact value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RunInner.name()

Returns:

the name value.

outputImages

public List 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.

platform

public PlatformProperties platform()

Get the platform property: The platform properties against which the run will happen.

Returns:

the platform value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of a run.

Returns:

the provisioningState value.

runErrorMessage

public String runErrorMessage()

Get the runErrorMessage property: The error message received from backend systems after the run is scheduled.

Returns:

the runErrorMessage value.

runId

public String runId()

Get the runId property: The unique identifier for the run.

Returns:

the runId value.

runType

public RunType runType()

Get the runType property: The type of run.

Returns:

the runType value.

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:

the sourceRegistryAuth value.

sourceTrigger

public SourceTriggerDescriptor sourceTrigger()

Get the sourceTrigger property: The source trigger that caused the run.

Returns:

the sourceTrigger value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The time the run started.

Returns:

the startTime value.

status

public RunStatus status()

Get the status property: The current status of the run.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

task

public String task()

Get the task property: The task against which run was scheduled.

Returns:

the task value.

timerTrigger

public TimerTriggerDescriptor timerTrigger()

Get the timerTrigger property: The timer trigger that caused the run.

Returns:

the timerTrigger value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RunInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RunInner.type()

Returns:

the type value.

updateTriggerToken

public String updateTriggerToken()

Get the updateTriggerToken property: The update trigger token passed for the Run.

Returns:

the updateTriggerToken value.

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:

agentConfiguration - the agentConfiguration value to set.

Returns:

the RunInner object itself.

withAgentPoolName

public RunInner withAgentPoolName(String agentPoolName)

Set the agentPoolName property: The dedicated agent pool for the run.

Parameters:

agentPoolName - the agentPoolName value to set.

Returns:

the RunInner object itself.

withCreateTime

public RunInner withCreateTime(OffsetDateTime createTime)

Set the createTime property: The time the run was scheduled.

Parameters:

createTime - the createTime value to set.

Returns:

the RunInner object itself.

withCustomRegistries

public RunInner withCustomRegistries(List customRegistries)

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.

withFinishTime

public RunInner withFinishTime(OffsetDateTime finishTime)

Set the finishTime property: 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 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.

withIsArchiveEnabled

public RunInner withIsArchiveEnabled(Boolean isArchiveEnabled)

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.

withLastUpdatedTime

public RunInner withLastUpdatedTime(OffsetDateTime lastUpdatedTime)

Set the lastUpdatedTime property: 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 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.

withPlatform

public RunInner withPlatform(PlatformProperties platform)

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.

withProvisioningState

public RunInner withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioning state of a run.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the RunInner object itself.

withRunId

public RunInner withRunId(String runId)

Set the runId property: 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 runType property: The type of run.

Parameters:

runType - the runType value to set.

Returns:

the RunInner object itself.

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:

sourceRegistryAuth - the sourceRegistryAuth value to set.

Returns:

the RunInner object itself.

withSourceTrigger

public RunInner withSourceTrigger(SourceTriggerDescriptor sourceTrigger)

Set the sourceTrigger property: The source trigger that caused the run.

Parameters:

sourceTrigger - the sourceTrigger value to set.

Returns:

the RunInner object itself.

withStartTime

public RunInner withStartTime(OffsetDateTime startTime)

Set the startTime property: 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 status property: The current status of the run.

Parameters:

status - the status value to set.

Returns:

the RunInner object itself.

withTask

public RunInner withTask(String task)

Set the task property: The task against which run was scheduled.

Parameters:

task - the task value to set.

Returns:

the RunInner object itself.

withTimerTrigger

public RunInner withTimerTrigger(TimerTriggerDescriptor timerTrigger)

Set the timerTrigger property: The timer trigger that caused the run.

Parameters:

timerTrigger - the timerTrigger value to set.

Returns:

the RunInner object itself.

withUpdateTriggerToken

public RunInner withUpdateTriggerToken(String updateTriggerToken)

Set the updateTriggerToken property: The update trigger token passed for the Run.

Parameters:

updateTriggerToken - the updateTriggerToken value to set.

Returns:

the RunInner object itself.

Applies to