Class TaskUpdateParameters
java.lang.Object
com.microsoft.azure.management.containerregistry.TaskUpdateParameters
The parameters for updating a task.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the machine configuration of the run agent.platform()
Get the platform properties against which the run has to happen.status()
Get the current status of task.step()
Get the properties for updating a task step.tags()
Get the ARM resource tags.timeout()
Get run timeout in seconds.trigger()
Get the properties for updating trigger properties.withAgentConfiguration
(AgentProperties agentConfiguration) Set the machine configuration of the run agent.withPlatform
(PlatformUpdateParameters platform) Set the platform properties against which the run has to happen.withStatus
(TaskStatus status) Set the current status of task.Set the properties for updating a task step.Set the ARM resource tags.withTimeout
(Integer timeout) Set run timeout in seconds.withTrigger
(TriggerUpdateParameters trigger) Set the properties for updating trigger properties.
-
Constructor Details
-
TaskUpdateParameters
public TaskUpdateParameters()
-
-
Method Details
-
status
Get the current status of task. Possible values include: 'Disabled', 'Enabled'.- Returns:
- the status value
-
withStatus
Set the current status of task. Possible values include: 'Disabled', 'Enabled'.- Parameters:
status
- the status value to set- Returns:
- the TaskUpdateParameters object itself.
-
platform
Get the platform properties against which the run has to happen.- Returns:
- the platform value
-
withPlatform
Set the platform properties against which the run has to happen.- Parameters:
platform
- the platform value to set- Returns:
- the TaskUpdateParameters object itself.
-
agentConfiguration
Get the machine configuration of the run agent.- Returns:
- the agentConfiguration value
-
withAgentConfiguration
Set the machine configuration of the run agent.- Parameters:
agentConfiguration
- the agentConfiguration value to set- Returns:
- the TaskUpdateParameters object itself.
-
timeout
Get run timeout in seconds.- Returns:
- the timeout value
-
withTimeout
Set run timeout in seconds.- Parameters:
timeout
- the timeout value to set- Returns:
- the TaskUpdateParameters object itself.
-
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
Get the properties for updating trigger properties.- Returns:
- the trigger value
-
withTrigger
Set the properties for updating trigger properties.- Parameters:
trigger
- the trigger value to set- Returns:
- the TaskUpdateParameters object itself.
-
tags
Get the ARM resource tags.- Returns:
- the tags value
-
withTags
Set the ARM resource tags.- Parameters:
tags
- the tags value to set- Returns:
- the TaskUpdateParameters object itself.
-