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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.securityinsights.getFileImport
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a file import. 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.
Using getFileImport
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFileImport(args: GetFileImportArgs, opts?: InvokeOptions): Promise<GetFileImportResult>
function getFileImportOutput(args: GetFileImportOutputArgs, opts?: InvokeOptions): Output<GetFileImportResult>def get_file_import(file_import_id: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    workspace_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetFileImportResult
def get_file_import_output(file_import_id: Optional[pulumi.Input[str]] = None,
                    resource_group_name: Optional[pulumi.Input[str]] = None,
                    workspace_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetFileImportResult]func LookupFileImport(ctx *Context, args *LookupFileImportArgs, opts ...InvokeOption) (*LookupFileImportResult, error)
func LookupFileImportOutput(ctx *Context, args *LookupFileImportOutputArgs, opts ...InvokeOption) LookupFileImportResultOutput> Note: This function is named LookupFileImport in the Go SDK.
public static class GetFileImport 
{
    public static Task<GetFileImportResult> InvokeAsync(GetFileImportArgs args, InvokeOptions? opts = null)
    public static Output<GetFileImportResult> Invoke(GetFileImportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFileImportResult> getFileImport(GetFileImportArgs args, InvokeOptions options)
public static Output<GetFileImportResult> getFileImport(GetFileImportArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:securityinsights:getFileImport
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FileImport stringId 
- File import ID
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the workspace.
- FileImport stringId 
- File import ID
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the workspace.
- fileImport StringId 
- File import ID
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the workspace.
- fileImport stringId 
- File import ID
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- workspaceName string
- The name of the workspace.
- file_import_ strid 
- File import ID
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- workspace_name str
- The name of the workspace.
- fileImport StringId 
- File import ID
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the workspace.
getFileImport Result
The following output properties are available:
- ContentType string
- The content type of this file.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ImportFile Pulumi.Azure Native. Security Insights. Outputs. File Metadata Response 
- Represents the imported file.
- 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.
- IngestionMode string
- Describes how to ingest the records in the file.
- Name string
- The name of the resource
- Source string
- The source for the data in the file.
- 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.
- ContentType string
- The content type of this file.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ImportFile FileMetadata Response 
- Represents the imported file.
- 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.
- IngestionMode string
- Describes how to ingest the records in the file.
- Name string
- The name of the resource
- Source string
- The source for the data in the file.
- 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.
- contentType String
- The content type of this file.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- importFile FileMetadata Response 
- Represents the imported file.
- 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.
- ingestionMode String
- Describes how to ingest the records in the file.
- name String
- The name of the resource
- source String
- The source for the data in the file.
- 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.
- contentType string
- The content type of this file.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- importFile FileMetadata Response 
- Represents the imported file.
- 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.
- ingestionMode string
- Describes how to ingest the records in the file.
- name string
- The name of the resource
- source string
- The source for the data in the file.
- 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.
- content_type str
- The content type of this file.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- import_file FileMetadata Response 
- Represents the imported file.
- 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.
- ingestion_mode str
- Describes how to ingest the records in the file.
- name str
- The name of the resource
- source str
- The source for the data in the file.
- 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.
- contentType String
- The content type of this file.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- importFile Property Map
- Represents the imported file.
- 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.
- ingestionMode String
- Describes how to ingest the records in the file.
- name String
- The name of the resource
- source String
- The source for the data in the file.
- 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
FileMetadataResponse  
- 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.
SystemDataResponse  
- 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  
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi