Sdílet prostřednictvím


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

Gets the count of CPUs.

abstract OffsetDateTime creationDate()

Gets the creation date of build task.

abstract String parentRegistryId()

Gets the parent ID of this resource.

abstract PlatformProperties platform()

Gets the build timeout settings in seconds.

abstract ProvisioningState provisioningState()

Gets the provisioning state of the build task.

abstract RegistryTaskStep registryTaskStep()

Gets the RegistryTaskStep of the current task.

abstract String resourceGroupName()

Gets the name of the resource's resource group.

abstract Map<String,RegistrySourceTrigger> sourceTriggers()

Gets the source triggers of the task.

abstract TaskStatus status()

Gets the current status of build task.

abstract int timeout()

Gets the build timeout settings in seconds.

abstract TriggerProperties trigger()

Gets the trigger of the task.

Method Details

cpuCount

public abstract int cpuCount()

Gets the count of CPUs.

Returns:

the CPU count

creationDate

public abstract OffsetDateTime creationDate()

Gets the creation date of build task.

Returns:

the creation date of build task

parentRegistryId

public abstract String parentRegistryId()

Gets the parent ID of this resource.

Returns:

the parent ID of this resource

platform

public abstract PlatformProperties platform()

Gets the build timeout settings in seconds.

Returns:

the build timeout settings in seconds

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioning state of the build task.

Returns:

the provisioning state of the build task

registryTaskStep

public abstract RegistryTaskStep registryTaskStep()

Gets the RegistryTaskStep of the current task.

Returns:

the RegistryTaskStep of the current task

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource's resource group.

Returns:

the name of the resource's resource group

sourceTriggers

public abstract Map sourceTriggers()

Gets the source triggers of the task.

Returns:

the source triggers of the task.

status

public abstract TaskStatus status()

Gets the current status of build task.

Returns:

the current status of build task

timeout

public abstract int timeout()

Gets the build timeout settings in seconds.

Returns:

the build timeout settings in seconds

trigger

public abstract TriggerProperties trigger()

Gets the trigger of the task.

Returns:

the trigger of the task

Applies to