ArmSecurityInsightsModelFactory.SecurityInsightsFileImportData Method

Definition

Initializes a new instance of SecurityInsightsFileImportData.

public static Azure.ResourceManager.SecurityInsights.SecurityInsightsFileImportData SecurityInsightsFileImportData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityInsights.Models.IngestionMode? ingestionMode = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileImportContentType? contentType = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileMetadata errorFile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileValidationError> errorsPreview = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileMetadata importFile = default, int? ingestedRecordCount = default, string source = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileImportState? state = default, int? totalRecordCount = default, int? validRecordCount = default, DateTimeOffset? filesValidUntil = default, DateTimeOffset? importValidUntil = default);
static member SecurityInsightsFileImportData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.SecurityInsights.Models.IngestionMode> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileImportContentType> * Nullable<DateTimeOffset> * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileMetadata * seq<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileValidationError> * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileMetadata * Nullable<int> * string * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileImportState> * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.SecurityInsights.SecurityInsightsFileImportData
Public Shared Function SecurityInsightsFileImportData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional ingestionMode As Nullable(Of IngestionMode) = Nothing, Optional contentType As Nullable(Of SecurityInsightsFileImportContentType) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional errorFile As SecurityInsightsFileMetadata = Nothing, Optional errorsPreview As IEnumerable(Of SecurityInsightsFileValidationError) = Nothing, Optional importFile As SecurityInsightsFileMetadata = Nothing, Optional ingestedRecordCount As Nullable(Of Integer) = Nothing, Optional source As String = Nothing, Optional state As Nullable(Of SecurityInsightsFileImportState) = Nothing, Optional totalRecordCount As Nullable(Of Integer) = Nothing, Optional validRecordCount As Nullable(Of Integer) = Nothing, Optional filesValidUntil As Nullable(Of DateTimeOffset) = Nothing, Optional importValidUntil As Nullable(Of DateTimeOffset) = Nothing) As SecurityInsightsFileImportData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

ingestionMode
Nullable<IngestionMode>

Describes how to ingest the records in the file.

contentType
Nullable<SecurityInsightsFileImportContentType>

The content type of this file.

createdOn
Nullable<DateTimeOffset>

The time the file was imported.

errorFile
SecurityInsightsFileMetadata

Represents the error file (if the import was ingested with errors or failed the validation).

errorsPreview
IEnumerable<SecurityInsightsFileValidationError>

An ordered list of some of the errors that were encountered during validation.

importFile
SecurityInsightsFileMetadata

Represents the imported file.

ingestedRecordCount
Nullable<Int32>

The number of records that have been successfully ingested.

source
String

The source for the data in the file.

state
Nullable<SecurityInsightsFileImportState>

The state of the file import.

totalRecordCount
Nullable<Int32>

The number of records in the file.

validRecordCount
Nullable<Int32>

The number of records that have passed validation.

filesValidUntil
Nullable<DateTimeOffset>

The time the files associated with this import are deleted from the storage account.

importValidUntil
Nullable<DateTimeOffset>

The time the file import record is soft deleted from the database and history.

Returns

A new SecurityInsightsFileImportData instance for mocking.

Applies to