Partilhar 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()

Gets the numbers of CPU.

abstract OffsetDateTime createTime()

Gets the time when the run request was created.

abstract boolean isArchiveEnabled()

Checks whether archiving is enabled for the run request.

abstract OffsetDateTime lastUpdatedTime()

Gets the last time the run request was updated.

abstract PlatformProperties platform()

Gets the platform properties of the run request.

abstract ProvisioningState provisioningState()

Gets the provisioning state of the run request.

abstract String registryName()

Gets the registry name.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract String runId()

Gets the id of the run.

abstract RunType runType()

Gets the run type of the run request.

abstract RunStatus status()

Gets the status of the run request.

abstract String taskName()

Gets the name of the task.

Method Details

cpu

public abstract int cpu()

Gets the numbers of CPU.

Returns:

the numbers of CPU

createTime

public abstract OffsetDateTime createTime()

Gets the time when the run request was created.

Returns:

the time when the run request was created

isArchiveEnabled

public abstract boolean isArchiveEnabled()

Checks whether archiving is enabled for the run request.

Returns:

whether archiving is enabled for the run request

lastUpdatedTime

public abstract OffsetDateTime lastUpdatedTime()

Gets the last time the run request was updated.

Returns:

the last time the run request was updated

platform

public abstract PlatformProperties platform()

Gets the platform properties of the run request.

Returns:

the platform properties of the run request

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioning state of the run request.

Returns:

the provisioning state of the run request

registryName

public abstract String registryName()

Gets the registry name.

Returns:

the registry name of this task run request

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group for this task run request

runId

public abstract String runId()

Gets the id of the run.

Returns:

the id of the run

runType

public abstract RunType runType()

Gets the run type of the run request.

Returns:

the run type of the run request

status

public abstract RunStatus status()

Gets the status of the run request.

Returns:

the status of the run request

taskName

public abstract String taskName()

Gets the name of the task.

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