Partilhar via


AnalyticsDefenderEasmModelFactory.LogAnalyticsDataConnection Method

Definition

Initializes a new instance of LogAnalyticsDataConnection.

public static Azure.Analytics.Defender.Easm.LogAnalyticsDataConnection LogAnalyticsDataConnection (string id = default, string name = default, string displayName = default, Azure.Analytics.Defender.Easm.DataConnectionContent? content = default, DateTimeOffset? createdDate = default, Azure.Analytics.Defender.Easm.DataConnectionFrequency? frequency = default, int? frequencyOffset = default, DateTimeOffset? updatedDate = default, DateTimeOffset? userUpdatedAt = default, bool? active = default, string inactiveMessage = default, Azure.Analytics.Defender.Easm.LogAnalyticsDataConnectionProperties properties = default);
static member LogAnalyticsDataConnection : string * string * string * Nullable<Azure.Analytics.Defender.Easm.DataConnectionContent> * Nullable<DateTimeOffset> * Nullable<Azure.Analytics.Defender.Easm.DataConnectionFrequency> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * string * Azure.Analytics.Defender.Easm.LogAnalyticsDataConnectionProperties -> Azure.Analytics.Defender.Easm.LogAnalyticsDataConnection
Public Shared Function LogAnalyticsDataConnection (Optional id As String = Nothing, Optional name As String = Nothing, Optional displayName As String = Nothing, Optional content As Nullable(Of DataConnectionContent) = Nothing, Optional createdDate As Nullable(Of DateTimeOffset) = Nothing, Optional frequency As Nullable(Of DataConnectionFrequency) = Nothing, Optional frequencyOffset As Nullable(Of Integer) = Nothing, Optional updatedDate As Nullable(Of DateTimeOffset) = Nothing, Optional userUpdatedAt As Nullable(Of DateTimeOffset) = Nothing, Optional active As Nullable(Of Boolean) = Nothing, Optional inactiveMessage As String = Nothing, Optional properties As LogAnalyticsDataConnectionProperties = Nothing) As LogAnalyticsDataConnection

Parameters

id
String

The system generated unique id for the resource.

name
String

The caller provided unique name for the resource.

displayName
String

The name that can be used for display purposes.

content
Nullable<DataConnectionContent>

The type of data the data connection will transfer.

createdDate
Nullable<DateTimeOffset>

The date the data connection was created.

frequency
Nullable<DataConnectionFrequency>

The rate at which the data connection will receive updates.

frequencyOffset
Nullable<Int32>

The day to update the data connection on.

updatedDate
Nullable<DateTimeOffset>

The date the data connection was last updated.

userUpdatedAt
Nullable<DateTimeOffset>

The date the data connection was last updated by user.

active
Nullable<Boolean>

An indicator of whether the data connection is active.

inactiveMessage
String

A message that specifies details about data connection if inactive.

properties
LogAnalyticsDataConnectionProperties

properties.

Returns

A new LogAnalyticsDataConnection instance for mocking.

Applies to