Delen via


DataConnection Class

Definition

The DataConnection. Please note DataConnection is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include LogAnalyticsDataConnection and AzureDataExplorerDataConnection.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Analytics.Defender.Easm.UnknownDataConnection))]
public abstract class DataConnection : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Defender.Easm.DataConnection>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Defender.Easm.DataConnection>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Analytics.Defender.Easm.UnknownDataConnection))>]
type DataConnection = class
    interface IJsonModel<DataConnection>
    interface IPersistableModel<DataConnection>
Public MustInherit Class DataConnection
Implements IJsonModel(Of DataConnection), IPersistableModel(Of DataConnection)
Inheritance
DataConnection
Derived
Attributes
Implements

Constructors

DataConnection()

Initializes a new instance of DataConnection.

Properties

Active

An indicator of whether the data connection is active.

Content

The type of data the data connection will transfer.

CreatedDate

The date the data connection was created.

DisplayName

The name that can be used for display purposes.

Frequency

The rate at which the data connection will receive updates.

FrequencyOffset

The day to update the data connection on.

Id

The system generated unique id for the resource.

InactiveMessage

A message that specifies details about data connection if inactive.

Name

The caller provided unique name for the resource.

UpdatedDate

The date the data connection was last updated.

UserUpdatedAt

The date the data connection was last updated by user.

Explicit Interface Implementations

IJsonModel<DataConnection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataConnection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataConnection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataConnection>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataConnection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to