azure-native.securityinsights.FileImport
Explore with Pulumi AI
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, 2024-04-01-preview, 2024-10-01-preview, 2025-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 (
	securityinsights "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 * 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",
});
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={
        "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")
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.
Constructor 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={
        "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FileImport resource accepts the following input properties:
- ContentType string | Pulumi.Azure Native. Security Insights. File Import Content Type 
- The content type of this file.
- ImportFile Pulumi.Azure Native. Security Insights. Inputs. File Metadata 
- Represents the imported file.
- IngestionMode string | Pulumi.Azure Native. Security Insights. Ingestion Mode 
- Describes how to ingest the records in the file.
- ResourceGroup stringName 
- 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.
- FileImport stringId 
- File import ID
- ContentType string | FileImport Content Type 
- The content type of this file.
- ImportFile FileMetadata Args 
- Represents the imported file.
- IngestionMode string | IngestionMode 
- Describes how to ingest the records in the file.
- ResourceGroup stringName 
- 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.
- FileImport stringId 
- File import ID
- contentType String | FileImport Content Type 
- The content type of this file.
- importFile FileMetadata 
- Represents the imported file.
- ingestionMode String | IngestionMode 
- Describes how to ingest the records in the file.
- resourceGroup StringName 
- 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.
- fileImport StringId 
- File import ID
- contentType string | FileImport Content Type 
- The content type of this file.
- importFile FileMetadata 
- Represents the imported file.
- ingestionMode string | IngestionMode 
- Describes how to ingest the records in the file.
- resourceGroup stringName 
- 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.
- fileImport stringId 
- File import ID
- content_type str | FileImport Content Type 
- The content type of this file.
- import_file FileMetadata Args 
- Represents the imported file.
- ingestion_mode str | IngestionMode 
- Describes how to ingest the records in the file.
- resource_group_ strname 
- 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_ strid 
- File import ID
- contentType String | "BasicIndicator" | "Stix Indicator" | "Unspecified" 
- The content type of this file.
- importFile Property Map
- Represents the imported file.
- ingestionMode String | "IngestOnly If All Are Valid" | "Ingest Any Valid Records" | "Unspecified" 
- Describes how to ingest the records in the file.
- resourceGroup StringName 
- 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.
- fileImport StringId 
- File import ID
Outputs
All input properties are implicitly available as output properties. Additionally, the FileImport resource produces the following output properties:
- CreatedTime stringUTC 
- The time the file was imported.
- ErrorFile Pulumi.Azure Native. Security Insights. Outputs. File Metadata Response 
- Represents the error file (if the import was ingested with errors or failed the validation).
- ErrorsPreview List<Pulumi.Azure Native. Security Insights. Outputs. Validation Error Response> 
- An ordered list of some of the errors that were encountered during validation.
- FilesValid stringUntil Time UTC 
- 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.
- ImportValid stringUntil Time UTC 
- The time the file import record is soft deleted from the database and history.
- IngestedRecord intCount 
- 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.Azure Native. Security Insights. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TotalRecord intCount 
- The number of records in the file.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- ValidRecord intCount 
- The number of records that have passed validation.
- CreatedTime stringUTC 
- The time the file was imported.
- ErrorFile FileMetadata Response 
- Represents the error file (if the import was ingested with errors or failed the validation).
- ErrorsPreview []ValidationError Response 
- An ordered list of some of the errors that were encountered during validation.
- FilesValid stringUntil Time UTC 
- 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.
- ImportValid stringUntil Time UTC 
- The time the file import record is soft deleted from the database and history.
- IngestedRecord intCount 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TotalRecord intCount 
- The number of records in the file.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- ValidRecord intCount 
- The number of records that have passed validation.
- createdTime StringUTC 
- The time the file was imported.
- errorFile FileMetadata Response 
- Represents the error file (if the import was ingested with errors or failed the validation).
- errorsPreview List<ValidationError Response> 
- An ordered list of some of the errors that were encountered during validation.
- filesValid StringUntil Time UTC 
- 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.
- importValid StringUntil Time UTC 
- The time the file import record is soft deleted from the database and history.
- ingestedRecord IntegerCount 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- totalRecord IntegerCount 
- The number of records in the file.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- validRecord IntegerCount 
- The number of records that have passed validation.
- createdTime stringUTC 
- The time the file was imported.
- errorFile FileMetadata Response 
- Represents the error file (if the import was ingested with errors or failed the validation).
- errorsPreview ValidationError Response[] 
- An ordered list of some of the errors that were encountered during validation.
- filesValid stringUntil Time UTC 
- 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.
- importValid stringUntil Time UTC 
- The time the file import record is soft deleted from the database and history.
- ingestedRecord numberCount 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- totalRecord numberCount 
- The number of records in the file.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- validRecord numberCount 
- The number of records that have passed validation.
- created_time_ strutc 
- The time the file was imported.
- error_file FileMetadata Response 
- Represents the error file (if the import was ingested with errors or failed the validation).
- errors_preview Sequence[ValidationError Response] 
- An ordered list of some of the errors that were encountered during validation.
- files_valid_ struntil_ time_ utc 
- 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_ struntil_ time_ utc 
- The time the file import record is soft deleted from the database and history.
- ingested_record_ intcount 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total_record_ intcount 
- 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_ intcount 
- The number of records that have passed validation.
- createdTime StringUTC 
- 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.
- filesValid StringUntil Time UTC 
- 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.
- importValid StringUntil Time UTC 
- The time the file import record is soft deleted from the database and history.
- ingestedRecord NumberCount 
- 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.
- totalRecord NumberCount 
- The number of records in the file.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- validRecord NumberCount 
- 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.
- FileFormat CSV 
- CSVA CSV file.
- FileFormat JSON 
- JSONA JSON file.
- FileFormat 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.
- "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.
- FileImport Content Type Basic Indicator 
- BasicIndicatorFile containing records with the core fields of an indicator, plus the observables to construct the STIX pattern.
- FileImport Content Type Stix Indicator 
- StixIndicatorFile containing STIX indicators.
- FileImport Content Type 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.
- 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.Azure Native. Security Insights. File Format 
- 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.
- FileContent stringUri 
- 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.
- FileContent stringUri 
- 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.
- fileContent StringUri 
- 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.
- fileContent stringUri 
- 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_ struri 
- 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.
- fileContent StringUri 
- 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    
- IngestOnly If All Are Valid 
- IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
- IngestAny Valid Records 
- IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
- Unspecified
- UnspecifiedUnspecified
- IngestionMode Ingest Only If All Are Valid 
- IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
- IngestionMode Ingest Any Valid Records 
- IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
- IngestionMode Unspecified 
- UnspecifiedUnspecified
- IngestOnly If All Are Valid 
- IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
- IngestAny Valid Records 
- IngestAnyValidRecordsValid records should still be ingested when invalid records are detected.
- Unspecified
- UnspecifiedUnspecified
- IngestOnly If All Are Valid 
- IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
- IngestAny Valid Records 
- 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
- "IngestOnly If All Are Valid" 
- IngestOnlyIfAllAreValidNo records should be ingested when invalid records are detected.
- "IngestAny Valid Records" 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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