Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
- Latest
- 2025-04-01-preview
- 2025-01-01-preview
- 2024-10-01-preview
- 2024-04-01-preview
- 2024-01-01-preview
- 2023-12-01-preview
- 2023-10-01-preview
- 2023-09-01-preview
- 2023-08-01-preview
- 2023-07-01-preview
- 2023-06-01-preview
- 2023-05-01-preview
- 2023-04-01-preview
- 2023-03-01-preview
- 2023-02-01-preview
- 2022-12-01-preview
- 2022-11-01-preview
- 2022-10-01-preview
- 2022-09-01-preview
- 2022-08-01-preview
Bicep resource definition
The fileImports resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.SecurityInsights/fileImports resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.SecurityInsights/fileImports@2025-01-01-preview' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
contentType: 'string'
importFile: {
fileFormat: 'string'
fileName: 'string'
fileSize: int
}
ingestionMode: 'string'
source: 'string'
}
}
Property Values
Microsoft.SecurityInsights/fileImports
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | File import properties | FileImportProperties |
scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
FileImportProperties
Name | Description | Value |
---|---|---|
contentType | The content type of this file. | 'BasicIndicator' 'StixIndicator' 'Unspecified' (required) |
importFile | Represents the imported file. | FileMetadata (required) |
ingestionMode | Describes how to ingest the records in the file. | 'IngestAnyValidRecords' 'IngestOnlyIfAllAreValid' 'Unspecified' (required) |
source | The source for the data in the file. | string (required) |
FileMetadata
Name | Description | Value |
---|---|---|
fileFormat | The format of the file | 'CSV' 'JSON' 'Unspecified' |
fileName | The name of the file. | string |
fileSize | The size of the file. | int |
ARM template resource definition
The fileImports resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.SecurityInsights/fileImports resource, add the following JSON to your template.
{
"type": "Microsoft.SecurityInsights/fileImports",
"apiVersion": "2025-01-01-preview",
"name": "string",
"properties": {
"contentType": "string",
"importFile": {
"fileFormat": "string",
"fileName": "string",
"fileSize": "int"
},
"ingestionMode": "string",
"source": "string"
}
}
Property Values
Microsoft.SecurityInsights/fileImports
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2025-01-01-preview' |
name | The resource name | string (required) |
properties | File import properties | FileImportProperties |
type | The resource type | 'Microsoft.SecurityInsights/fileImports' |
FileImportProperties
Name | Description | Value |
---|---|---|
contentType | The content type of this file. | 'BasicIndicator' 'StixIndicator' 'Unspecified' (required) |
importFile | Represents the imported file. | FileMetadata (required) |
ingestionMode | Describes how to ingest the records in the file. | 'IngestAnyValidRecords' 'IngestOnlyIfAllAreValid' 'Unspecified' (required) |
source | The source for the data in the file. | string (required) |
FileMetadata
Name | Description | Value |
---|---|---|
fileFormat | The format of the file | 'CSV' 'JSON' 'Unspecified' |
fileName | The name of the file. | string |
fileSize | The size of the file. | int |
Usage Examples
Terraform (AzAPI provider) resource definition
The fileImports resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.SecurityInsights/fileImports resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.SecurityInsights/fileImports@2025-01-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
contentType = "string"
importFile = {
fileFormat = "string"
fileName = "string"
fileSize = int
}
ingestionMode = "string"
source = "string"
}
}
}
Property Values
Microsoft.SecurityInsights/fileImports
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | File import properties | FileImportProperties |
type | The resource type | "Microsoft.SecurityInsights/fileImports@2025-01-01-preview" |
FileImportProperties
Name | Description | Value |
---|---|---|
contentType | The content type of this file. | 'BasicIndicator' 'StixIndicator' 'Unspecified' (required) |
importFile | Represents the imported file. | FileMetadata (required) |
ingestionMode | Describes how to ingest the records in the file. | 'IngestAnyValidRecords' 'IngestOnlyIfAllAreValid' 'Unspecified' (required) |
source | The source for the data in the file. | string (required) |
FileMetadata
Name | Description | Value |
---|---|---|
fileFormat | The format of the file | 'CSV' 'JSON' 'Unspecified' |
fileName | The name of the file. | string |
fileSize | The size of the file. | int |