TaskRunInner Class

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 TaskRunInner class.

Method Summary

Modifier and Type Method and Description
String forceUpdateTag()

Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.

static TaskRunInner fromJson(JsonReader jsonReader)

Reads an instance of TaskRunInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

IdentityProperties 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.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of this task run.

RunRequest runRequest()

Get the runRequest property: The request (parameters) for the run.

RunInner runResult()

Get the runResult property: The result of this task run.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

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.

TaskRunInner withIdentity(IdentityProperties identity)

Set the identity property: Identity for the resource.

TaskRunInner withLocation(String location)

Set the location property: The location of the resource.

TaskRunInner withRunRequest(RunRequest runRequest)

Set the runRequest property: The request (parameters) for 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:

the forceUpdateTag value.

fromJson

public static TaskRunInner fromJson(JsonReader jsonReader)

Reads an instance of TaskRunInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TaskRunInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

TaskRunInner.id()

Returns:

the id value.

identity

public IdentityProperties identity()

Get the identity property: Identity for the resource.

Returns:

the identity value.

location

public String location()

Get the location property: The location of the resource.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

TaskRunInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of this task run.

Returns:

the provisioningState value.

runRequest

public RunRequest runRequest()

Get the runRequest property: The request (parameters) for the run.

Returns:

the runRequest value.

runResult

public RunInner runResult()

Get the runResult property: The result of this task run.

Returns:

the runResult value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TaskRunInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

TaskRunInner.type()

Returns:

the type value.

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:

forceUpdateTag - the forceUpdateTag value to set.

Returns:

the TaskRunInner object itself.

withIdentity

public TaskRunInner withIdentity(IdentityProperties identity)

Set the identity property: Identity for the resource.

Parameters:

identity - the identity value to set.

Returns:

the TaskRunInner object itself.

withLocation

public TaskRunInner withLocation(String location)

Set the location property: The location of the resource.

Parameters:

location - the location value to set.

Returns:

the TaskRunInner object itself.

withRunRequest

public TaskRunInner withRunRequest(RunRequest runRequest)

Set the runRequest property: The request (parameters) for the run.

Parameters:

runRequest - the runRequest value to set.

Returns:

the TaskRunInner object itself.

Applies to