DataExportInner Class

public final class DataExportInner
extends ProxyResource

The top level data export resource container.

Constructor Summary

Constructor Description
DataExportInner()

Creates an instance of DataExportInner class.

Method Summary

Modifier and Type Method and Description
String createdDate()

Get the createdDate property: The latest data export rule modification time.

String dataExportId()

Get the dataExportId property: The data export rule ID.

Boolean enable()

Get the enable property: Active when enabled.

String eventHubName()

Get the eventHubName property: Optional.

static DataExportInner fromJson(JsonReader jsonReader)

Reads an instance of DataExportInner from the JsonReader.

String id()

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

String lastModifiedDate()

Get the lastModifiedDate property: Date and time when the export was last modified.

String name()

Get the name property: The name of the resource.

String resourceId()

Get the resourceId property: The destination resource ID.

SystemData systemData()

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

List<String> tableNames()

Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

Type typePropertiesType()

Get the type property: The type of the destination resource.

DataExportInner withCreatedDate(String createdDate)

Set the createdDate property: The latest data export rule modification time.

DataExportInner withDataExportId(String dataExportId)

Set the dataExportId property: The data export rule ID.

DataExportInner withEnable(Boolean enable)

Set the enable property: Active when enabled.

DataExportInner withEventHubName(String eventHubName)

Set the eventHubName property: Optional.

DataExportInner withLastModifiedDate(String lastModifiedDate)

Set the lastModifiedDate property: Date and time when the export was last modified.

DataExportInner withResourceId(String resourceId)

Set the resourceId property: The destination resource ID.

DataExportInner withTableNames(List<String> tableNames)

Set the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DataExportInner

public DataExportInner()

Creates an instance of DataExportInner class.

Method Details

createdDate

public String createdDate()

Get the createdDate property: The latest data export rule modification time.

Returns:

the createdDate value.

dataExportId

public String dataExportId()

Get the dataExportId property: The data export rule ID.

Returns:

the dataExportId value.

enable

public Boolean enable()

Get the enable property: Active when enabled.

Returns:

the enable value.

eventHubName

public String eventHubName()

Get the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.

Returns:

the eventHubName value.

fromJson

public static DataExportInner fromJson(JsonReader jsonReader)

Reads an instance of DataExportInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataExportInner 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:

DataExportInner.id()

Returns:

the id value.

lastModifiedDate

public String lastModifiedDate()

Get the lastModifiedDate property: Date and time when the export was last modified.

Returns:

the lastModifiedDate value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DataExportInner.name()

Returns:

the name value.

resourceId

public String resourceId()

Get the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.

Returns:

the resourceId value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

tableNames

public List<String> tableNames()

Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

Returns:

the tableNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataExportInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DataExportInner.type()

Returns:

the type value.

typePropertiesType

public Type typePropertiesType()

Get the type property: The type of the destination resource.

Returns:

the type value.

withCreatedDate

public DataExportInner withCreatedDate(String createdDate)

Set the createdDate property: The latest data export rule modification time.

Parameters:

createdDate - the createdDate value to set.

Returns:

the DataExportInner object itself.

withDataExportId

public DataExportInner withDataExportId(String dataExportId)

Set the dataExportId property: The data export rule ID.

Parameters:

dataExportId - the dataExportId value to set.

Returns:

the DataExportInner object itself.

withEnable

public DataExportInner withEnable(Boolean enable)

Set the enable property: Active when enabled.

Parameters:

enable - the enable value to set.

Returns:

the DataExportInner object itself.

withEventHubName

public DataExportInner withEventHubName(String eventHubName)

Set the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.

Parameters:

eventHubName - the eventHubName value to set.

Returns:

the DataExportInner object itself.

withLastModifiedDate

public DataExportInner withLastModifiedDate(String lastModifiedDate)

Set the lastModifiedDate property: Date and time when the export was last modified.

Parameters:

lastModifiedDate - the lastModifiedDate value to set.

Returns:

the DataExportInner object itself.

withResourceId

public DataExportInner withResourceId(String resourceId)

Set the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.

Parameters:

resourceId - the resourceId value to set.

Returns:

the DataExportInner object itself.

withTableNames

public DataExportInner withTableNames(List<String> tableNames)

Set the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

Parameters:

tableNames - the tableNames value to set.

Returns:

the DataExportInner object itself.

Applies to