Class DataExportInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.DataExportInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class DataExportInner
extends com.azure.core.management.ProxyResource
The top level data export resource container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the createdDate property: The latest data export rule modification time.Get the dataExportId property: The data export rule ID.enable()Get the enable property: Active when enabled.Get the eventHubName property: Optional.static DataExportInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DataExportInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the lastModifiedDate property: Date and time when the export was last modified.name()Get the name property: The name of the resource.Get the resourceId property: The destination resource ID.com.azure.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.Get the type property: The type of the destination resource.withCreatedDate(String createdDate) Set the createdDate property: The latest data export rule modification time.withDataExportId(String dataExportId) Set the dataExportId property: The data export rule ID.withEnable(Boolean enable) Set the enable property: Active when enabled.withEventHubName(String eventHubName) Set the eventHubName property: Optional.withLastModifiedDate(String lastModifiedDate) Set the lastModifiedDate property: Date and time when the export was last modified.withResourceId(String resourceId) Set the resourceId property: The destination resource ID.withTableNames(List<String> tableNames) Set the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DataExportInner
public DataExportInner()Creates an instance of DataExportInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
dataExportId
Get the dataExportId property: The data export rule ID.- Returns:
- the dataExportId value.
-
withDataExportId
Set the dataExportId property: The data export rule ID.- Parameters:
dataExportId- the dataExportId value to set.- Returns:
- the DataExportInner object itself.
-
tableNames
-
withTableNames
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.
-
enable
-
withEnable
Set the enable property: Active when enabled.- Parameters:
enable- the enable value to set.- Returns:
- the DataExportInner object itself.
-
createdDate
Get the createdDate property: The latest data export rule modification time.- Returns:
- the createdDate value.
-
withCreatedDate
Set the createdDate property: The latest data export rule modification time.- Parameters:
createdDate- the createdDate value to set.- Returns:
- the DataExportInner object itself.
-
lastModifiedDate
Get the lastModifiedDate property: Date and time when the export was last modified.- Returns:
- the lastModifiedDate value.
-
withLastModifiedDate
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.
-
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.
-
withResourceId
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.
-
typePropertiesType
Get the type property: The type of the destination resource.- Returns:
- the type value.
-
eventHubName
Get the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.- Returns:
- the eventHubName value.
-
withEventHubName
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DataExportInner.
-