次の方法で共有


DataConnectionPayload Class

Definition

The DataConnectionPayload. Please note DataConnectionPayload 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 LogAnalyticsDataConnectionPayload and AzureDataExplorerDataConnectionPayload.

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

Constructors

DataConnectionPayload()

Initializes a new instance of DataConnectionPayload.

Properties

Content

The type of data the data connection will transfer.

Frequency

The rate at which the data connection will receive updates.

FrequencyOffset

The day to update the data connection on. (1-7 for weekly, 1-31 for monthly).

Name

The name of data connection.

Explicit Interface Implementations

IJsonModel<DataConnectionPayload>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataConnectionPayload>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataConnectionPayload>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataConnectionPayload>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataConnectionPayload>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to