ProcessEntity Class

public final class ProcessEntity
extends Entity

Represents a process entity.

Constructor Summary

Constructor Description
ProcessEntity()

Creates an instance of ProcessEntity class.

Method Summary

Modifier and Type Method and Description
String accountEntityId()

Get the accountEntityId property: The account entity id running the processes.

Map<String,Object> additionalData()

Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.

String commandLine()

Get the commandLine property: The command line used to create the process.

OffsetDateTime creationTimeUtc()

Get the creationTimeUtc property: The time when the process started to run.

ElevationToken elevationToken()

Get the elevationToken property: The elevation token associated with the process.

String friendlyName()

Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance.

static ProcessEntity fromJson(JsonReader jsonReader)

Reads an instance of ProcessEntity from the JsonReader.

String hostEntityId()

Get the hostEntityId property: The host entity id on which the process was running.

String hostLogonSessionEntityId()

Get the hostLogonSessionEntityId property: The session entity id in which the process was running.

String id()

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

String imageFileEntityId()

Get the imageFileEntityId property: Image file entity id.

EntityKindEnum kind()

Get the kind property: The kind of the entity.

String name()

Get the name property: The name of the resource.

String parentProcessEntityId()

Get the parentProcessEntityId property: The parent process entity id.

String processId()

Get the processId property: The process ID.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ProcessEntity withElevationToken(ElevationToken elevationToken)

Set the elevationToken property: The elevation token associated with the process.

Methods inherited from Entity

Methods inherited from java.lang.Object

Constructor Details

ProcessEntity

public ProcessEntity()

Creates an instance of ProcessEntity class.

Method Details

accountEntityId

public String accountEntityId()

Get the accountEntityId property: The account entity id running the processes.

Returns:

the accountEntityId value.

additionalData

public Map<String,Object> additionalData()

Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.

Returns:

the additionalData value.

commandLine

public String commandLine()

Get the commandLine property: The command line used to create the process.

Returns:

the commandLine value.

creationTimeUtc

public OffsetDateTime creationTimeUtc()

Get the creationTimeUtc property: The time when the process started to run.

Returns:

the creationTimeUtc value.

elevationToken

public ElevationToken elevationToken()

Get the elevationToken property: The elevation token associated with the process.

Returns:

the elevationToken value.

friendlyName

public String friendlyName()

Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

Returns:

the friendlyName value.

fromJson

public static ProcessEntity fromJson(JsonReader jsonReader)

Reads an instance of ProcessEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProcessEntity 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.

hostEntityId

public String hostEntityId()

Get the hostEntityId property: The host entity id on which the process was running.

Returns:

the hostEntityId value.

hostLogonSessionEntityId

public String hostLogonSessionEntityId()

Get the hostLogonSessionEntityId property: The session entity id in which the process was running.

Returns:

the hostLogonSessionEntityId value.

id

public String id()

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

Overrides:

ProcessEntity.id()

Returns:

the id value.

imageFileEntityId

public String imageFileEntityId()

Get the imageFileEntityId property: Image file entity id.

Returns:

the imageFileEntityId value.

kind

public EntityKindEnum kind()

Get the kind property: The kind of the entity.

Overrides:

ProcessEntity.kind()

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProcessEntity.name()

Returns:

the name value.

parentProcessEntityId

public String parentProcessEntityId()

Get the parentProcessEntityId property: The parent process entity id.

Returns:

the parentProcessEntityId value.

processId

public String processId()

Get the processId property: The process ID.

Returns:

the processId value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Overrides:

ProcessEntity.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ProcessEntity.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProcessEntity.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ProcessEntity.validate()

withElevationToken

public ProcessEntity withElevationToken(ElevationToken elevationToken)

Set the elevationToken property: The elevation token associated with the process.

Parameters:

elevationToken - the elevationToken value to set.

Returns:

the ProcessEntity object itself.

Applies to