Class FileTaskRunRequest
java.lang.Object
com.microsoft.azure.management.containerregistry.RunRequest
com.microsoft.azure.management.containerregistry.FileTaskRunRequest
The request parameters for a scheduling run against a task file.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the machine configuration of the run agent.platform()Get the platform properties against which the run has to happen.Get the URL(absolute or relative) of the source context.Get the template/definition file path relative to the source.timeout()Get run timeout in seconds.values()Get the collection of overridable values that can be passed when running a task.Get the values/parameters file path relative to the source.withAgentConfiguration(AgentProperties agentConfiguration) Set the machine configuration of the run agent.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.withTaskFilePath(String taskFilePath) Set the template/definition file path relative to the source.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.withValuesFilePath(String valuesFilePath) Set the values/parameters file path relative to the source.Methods inherited from class com.microsoft.azure.management.containerregistry.RunRequestisArchiveEnabled, withIsArchiveEnabled
- 
Constructor Details- 
FileTaskRunRequestpublic FileTaskRunRequest()
 
- 
- 
Method Details- 
taskFilePathGet the template/definition file path relative to the source.- Returns:
- the taskFilePath value
 
- 
withTaskFilePathSet the template/definition file path relative to the source.- Parameters:
- taskFilePath- the taskFilePath value to set
- Returns:
- the FileTaskRunRequest object itself.
 
- 
valuesFilePathGet the values/parameters file path relative to the source.- Returns:
- the valuesFilePath value
 
- 
withValuesFilePathSet the values/parameters file path relative to the source.- Parameters:
- valuesFilePath- the valuesFilePath value to set
- Returns:
- the FileTaskRunRequest object itself.
 
- 
valuesGet the collection of overridable values that can be passed when running a task.- Returns:
- the values value
 
- 
withValuesSet the collection of overridable values that can be passed when running a task.- Parameters:
- values- the values value to set
- Returns:
- the FileTaskRunRequest object itself.
 
- 
timeoutGet run timeout in seconds.- Returns:
- the timeout value
 
- 
withTimeoutSet run timeout in seconds.- Parameters:
- timeout- the timeout value to set
- Returns:
- the FileTaskRunRequest object itself.
 
- 
platformGet the platform properties against which the run has to happen.- Returns:
- the platform value
 
- 
withPlatformSet the platform properties against which the run has to happen.- Parameters:
- platform- the platform value to set
- Returns:
- the FileTaskRunRequest object itself.
 
- 
agentConfigurationGet the machine configuration of the run agent.- Returns:
- the agentConfiguration value
 
- 
withAgentConfigurationSet the machine configuration of the run agent.- Parameters:
- agentConfiguration- the agentConfiguration value to set
- Returns:
- the FileTaskRunRequest object itself.
 
- 
sourceLocationGet 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
 
- 
withSourceLocationSet 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 FileTaskRunRequest object itself.
 
 
-