AvsScriptExecutionEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.AvsScriptExecutionEventData

Implements

@Deprecated
public class AvsScriptExecutionEventData
implements JsonSerializable<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 Microsoft.AVS/scriptExecutions events.

Constructor Summary

Constructor Description
AvsScriptExecutionEventData()

Creates an instance of AvsScriptExecutionEventData class.

Method Summary

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

Reads an instance of AvsScriptExecutionEventData from the JsonReader.

String getCmdletId()

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

String getOperationId()

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

List<String> getOutput()

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

AvsScriptExecutionEventData setCmdletId(String cmdletId)

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

AvsScriptExecutionEventData setOperationId(String operationId)

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

AvsScriptExecutionEventData setOutput(List<String> output)

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AvsScriptExecutionEventData

public AvsScriptExecutionEventData()

Creates an instance of AvsScriptExecutionEventData class.

Method Details

fromJson

public static AvsScriptExecutionEventData fromJson(JsonReader jsonReader)

Reads an instance of AvsScriptExecutionEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getCmdletId

public String getCmdletId()

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

Returns:

the cmdletId value.

getOperationId

public String getOperationId()

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

Returns:

the operationId value.

getOutput

public List<String> getOutput()

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

Returns:

the output value.

setCmdletId

public AvsScriptExecutionEventData setCmdletId(String cmdletId)

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

Parameters:

cmdletId - the cmdletId value to set.

Returns:

the AvsScriptExecutionEventData object itself.

setOperationId

public AvsScriptExecutionEventData setOperationId(String operationId)

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

Parameters:

operationId - the operationId value to set.

Returns:

the AvsScriptExecutionEventData object itself.

setOutput

public AvsScriptExecutionEventData setOutput(List<String> output)

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

Parameters:

output - the output value to set.

Returns:

the AvsScriptExecutionEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to