RunRequest Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. RunRequest
- com.
Implements
public class RunRequest
implements JsonSerializable<RunRequest>
The request parameters for scheduling a run.
Constructor Summary
Constructor | Description |
---|---|
RunRequest() |
Creates an instance of Run |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
agentPoolName()
Get the agent |
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
Boolean |
isArchiveEnabled()
Get the is |
String |
logTemplate()
Get the log |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the run request. |
void |
validate()
Validates the instance. |
Run |
withAgentPoolName(String agentPoolName)
Set the agent |
Run |
withIsArchiveEnabled(Boolean isArchiveEnabled)
Set the is |
Run |
withLogTemplate(String logTemplate)
Set the log |
Methods inherited from java.lang.Object
Constructor Details
RunRequest
public RunRequest()
Creates an instance of RunRequest class.
Method Details
agentPoolName
public String agentPoolName()
Get the agentPoolName property: The dedicated agent pool for the run.
Returns:
fromJson
public static RunRequest fromJson(JsonReader jsonReader)
Reads an instance of RunRequest from the JsonReader.
Parameters:
Returns:
Throws:
isArchiveEnabled
public Boolean isArchiveEnabled()
Get the isArchiveEnabled property: The value that indicates whether archiving is enabled for the run or not.
Returns:
logTemplate
public String logTemplate()
Get the logTemplate property: The template that describes the repository and tag information for run log artifact.
Returns:
toJson
type
public String type()
Get the type property: The type of the run request.
Returns:
validate
public void validate()
Validates the instance.
withAgentPoolName
public RunRequest withAgentPoolName(String agentPoolName)
Set the agentPoolName property: The dedicated agent pool for the run.
Parameters:
Returns:
withIsArchiveEnabled
public RunRequest withIsArchiveEnabled(Boolean isArchiveEnabled)
Set the isArchiveEnabled property: The value that indicates whether archiving is enabled for the run or not.
Parameters:
Returns:
withLogTemplate
public RunRequest withLogTemplate(String logTemplate)
Set the logTemplate property: The template that describes the repository and tag information for run log artifact.
Parameters:
Returns:
Applies to
Azure SDK for Java