Class TaskUpdateParameters

java.lang.Object
com.microsoft.azure.management.containerregistry.TaskUpdateParameters

public class TaskUpdateParameters extends Object
The parameters for updating a task.
  • Constructor Details

    • TaskUpdateParameters

      public TaskUpdateParameters()
  • Method Details

    • status

      public TaskStatus status()
      Get the current status of task. Possible values include: 'Disabled', 'Enabled'.
      Returns:
      the status value
    • withStatus

      public TaskUpdateParameters withStatus(TaskStatus status)
      Set the current status of task. Possible values include: 'Disabled', 'Enabled'.
      Parameters:
      status - the status value to set
      Returns:
      the TaskUpdateParameters object itself.
    • platform

      public PlatformUpdateParameters platform()
      Get the platform properties against which the run has to happen.
      Returns:
      the platform value
    • withPlatform

      public TaskUpdateParameters withPlatform(PlatformUpdateParameters platform)
      Set the platform properties against which the run has to happen.
      Parameters:
      platform - the platform value to set
      Returns:
      the TaskUpdateParameters object itself.
    • agentConfiguration

      public AgentProperties agentConfiguration()
      Get the machine configuration of the run agent.
      Returns:
      the agentConfiguration value
    • withAgentConfiguration

      public TaskUpdateParameters withAgentConfiguration(AgentProperties agentConfiguration)
      Set the machine configuration of the run agent.
      Parameters:
      agentConfiguration - the agentConfiguration value to set
      Returns:
      the TaskUpdateParameters object itself.
    • timeout

      public Integer timeout()
      Get run timeout in seconds.
      Returns:
      the timeout value
    • withTimeout

      public TaskUpdateParameters withTimeout(Integer timeout)
      Set run timeout in seconds.
      Parameters:
      timeout - the timeout value to set
      Returns:
      the TaskUpdateParameters object itself.
    • step

      public TaskStepUpdateParameters step()
      Get the properties for updating a task step.
      Returns:
      the step value
    • withStep

      Set the properties for updating a task step.
      Parameters:
      step - the step value to set
      Returns:
      the TaskUpdateParameters object itself.
    • trigger

      public TriggerUpdateParameters trigger()
      Get the properties for updating trigger properties.
      Returns:
      the trigger value
    • withTrigger

      public TaskUpdateParameters withTrigger(TriggerUpdateParameters trigger)
      Set the properties for updating trigger properties.
      Parameters:
      trigger - the trigger value to set
      Returns:
      the TaskUpdateParameters object itself.
    • tags

      public Map<String,String> tags()
      Get the ARM resource tags.
      Returns:
      the tags value
    • withTags

      public TaskUpdateParameters withTags(Map<String,String> tags)
      Set the ARM resource tags.
      Parameters:
      tags - the tags value to set
      Returns:
      the TaskUpdateParameters object itself.