TaskRunInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerregistry. fluent. models. TaskRunInner
- com.
- com.
public final class TaskRunInner
extends ProxyResource
The task run that has the ARM resource and properties. The task run will have the information of request and result of a run.
Constructor Summary
Constructor | Description |
---|---|
TaskRunInner() |
Creates an instance of Task |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
forceUpdateTag()
Get the force |
static
Task |
fromJson(JsonReader jsonReader)
Reads an instance of Task |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Identity |
identity()
Get the identity property: Identity for the resource. |
String |
location()
Get the location property: The location of the resource. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Run |
runRequest()
Get the run |
Run |
runResult()
Get the run |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Task |
withForceUpdateTag(String forceUpdateTag)
Set the force |
Task |
withIdentity(IdentityProperties identity)
Set the identity property: Identity for the resource. |
Task |
withLocation(String location)
Set the location property: The location of the resource. |
Task |
withRunRequest(RunRequest runRequest)
Set the run |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
TaskRunInner
public TaskRunInner()
Creates an instance of TaskRunInner class.
Method Details
forceUpdateTag
public String forceUpdateTag()
Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.
Returns:
fromJson
public static TaskRunInner fromJson(JsonReader jsonReader)
Reads an instance of TaskRunInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TaskRunInner.id()Returns:
identity
public IdentityProperties identity()
Get the identity property: Identity for the resource.
Returns:
location
public String location()
Get the location property: The location of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TaskRunInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of this task run.
Returns:
runRequest
public RunRequest runRequest()
Get the runRequest property: The request (parameters) for the run.
Returns:
runResult
public RunInner runResult()
Get the runResult property: The result of this task run.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TaskRunInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TaskRunInner.type()Returns:
validate
public void validate()
Validates the instance.
withForceUpdateTag
public TaskRunInner withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.
Parameters:
Returns:
withIdentity
public TaskRunInner withIdentity(IdentityProperties identity)
Set the identity property: Identity for the resource.
Parameters:
Returns:
withLocation
public TaskRunInner withLocation(String location)
Set the location property: The location of the resource.
Parameters:
Returns:
withRunRequest
public TaskRunInner withRunRequest(RunRequest runRequest)
Set the runRequest property: The request (parameters) for the run.
Parameters:
Returns:
Applies to
Azure SDK for Java