Share via


DataConnectorConnectContent Class

Definition

Represents Codeless API Polling data connector.

public class DataConnectorConnectContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent>
type DataConnectorConnectContent = class
    interface IJsonModel<DataConnectorConnectContent>
    interface IPersistableModel<DataConnectorConnectContent>
Public Class DataConnectorConnectContent
Implements IJsonModel(Of DataConnectorConnectContent), IPersistableModel(Of DataConnectorConnectContent)
Inheritance
DataConnectorConnectContent
Implements

Constructors

DataConnectorConnectContent()

Initializes a new instance of DataConnectorConnectContent.

Properties

ApiKey

The API key of the audit server.

AuthorizationCode

The authorization code used in OAuth 2.0 code flow to issue a token.

ClientId

The client id of the OAuth 2.0 application.

ClientSecret

The client secret of the OAuth 2.0 application.

DataCollectionEndpoint

Used in v2 logs connector. Represents the data collection ingestion endpoint in log analytics.

DataCollectionRuleImmutableId

Used in v2 logs connector. The data collection rule immutable id, the rule defines the transformation and data destination.

Kind

The authentication kind used to poll the data.

OutputStream

Used in v2 logs connector. The stream we are sending the data to, this is the name of the streamDeclarations defined in the DCR.

Password

The user password in the audit log server.

RequestConfigUserInputValues

Gets the request config user input values

To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

UserName

The user name in the audit log server.

Explicit Interface Implementations

IJsonModel<DataConnectorConnectContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataConnectorConnectContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataConnectorConnectContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataConnectorConnectContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataConnectorConnectContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to