AvsScriptExecutionStartedEventData Class

@Deprecated
public final class AvsScriptExecutionStartedEventData
extends AvsScriptExecutionEventData

Note

This class has been deprecated. This class is deprecated and may be removed in future releases. System events are now available in the azure-messaging-eventgrid-systemevents package.

Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionStarted event.

Constructor Summary

Constructor Description
AvsScriptExecutionStartedEventData()

Creates an instance of AvsScriptExecutionStartedEventData class.

Method Summary

Modifier and Type Method and Description
static AvsScriptExecutionStartedEventData fromJson(JsonReader jsonReader)

Reads an instance of AvsScriptExecutionStartedEventData from the JsonReader.

AvsScriptExecutionStartedEventData setCmdletId(String cmdletId)

Set the cmdletId property: Cmdlet referenced in the execution that caused this event.

AvsScriptExecutionStartedEventData setOperationId(String operationId)

Set the operationId property: Id of the operation that caused this event.

AvsScriptExecutionStartedEventData setOutput(List<String> output)

Set the output property: Stdout outputs from the execution, if any.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from AvsScriptExecutionEventData

Methods inherited from java.lang.Object

Constructor Details

AvsScriptExecutionStartedEventData

public AvsScriptExecutionStartedEventData()

Creates an instance of AvsScriptExecutionStartedEventData class.

Method Details

fromJson

public static AvsScriptExecutionStartedEventData fromJson(JsonReader jsonReader)

Reads an instance of AvsScriptExecutionStartedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the AvsScriptExecutionStartedEventData.

setCmdletId

public AvsScriptExecutionStartedEventData setCmdletId(String cmdletId)

Set the cmdletId property: Cmdlet referenced in the execution that caused this event.

Overrides:

AvsScriptExecutionStartedEventData.setCmdletId(String cmdletId)

Parameters:

cmdletId

setOperationId

public AvsScriptExecutionStartedEventData setOperationId(String operationId)

Set the operationId property: Id of the operation that caused this event.

Overrides:

AvsScriptExecutionStartedEventData.setOperationId(String operationId)

Parameters:

operationId

setOutput

public AvsScriptExecutionStartedEventData setOutput(List<String> output)

Set the output property: Stdout outputs from the execution, if any.

Overrides:

AvsScriptExecutionStartedEventData.setOutput(List<String> output)

Parameters:

output

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AvsScriptExecutionStartedEventData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to