AnalyticsDefenderEasmModelFactory.DataConnection Method

Definition

Initializes a new instance of DataConnection.

public static Azure.Analytics.Defender.Easm.DataConnection DataConnection (string kind = default, 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);
static member DataConnection : string * 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.DataConnection
Public Shared Function DataConnection (Optional kind As String = Nothing, 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) As DataConnection

Parameters

kind
String

Discriminator.

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.

Returns

A new DataConnection instance for mocking.

Applies to