Partager via


RegistryTask Interface

Implements

public interface RegistryTask
extends Resource, HasInnerModel<TaskInner>, Refreshable<RegistryTask>, Updatable<Update>

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

Method Summary

Modifier and Type Method and Description
abstract int cpuCount()
abstract OffsetDateTime creationDate()
abstract String parentRegistryId()
abstract PlatformProperties platform()
abstract ProvisioningState provisioningState()
abstract RegistryTaskStep registryTaskStep()
abstract String resourceGroupName()
abstract Map<String,RegistrySourceTrigger> sourceTriggers()
abstract TaskStatus status()
abstract int timeout()
abstract TriggerProperties trigger()

Method Details

cpuCount

public abstract int cpuCount()

Returns:

the CPU count

creationDate

public abstract OffsetDateTime creationDate()

Returns:

the creation date of build task

parentRegistryId

public abstract String parentRegistryId()

Returns:

the parent ID of this resource

platform

public abstract PlatformProperties platform()

Returns:

the build timeout settings in seconds

provisioningState

public abstract ProvisioningState provisioningState()

Returns:

the provisioning state of the build task

registryTaskStep

public abstract RegistryTaskStep registryTaskStep()

Returns:

the RegistryTaskStep of the current task

resourceGroupName

public abstract String resourceGroupName()

Returns:

the name of the resource's resource group

sourceTriggers

public abstract Map sourceTriggers()

Returns:

the source triggers of the task.

status

public abstract TaskStatus status()

Returns:

the current status of build task

timeout

public abstract int timeout()

Returns:

the build timeout settings in seconds

trigger

public abstract TriggerProperties trigger()

Returns:

the trigger of the task

Applies to