Class EncodedTaskRunRequest
java.lang.Object
com.microsoft.azure.management.containerregistry.RunRequest
com.microsoft.azure.management.containerregistry.EncodedTaskRunRequest
The parameters for a quick task run request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the machine configuration of the run agent.Get base64 encoded value of the template/definition file content.Get base64 encoded value of the parameters/values file content.platform()
Get the platform properties against which the run has to happen.Get the URL(absolute or relative) of the source context.timeout()
Get run timeout in seconds.values()
Get the collection of overridable values that can be passed when running a task.withAgentConfiguration
(AgentProperties agentConfiguration) Set the machine configuration of the run agent.withEncodedTaskContent
(String encodedTaskContent) Set base64 encoded value of the template/definition file content.withEncodedValuesContent
(String encodedValuesContent) Set base64 encoded value of the parameters/values file content.withPlatform
(PlatformProperties platform) Set the platform properties against which the run has to happen.withSourceLocation
(String sourceLocation) Set the URL(absolute or relative) of the source context.withTimeout
(Integer timeout) Set run timeout in seconds.withValues
(List<SetValue> values) Set the collection of overridable values that can be passed when running a task.Methods inherited from class com.microsoft.azure.management.containerregistry.RunRequest
isArchiveEnabled, withIsArchiveEnabled
-
Constructor Details
-
EncodedTaskRunRequest
public EncodedTaskRunRequest()
-
-
Method Details
-
encodedTaskContent
Get base64 encoded value of the template/definition file content.- Returns:
- the encodedTaskContent value
-
withEncodedTaskContent
Set base64 encoded value of the template/definition file content.- Parameters:
encodedTaskContent
- the encodedTaskContent value to set- Returns:
- the EncodedTaskRunRequest object itself.
-
encodedValuesContent
Get base64 encoded value of the parameters/values file content.- Returns:
- the encodedValuesContent value
-
withEncodedValuesContent
Set base64 encoded value of the parameters/values file content.- Parameters:
encodedValuesContent
- the encodedValuesContent value to set- Returns:
- the EncodedTaskRunRequest object itself.
-
values
Get the collection of overridable values that can be passed when running a task.- Returns:
- the values value
-
withValues
Set the collection of overridable values that can be passed when running a task.- Parameters:
values
- the values value to set- Returns:
- the EncodedTaskRunRequest 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 EncodedTaskRunRequest 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 EncodedTaskRunRequest 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 EncodedTaskRunRequest object itself.
-
sourceLocation
Get the URL(absolute or relative) of the source context. It can be an URL to a tar or git repoistory. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.- Returns:
- the sourceLocation value
-
withSourceLocation
Set the URL(absolute or relative) of the source context. It can be an URL to a tar or git repoistory. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.- Parameters:
sourceLocation
- the sourceLocation value to set- Returns:
- the EncodedTaskRunRequest object itself.
-