azure-native.securityinsights.getFileImport
Explore with Pulumi AI
Gets a file import.
Uses Azure REST API version 2025-01-01-preview.
Other available API versions: 2023-03-01-preview, 2023-04-01-preview, 2023-05-01-preview, 2023-06-01-preview, 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. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native securityinsights [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- File
Import stringId - File import ID
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- File
Import stringId - File import ID
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- file
Import StringId - File import ID
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
- file
Import stringId - File import ID
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name 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.
- file
Import StringId - File import ID
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
getFileImport Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Content
Type string - The content type of this file.
- Created
Time stringUTC - The time the file was imported.
- Error
File Pulumi.Azure Native. Security Insights. Outputs. File Metadata Response - Represents the error file (if the import was ingested with errors or failed the validation).
- Errors
Preview List<Pulumi.Azure Native. Security Insights. Outputs. Validation Error Response> - An ordered list of some of the errors that were encountered during validation.
- Files
Valid 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. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Import
File Pulumi.Azure Native. Security Insights. Outputs. File Metadata Response - Represents the imported file.
- Import
Valid stringUntil 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 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.
- System
Data Pulumi.Azure Native. Security Insights. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Total
Record intCount - The number of records in the file.
- Type string
- 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.
- Azure
Api stringVersion - The Azure API version of the resource.
- Content
Type string - The content type of this file.
- Created
Time stringUTC - 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 []ValidationError Response - An ordered list of some of the errors that were encountered during validation.
- Files
Valid 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. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Import
File FileMetadata Response - Represents the imported file.
- Import
Valid stringUntil 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 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.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Total
Record intCount - The number of records in the file.
- Type string
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- content
Type String - The content type of this file.
- created
Time StringUTC - 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 List<ValidationError Response> - An ordered list of some of the errors that were encountered during validation.
- files
Valid 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. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- import
File FileMetadata Response - Represents the imported file.
- import
Valid StringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- ingested
Record IntegerCount - The number of records that have been successfully ingested.
- ingestion
Mode 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.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Record IntegerCount - The number of records in the file.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid
Record IntegerCount - The number of records that have passed validation.
- azure
Api stringVersion - The Azure API version of the resource.
- content
Type string - The content type of this file.
- created
Time stringUTC - 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 ValidationError Response[] - An ordered list of some of the errors that were encountered during validation.
- files
Valid 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. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- import
File FileMetadata Response - Represents the imported file.
- import
Valid stringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- ingested
Record numberCount - The number of records that have been successfully ingested.
- ingestion
Mode 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.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Record numberCount - The number of records in the file.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid
Record numberCount - The number of records that have passed validation.
- azure_
api_ strversion - The Azure API version of the resource.
- 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. E.g. "/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.
- azure
Api StringVersion - The Azure API version of the resource.
- content
Type String - The content type of this file.
- created
Time StringUTC - The time the file was imported.
- error
File Property Map - Represents the error file (if the import was ingested with errors or failed the validation).
- errors
Preview List<Property Map> - An ordered list of some of the errors that were encountered during validation.
- files
Valid 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. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- import
File Property Map - Represents the imported file.
- import
Valid StringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- ingested
Record NumberCount - The number of records that have been successfully ingested.
- ingestion
Mode 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.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Record NumberCount - The number of records in the file.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid
Record NumberCount - The number of records that have passed validation.
Supporting Types
FileMetadataResponse
- Delete
Status string - Indicates whether the file was deleted from the storage account.
- File
Content stringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- File
Format string - The format of the file
- File
Name string - The name of the file.
- File
Size int - The size of the file.
- Delete
Status string - Indicates whether the file was deleted from the storage account.
- File
Content stringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- File
Format string - The format of the file
- File
Name string - The name of the file.
- File
Size int - The size of the file.
- delete
Status String - Indicates whether the file was deleted from the storage account.
- file
Content StringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- file
Format String - The format of the file
- file
Name String - The name of the file.
- file
Size Integer - The size of the file.
- delete
Status string - Indicates whether the file was deleted from the storage account.
- file
Content stringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- file
Format string - The format of the file
- file
Name string - The name of the file.
- file
Size 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.
- delete
Status String - Indicates whether the file was deleted from the storage account.
- file
Content StringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- file
Format String - The format of the file
- file
Name String - The name of the file.
- file
Size Number - The size of the file.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
ValidationErrorResponse
- Error
Messages List<string> - A list of descriptions of the error.
- Record
Index int - The number of the record that has the error.
- Error
Messages []string - A list of descriptions of the error.
- Record
Index int - The number of the record that has the error.
- error
Messages List<String> - A list of descriptions of the error.
- record
Index Integer - The number of the record that has the error.
- error
Messages string[] - A list of descriptions of the error.
- record
Index 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.
- error
Messages List<String> - A list of descriptions of the error.
- record
Index Number - The number of the record that has the error.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0