1. Packages
  2. Azure Native
  3. API Docs
  4. securityinsights
  5. FileImport
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

azure-native.securityinsights.FileImport

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

    Represents a file import in Azure Security Insights. Azure REST API version: 2023-06-01-preview.

    Other available API versions: 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-12-01-preview, 2024-01-01-preview.

    Example Usage

    Create a file import.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var fileImport = new AzureNative.SecurityInsights.FileImport("fileImport", new()
        {
            ContentType = AzureNative.SecurityInsights.FileImportContentType.StixIndicator,
            FileImportId = "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
            ImportFile = new AzureNative.SecurityInsights.Inputs.FileMetadataArgs
            {
                FileFormat = AzureNative.SecurityInsights.FileFormat.JSON,
                FileName = "myFile.json",
                FileSize = 4653,
            },
            IngestionMode = AzureNative.SecurityInsights.IngestionMode.IngestAnyValidRecords,
            ResourceGroupName = "myRg",
            Source = "mySource",
            WorkspaceName = "myWorkspace",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := securityinsights.NewFileImport(ctx, "fileImport", &securityinsights.FileImportArgs{
    			ContentType:  pulumi.String(securityinsights.FileImportContentTypeStixIndicator),
    			FileImportId: pulumi.String("73e01a99-5cd7-4139-a149-9f2736ff2ab5"),
    			ImportFile: &securityinsights.FileMetadataArgs{
    				FileFormat: pulumi.String(securityinsights.FileFormatJSON),
    				FileName:   pulumi.String("myFile.json"),
    				FileSize:   pulumi.Int(4653),
    			},
    			IngestionMode:     pulumi.String(securityinsights.IngestionModeIngestAnyValidRecords),
    			ResourceGroupName: pulumi.String("myRg"),
    			Source:            pulumi.String("mySource"),
    			WorkspaceName:     pulumi.String("myWorkspace"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.securityinsights.FileImport;
    import com.pulumi.azurenative.securityinsights.FileImportArgs;
    import com.pulumi.azurenative.securityinsights.inputs.FileMetadataArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var fileImport = new FileImport("fileImport", FileImportArgs.builder()        
                .contentType("StixIndicator")
                .fileImportId("73e01a99-5cd7-4139-a149-9f2736ff2ab5")
                .importFile(FileMetadataArgs.builder()
                    .fileFormat("JSON")
                    .fileName("myFile.json")
                    .fileSize(4653)
                    .build())
                .ingestionMode("IngestAnyValidRecords")
                .resourceGroupName("myRg")
                .source("mySource")
                .workspaceName("myWorkspace")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    file_import = azure_native.securityinsights.FileImport("fileImport",
        content_type=azure_native.securityinsights.FileImportContentType.STIX_INDICATOR,
        file_import_id="73e01a99-5cd7-4139-a149-9f2736ff2ab5",
        import_file=azure_native.securityinsights.FileMetadataArgs(
            file_format=azure_native.securityinsights.FileFormat.JSON,
            file_name="myFile.json",
            file_size=4653,
        ),
        ingestion_mode=azure_native.securityinsights.IngestionMode.INGEST_ANY_VALID_RECORDS,
        resource_group_name="myRg",
        source="mySource",
        workspace_name="myWorkspace")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const fileImport = new azure_native.securityinsights.FileImport("fileImport", {
        contentType: azure_native.securityinsights.FileImportContentType.StixIndicator,
        fileImportId: "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
        importFile: {
            fileFormat: azure_native.securityinsights.FileFormat.JSON,
            fileName: "myFile.json",
            fileSize: 4653,
        },
        ingestionMode: azure_native.securityinsights.IngestionMode.IngestAnyValidRecords,
        resourceGroupName: "myRg",
        source: "mySource",
        workspaceName: "myWorkspace",
    });
    
    resources:
      fileImport:
        type: azure-native:securityinsights:FileImport
        properties:
          contentType: StixIndicator
          fileImportId: 73e01a99-5cd7-4139-a149-9f2736ff2ab5
          importFile:
            fileFormat: JSON
            fileName: myFile.json
            fileSize: 4653
          ingestionMode: IngestAnyValidRecords
          resourceGroupName: myRg
          source: mySource
          workspaceName: myWorkspace
    

    Create FileImport Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FileImport(name: string, args: FileImportArgs, opts?: CustomResourceOptions);
    @overload
    def FileImport(resource_name: str,
                   args: FileImportArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def FileImport(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   content_type: Optional[Union[str, FileImportContentType]] = None,
                   import_file: Optional[FileMetadataArgs] = None,
                   ingestion_mode: Optional[Union[str, IngestionMode]] = None,
                   resource_group_name: Optional[str] = None,
                   source: Optional[str] = None,
                   workspace_name: Optional[str] = None,
                   file_import_id: Optional[str] = None)
    func NewFileImport(ctx *Context, name string, args FileImportArgs, opts ...ResourceOption) (*FileImport, error)
    public FileImport(string name, FileImportArgs args, CustomResourceOptions? opts = null)
    public FileImport(String name, FileImportArgs args)
    public FileImport(String name, FileImportArgs args, CustomResourceOptions options)
    
    type: azure-native:securityinsights:FileImport
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FileImportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FileImportArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FileImportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FileImportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FileImportArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var fileImportResource = new AzureNative.SecurityInsights.FileImport("fileImportResource", new()
    {
        ContentType = "string",
        ImportFile = new AzureNative.SecurityInsights.Inputs.FileMetadataArgs
        {
            FileFormat = "string",
            FileName = "string",
            FileSize = 0,
        },
        IngestionMode = "string",
        ResourceGroupName = "string",
        Source = "string",
        WorkspaceName = "string",
        FileImportId = "string",
    });
    
    example, err := securityinsights.NewFileImport(ctx, "fileImportResource", &securityinsights.FileImportArgs{
    ContentType: pulumi.String("string"),
    ImportFile: &securityinsights.FileMetadataArgs{
    FileFormat: pulumi.String("string"),
    FileName: pulumi.String("string"),
    FileSize: pulumi.Int(0),
    },
    IngestionMode: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    Source: pulumi.String("string"),
    WorkspaceName: pulumi.String("string"),
    FileImportId: pulumi.String("string"),
    })
    
    var fileImportResource = new FileImport("fileImportResource", FileImportArgs.builder()        
        .contentType("string")
        .importFile(FileMetadataArgs.builder()
            .fileFormat("string")
            .fileName("string")
            .fileSize(0)
            .build())
        .ingestionMode("string")
        .resourceGroupName("string")
        .source("string")
        .workspaceName("string")
        .fileImportId("string")
        .build());
    
    file_import_resource = azure_native.securityinsights.FileImport("fileImportResource",
        content_type="string",
        import_file=azure_native.securityinsights.FileMetadataArgs(
            file_format="string",
            file_name="string",
            file_size=0,
        ),
        ingestion_mode="string",
        resource_group_name="string",
        source="string",
        workspace_name="string",
        file_import_id="string")
    
    const fileImportResource = new azure_native.securityinsights.FileImport("fileImportResource", {
        contentType: "string",
        importFile: {
            fileFormat: "string",
            fileName: "string",
            fileSize: 0,
        },
        ingestionMode: "string",
        resourceGroupName: "string",
        source: "string",
        workspaceName: "string",
        fileImportId: "string",
    });
    
    type: azure-native:securityinsights:FileImport
    properties:
        contentType: string
        fileImportId: string
        importFile:
            fileFormat: string
            fileName: string
            fileSize: 0
        ingestionMode: string
        resourceGroupName: string
        source: string
        workspaceName: string
    

    FileImport Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FileImport resource accepts the following input properties:

    ContentType string | Pulumi.AzureNative.SecurityInsights.FileImportContentType
    The content type of this file.
    ImportFile Pulumi.AzureNative.SecurityInsights.Inputs.FileMetadata
    Represents the imported file.
    IngestionMode string | Pulumi.AzureNative.SecurityInsights.IngestionMode
    Describes how to ingest the records in the file.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Source string
    The source for the data in the file.
    WorkspaceName string
    The name of the workspace.
    FileImportId string
    File import ID
    ContentType string | FileImportContentType
    The content type of this file.
    ImportFile FileMetadataArgs
    Represents the imported file.
    IngestionMode string | IngestionMode
    Describes how to ingest the records in the file.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Source string
    The source for the data in the file.
    WorkspaceName string
    The name of the workspace.
    FileImportId string
    File import ID
    contentType String | FileImportContentType
    The content type of this file.
    importFile FileMetadata
    Represents the imported file.
    ingestionMode String | IngestionMode
    Describes how to ingest the records in the file.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    source String
    The source for the data in the file.
    workspaceName String
    The name of the workspace.
    fileImportId String
    File import ID
    contentType string | FileImportContentType
    The content type of this file.
    importFile FileMetadata
    Represents the imported file.
    ingestionMode string | IngestionMode
    Describes how to ingest the records in the file.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    source string
    The source for the data in the file.
    workspaceName string
    The name of the workspace.
    fileImportId string
    File import ID
    content_type str | FileImportContentType
    The content type of this file.
    import_file FileMetadataArgs
    Represents the imported file.
    ingestion_mode str | IngestionMode
    Describes how to ingest the records in the file.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    source str
    The source for the data in the file.
    workspace_name str
    The name of the workspace.
    file_import_id str
    File import ID
    contentType String | "BasicIndicator" | "StixIndicator" | "Unspecified"
    The content type of this file.
    importFile Property Map
    Represents the imported file.
    ingestionMode String | "IngestOnlyIfAllAreValid" | "IngestAnyValidRecords" | "Unspecified"
    Describes how to ingest the records in the file.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    source String
    The source for the data in the file.
    workspaceName String
    The name of the workspace.
    fileImportId String
    File import ID

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FileImport resource produces the following output properties:

    CreatedTimeUTC string
    The time the file was imported.
    ErrorFile Pulumi.AzureNative.SecurityInsights.Outputs.FileMetadataResponse
    Represents the error file (if the import was ingested with errors or failed the validation).
    ErrorsPreview List<Pulumi.AzureNative.SecurityInsights.Outputs.ValidationErrorResponse>
    An ordered list of some of the errors that were encountered during validation.
    FilesValidUntilTimeUTC string
    The time the files associated with this import are deleted from the storage account.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImportValidUntilTimeUTC string
    The time the file import record is soft deleted from the database and history.
    IngestedRecordCount int
    The number of records that have been successfully ingested.
    Name string
    The name of the resource
    State string
    The state of the file import.
    SystemData Pulumi.AzureNative.SecurityInsights.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    TotalRecordCount int
    The number of records in the file.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    ValidRecordCount int
    The number of records that have passed validation.
    CreatedTimeUTC string
    The time the file was imported.
    ErrorFile FileMetadataResponse
    Represents the error file (if the import was ingested with errors or failed the validation).
    ErrorsPreview []ValidationErrorResponse
    An ordered list of some of the errors that were encountered during validation.
    FilesValidUntilTimeUTC string
    The time the files associated with this import are deleted from the storage account.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImportValidUntilTimeUTC string
    The time the file import record is soft deleted from the database and history.
    IngestedRecordCount int
    The number of records that have been successfully ingested.
    Name string
    The name of the resource
    State string
    The state of the file import.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    TotalRecordCount int
    The number of records in the file.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    ValidRecordCount int
    The number of records that have passed validation.
    createdTimeUTC String
    The time the file was imported.
    errorFile FileMetadataResponse
    Represents the error file (if the import was ingested with errors or failed the validation).
    errorsPreview List<ValidationErrorResponse>
    An ordered list of some of the errors that were encountered during validation.
    filesValidUntilTimeUTC String
    The time the files associated with this import are deleted from the storage account.
    id String
    The provider-assigned unique ID for this managed resource.
    importValidUntilTimeUTC String
    The time the file import record is soft deleted from the database and history.
    ingestedRecordCount Integer
    The number of records that have been successfully ingested.
    name String
    The name of the resource
    state String
    The state of the file import.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    totalRecordCount Integer
    The number of records in the file.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    validRecordCount Integer
    The number of records that have passed validation.
    createdTimeUTC string
    The time the file was imported.
    errorFile FileMetadataResponse
    Represents the error file (if the import was ingested with errors or failed the validation).
    errorsPreview ValidationErrorResponse[]
    An ordered list of some of the errors that were encountered during validation.
    filesValidUntilTimeUTC string
    The time the files associated with this import are deleted from the storage account.
    id string
    The provider-assigned unique ID for this managed resource.
    importValidUntilTimeUTC string
    The time the file import record is soft deleted from the database and history.
    ingestedRecordCount number
    The number of records that have been successfully ingested.
    name string
    The name of the resource
    state string
    The state of the file import.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    totalRecordCount number
    The number of records in the file.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    validRecordCount number
    The number of records that have passed validation.
    created_time_utc str
    The time the file was imported.
    error_file FileMetadataResponse
    Represents the error file (if the import was ingested with errors or failed the validation).
    errors_preview Sequence[ValidationErrorResponse]
    An ordered list of some of the errors that were encountered during validation.
    files_valid_until_time_utc str
    The time the files associated with this import are deleted from the storage account.
    id str
    The provider-assigned unique ID for this managed resource.
    import_valid_until_time_utc str
    The time the file import record is soft deleted from the database and history.
    ingested_record_count int
    The number of records that have been successfully ingested.
    name str
    The name of the resource
    state str
    The state of the file import.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    total_record_count int
    The number of records in the file.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    valid_record_count int
    The number of records that have passed validation.
    createdTimeUTC String
    The time the file was imported.
    errorFile Property Map
    Represents the error file (if the import was ingested with errors or failed the validation).
    errorsPreview List<Property Map>
    An ordered list of some of the errors that were encountered during validation.
    filesValidUntilTimeUTC String
    The time the files associated with this import are deleted from the storage account.
    id String
    The provider-assigned unique ID for this managed resource.
    importValidUntilTimeUTC String
    The time the file import record is soft deleted from the database and history.
    ingestedRecordCount Number
    The number of records that have been successfully ingested.
    name String
    The name of the resource
    state String
    The state of the file import.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    totalRecordCount Number
    The number of records in the file.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    validRecordCount Number
    The number of records that have passed validation.

    Supporting Types

    FileFormat, FileFormatArgs

    CSV
    CSVA CSV file.
    JSON
    JSONA JSON file.
    Unspecified
    UnspecifiedA file of other format.
    FileFormatCSV
    CSVA CSV file.
    FileFormatJSON
    JSONA JSON file.
    FileFormatUnspecified
    UnspecifiedA file of other format.
    CSV
    CSVA CSV file.
    JSON
    JSONA JSON file.
    Unspecified
    UnspecifiedA file of other format.
    CSV
    CSVA CSV file.
    JSON
    JSONA JSON file.
    Unspecified
    UnspecifiedA file of other format.
    CSV
    CSVA CSV file.
    JSON
    JSONA JSON file.
    UNSPECIFIED
    UnspecifiedA file of other format.
    "CSV"
    CSVA CSV file.
    "JSON"
    JSONA JSON file.
    "Unspecified"
    UnspecifiedA file of other format.

    FileImportContentType, FileImportContentTypeArgs

    BasicIndicator
    BasicIndicatorFile containing records with the core fields of an indicator, plus the observables to construct the STIX pattern.
    StixIndicator
    StixIndicatorFile containing STIX indicators.
    Unspecified
    UnspecifiedFile containing other records.
    FileImportContentTypeBasicIndicator
    BasicIndicatorFile containing records with the core fields of an indicator, plus the observables to construct the STIX pattern.
    FileImportContentTypeStixIndicator
    StixIndicatorFile containing STIX indicators.
    FileImportContentTypeUnspecified
    UnspecifiedFile containing other records.
    BasicIndicator
    BasicIndicatorFile containing records with the core fields of an indicator, plus the observables to construct the STIX pattern.
    StixIndicator
    StixIndicatorFile containing STIX indicators.
    Unspecified
    UnspecifiedFile containing other records.
    BasicIndicator
    BasicIndicatorFile containing records with the core fields of an indicator, plus the observables to construct the STIX pattern.
    StixIndicator
    StixIndicatorFile containing STIX indicators.
    Unspecified
    UnspecifiedFile containing other records.
    BASIC_INDICATOR
    BasicIndicatorFile containing records with the core fields of an indicator, plus the observables to construct the STIX pattern.
    STIX_INDICATOR
    StixIndicatorFile containing STIX indicators.
    UNSPECIFIED
    UnspecifiedFile containing other records.
    "BasicIndicator"
    BasicIndicatorFile containing records with the core fields of an indicator, plus the observables to construct the STIX pattern.
    "StixIndicator"
    StixIndicatorFile containing STIX indicators.
    "Unspecified"
    UnspecifiedFile containing other records.

    FileMetadata, FileMetadataArgs

    FileFormat string | Pulumi.AzureNative.SecurityInsights.FileFormat
    The format of the file
    FileName string
    The name of the file.
    FileSize int
    The size of the file.
    FileFormat string | FileFormat
    The format of the file
    FileName string
    The name of the file.
    FileSize int
    The size of the file.
    fileFormat String | FileFormat
    The format of the file
    fileName String
    The name of the file.
    fileSize Integer
    The size of the file.
    fileFormat string | FileFormat
    The format of the file
    fileName string
    The name of the file.
    fileSize number
    The size of the file.
    file_format str | FileFormat
    The format of the file
    file_name str
    The name of the file.
    file_size int
    The size of the file.
    fileFormat String | "CSV" | "JSON" | "Unspecified"
    The format of the file
    fileName String
    The name of the file.
    fileSize Number
    The size of the file.

    FileMetadataResponse, FileMetadataResponseArgs

    DeleteStatus string
    Indicates whether the file was deleted from the storage account.
    FileContentUri string
    A URI with a valid SAS token to allow uploading / downloading the file.
    FileFormat string
    The format of the file
    FileName string
    The name of the file.
    FileSize int
    The size of the file.
    DeleteStatus string
    Indicates whether the file was deleted from the storage account.
    FileContentUri string
    A URI with a valid SAS token to allow uploading / downloading the file.
    FileFormat string
    The format of the file
    FileName string
    The name of the file.
    FileSize int
    The size of the file.
    deleteStatus String
    Indicates whether the file was deleted from the storage account.
    fileContentUri String
    A URI with a valid SAS token to allow uploading / downloading the file.
    fileFormat String
    The format of the file
    fileName String
    The name of the file.
    fileSize Integer
    The size of the file.
    deleteStatus string
    Indicates whether the file was deleted from the storage account.
    fileContentUri string
    A URI with a valid SAS token to allow uploading / downloading the file.
    fileFormat string
    The format of the file
    fileName string
    The name of the file.
    fileSize number
    The size of the file.
    delete_status str
    Indicates whether the file was deleted from the storage account.
    file_content_uri str
    A URI with a valid SAS token to allow uploading / downloading the file.
    file_format str
    The format of the file
    file_name str
    The name of the file.
    file_size int
    The size of the file.
    deleteStatus String
    Indicates whether the file was deleted from the storage account.
    fileContentUri String
    A URI with a valid SAS token to allow uploading / downloading the file.
    fileFormat String
    The format of the file
    fileName String
    The name of the file.
    fileSize Number
    The size of the file.

    IngestionMode, IngestionModeArgs

    IngestOnlyIfAllAreValid
    IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
    IngestAnyValidRecords
    IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
    Unspecified
    UnspecifiedUnspecified
    IngestionModeIngestOnlyIfAllAreValid
    IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
    IngestionModeIngestAnyValidRecords
    IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
    IngestionModeUnspecified
    UnspecifiedUnspecified
    IngestOnlyIfAllAreValid
    IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
    IngestAnyValidRecords
    IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
    Unspecified
    UnspecifiedUnspecified
    IngestOnlyIfAllAreValid
    IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
    IngestAnyValidRecords
    IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
    Unspecified
    UnspecifiedUnspecified
    INGEST_ONLY_IF_ALL_ARE_VALID
    IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
    INGEST_ANY_VALID_RECORDS
    IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
    UNSPECIFIED
    UnspecifiedUnspecified
    "IngestOnlyIfAllAreValid"
    IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
    "IngestAnyValidRecords"
    IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
    "Unspecified"
    UnspecifiedUnspecified

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    ValidationErrorResponse, ValidationErrorResponseArgs

    ErrorMessages List<string>
    A list of descriptions of the error.
    RecordIndex int
    The number of the record that has the error.
    ErrorMessages []string
    A list of descriptions of the error.
    RecordIndex int
    The number of the record that has the error.
    errorMessages List<String>
    A list of descriptions of the error.
    recordIndex Integer
    The number of the record that has the error.
    errorMessages string[]
    A list of descriptions of the error.
    recordIndex number
    The number of the record that has the error.
    error_messages Sequence[str]
    A list of descriptions of the error.
    record_index int
    The number of the record that has the error.
    errorMessages List<String>
    A list of descriptions of the error.
    recordIndex Number
    The number of the record that has the error.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:securityinsights:FileImport 73e01a99-5cd7-4139-a149-9f2736ff2ab5 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi