Partager via


RegistryTaskRun Interface

Implements

public interface RegistryTaskRun
extends HasInnerModel<RunInner>, Refreshable<RegistryTaskRun>

An immutable client-side representation of an Azure RegistryDockerTaskRunRequest registry task run request.

Method Summary

Modifier and Type Method and Description
abstract int cpu()
abstract OffsetDateTime createTime()
abstract boolean isArchiveEnabled()
abstract OffsetDateTime lastUpdatedTime()
abstract PlatformProperties platform()
abstract ProvisioningState provisioningState()
abstract String registryName()
abstract String resourceGroupName()
abstract String runId()
abstract RunType runType()
abstract RunStatus status()
abstract String taskName()

Method Details

cpu

public abstract int cpu()

Returns:

the numbers of cpu

createTime

public abstract OffsetDateTime createTime()

Returns:

the time when the run request was created

isArchiveEnabled

public abstract boolean isArchiveEnabled()

Returns:

whether archiving is enabled for the run request

lastUpdatedTime

public abstract OffsetDateTime lastUpdatedTime()

Returns:

the last time the run request was updated

platform

public abstract PlatformProperties platform()

Returns:

the platform properties of the run request

provisioningState

public abstract ProvisioningState provisioningState()

Returns:

the provisioning state of the run request

registryName

public abstract String registryName()

Returns:

the registry name of this task run request

resourceGroupName

public abstract String resourceGroupName()

Returns:

the name of the resource group for this task run request

runId

public abstract String runId()

Returns:

the id of the run

runType

public abstract RunType runType()

Returns:

the run type of the run request

status

public abstract RunStatus status()

Returns:

the status of the run request

taskName

public abstract String taskName()

Returns:

the name of the task in the case of a TaskRunRequest (or null if task is still queued), null in other cases

Applies to