Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.migrationcenter/v1alpha1.getImportJob
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets the details of an import job.
Using getImportJob
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 getImportJob(args: GetImportJobArgs, opts?: InvokeOptions): Promise<GetImportJobResult>
function getImportJobOutput(args: GetImportJobOutputArgs, opts?: InvokeOptions): Output<GetImportJobResult>def get_import_job(import_job_id: Optional[str] = None,
                   location: Optional[str] = None,
                   project: Optional[str] = None,
                   view: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetImportJobResult
def get_import_job_output(import_job_id: Optional[pulumi.Input[str]] = None,
                   location: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   view: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetImportJobResult]func LookupImportJob(ctx *Context, args *LookupImportJobArgs, opts ...InvokeOption) (*LookupImportJobResult, error)
func LookupImportJobOutput(ctx *Context, args *LookupImportJobOutputArgs, opts ...InvokeOption) LookupImportJobResultOutput> Note: This function is named LookupImportJob in the Go SDK.
public static class GetImportJob 
{
    public static Task<GetImportJobResult> InvokeAsync(GetImportJobArgs args, InvokeOptions? opts = null)
    public static Output<GetImportJobResult> Invoke(GetImportJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
public static Output<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:migrationcenter/v1alpha1:getImportJob
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ImportJob stringId 
- Location string
- Project string
- View string
- ImportJob stringId 
- Location string
- Project string
- View string
- importJob StringId 
- location String
- project String
- view String
- importJob stringId 
- location string
- project string
- view string
- import_job_ strid 
- location str
- project str
- view str
- importJob StringId 
- location String
- project String
- view String
getImportJob Result
The following output properties are available:
- AssetSource string
- Reference to a source.
- CompleteTime string
- The timestamp when the import job was completed.
- CreateTime string
- The timestamp when the import job was created.
- DisplayName string
- User-friendly display name. Maximum length is 63 characters.
- ExecutionReport Pulumi.Google Native. Migration Center. V1Alpha1. Outputs. Execution Report Response 
- The report with the results of running the import job.
- GcsPayload Pulumi.Google Native. Migration Center. V1Alpha1. Outputs. GCSPayload Info Response 
- The payload is in Google Cloud Storage.
- InlinePayload Pulumi.Google Native. Migration Center. V1Alpha1. Outputs. Inline Payload Info Response 
- The payload is included in the request, mainly used for small import jobs.
- Labels Dictionary<string, string>
- Labels as key value pairs.
- Name string
- The full name of the import job.
- State string
- The state of the import job.
- UpdateTime string
- The timestamp when the import job was last updated.
- ValidationReport Pulumi.Google Native. Migration Center. V1Alpha1. Outputs. Validation Report Response 
- The report with the validation results of the import job.
- AssetSource string
- Reference to a source.
- CompleteTime string
- The timestamp when the import job was completed.
- CreateTime string
- The timestamp when the import job was created.
- DisplayName string
- User-friendly display name. Maximum length is 63 characters.
- ExecutionReport ExecutionReport Response 
- The report with the results of running the import job.
- GcsPayload GCSPayloadInfo Response 
- The payload is in Google Cloud Storage.
- InlinePayload InlinePayload Info Response 
- The payload is included in the request, mainly used for small import jobs.
- Labels map[string]string
- Labels as key value pairs.
- Name string
- The full name of the import job.
- State string
- The state of the import job.
- UpdateTime string
- The timestamp when the import job was last updated.
- ValidationReport ValidationReport Response 
- The report with the validation results of the import job.
- assetSource String
- Reference to a source.
- completeTime String
- The timestamp when the import job was completed.
- createTime String
- The timestamp when the import job was created.
- displayName String
- User-friendly display name. Maximum length is 63 characters.
- executionReport ExecutionReport Response 
- The report with the results of running the import job.
- gcsPayload GCSPayloadInfo Response 
- The payload is in Google Cloud Storage.
- inlinePayload InlinePayload Info Response 
- The payload is included in the request, mainly used for small import jobs.
- labels Map<String,String>
- Labels as key value pairs.
- name String
- The full name of the import job.
- state String
- The state of the import job.
- updateTime String
- The timestamp when the import job was last updated.
- validationReport ValidationReport Response 
- The report with the validation results of the import job.
- assetSource string
- Reference to a source.
- completeTime string
- The timestamp when the import job was completed.
- createTime string
- The timestamp when the import job was created.
- displayName string
- User-friendly display name. Maximum length is 63 characters.
- executionReport ExecutionReport Response 
- The report with the results of running the import job.
- gcsPayload GCSPayloadInfo Response 
- The payload is in Google Cloud Storage.
- inlinePayload InlinePayload Info Response 
- The payload is included in the request, mainly used for small import jobs.
- labels {[key: string]: string}
- Labels as key value pairs.
- name string
- The full name of the import job.
- state string
- The state of the import job.
- updateTime string
- The timestamp when the import job was last updated.
- validationReport ValidationReport Response 
- The report with the validation results of the import job.
- asset_source str
- Reference to a source.
- complete_time str
- The timestamp when the import job was completed.
- create_time str
- The timestamp when the import job was created.
- display_name str
- User-friendly display name. Maximum length is 63 characters.
- execution_report ExecutionReport Response 
- The report with the results of running the import job.
- gcs_payload GCSPayloadInfo Response 
- The payload is in Google Cloud Storage.
- inline_payload InlinePayload Info Response 
- The payload is included in the request, mainly used for small import jobs.
- labels Mapping[str, str]
- Labels as key value pairs.
- name str
- The full name of the import job.
- state str
- The state of the import job.
- update_time str
- The timestamp when the import job was last updated.
- validation_report ValidationReport Response 
- The report with the validation results of the import job.
- assetSource String
- Reference to a source.
- completeTime String
- The timestamp when the import job was completed.
- createTime String
- The timestamp when the import job was created.
- displayName String
- User-friendly display name. Maximum length is 63 characters.
- executionReport Property Map
- The report with the results of running the import job.
- gcsPayload Property Map
- The payload is in Google Cloud Storage.
- inlinePayload Property Map
- The payload is included in the request, mainly used for small import jobs.
- labels Map<String>
- Labels as key value pairs.
- name String
- The full name of the import job.
- state String
- The state of the import job.
- updateTime String
- The timestamp when the import job was last updated.
- validationReport Property Map
- The report with the validation results of the import job.
Supporting Types
ExecutionReportResponse  
- ExecutionErrors Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. Validation Report Response 
- Validation errors encountered during the execution of the import job.
- FramesReported int
- Total number of asset frames reported for the import job.
- JobErrors List<Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. Import Error Response> 
- List of job-level errors. Deprecated, use the job errors under execution_errors instead.
- TotalRows intCount 
- Total number of rows in the import job.
- ExecutionErrors ValidationReport Response 
- Validation errors encountered during the execution of the import job.
- FramesReported int
- Total number of asset frames reported for the import job.
- JobErrors []ImportError Response 
- List of job-level errors. Deprecated, use the job errors under execution_errors instead.
- TotalRows intCount 
- Total number of rows in the import job.
- executionErrors ValidationReport Response 
- Validation errors encountered during the execution of the import job.
- framesReported Integer
- Total number of asset frames reported for the import job.
- jobErrors List<ImportError Response> 
- List of job-level errors. Deprecated, use the job errors under execution_errors instead.
- totalRows IntegerCount 
- Total number of rows in the import job.
- executionErrors ValidationReport Response 
- Validation errors encountered during the execution of the import job.
- framesReported number
- Total number of asset frames reported for the import job.
- jobErrors ImportError Response[] 
- List of job-level errors. Deprecated, use the job errors under execution_errors instead.
- totalRows numberCount 
- Total number of rows in the import job.
- execution_errors ValidationReport Response 
- Validation errors encountered during the execution of the import job.
- frames_reported int
- Total number of asset frames reported for the import job.
- job_errors Sequence[ImportError Response] 
- List of job-level errors. Deprecated, use the job errors under execution_errors instead.
- total_rows_ intcount 
- Total number of rows in the import job.
- executionErrors Property Map
- Validation errors encountered during the execution of the import job.
- framesReported Number
- Total number of asset frames reported for the import job.
- jobErrors List<Property Map>
- List of job-level errors. Deprecated, use the job errors under execution_errors instead.
- totalRows NumberCount 
- Total number of rows in the import job.
FileValidationReportResponse   
- FileErrors List<Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. Import Error Response> 
- List of file level errors.
- FileName string
- The name of the file.
- PartialReport bool
- Flag indicating that processing was aborted due to maximum number of errors.
- RowErrors List<Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. Import Row Error Response> 
- Partial list of rows that encountered validation error.
- FileErrors []ImportError Response 
- List of file level errors.
- FileName string
- The name of the file.
- PartialReport bool
- Flag indicating that processing was aborted due to maximum number of errors.
- RowErrors []ImportRow Error Response 
- Partial list of rows that encountered validation error.
- fileErrors List<ImportError Response> 
- List of file level errors.
- fileName String
- The name of the file.
- partialReport Boolean
- Flag indicating that processing was aborted due to maximum number of errors.
- rowErrors List<ImportRow Error Response> 
- Partial list of rows that encountered validation error.
- fileErrors ImportError Response[] 
- List of file level errors.
- fileName string
- The name of the file.
- partialReport boolean
- Flag indicating that processing was aborted due to maximum number of errors.
- rowErrors ImportRow Error Response[] 
- Partial list of rows that encountered validation error.
- file_errors Sequence[ImportError Response] 
- List of file level errors.
- file_name str
- The name of the file.
- partial_report bool
- Flag indicating that processing was aborted due to maximum number of errors.
- row_errors Sequence[ImportRow Error Response] 
- Partial list of rows that encountered validation error.
- fileErrors List<Property Map>
- List of file level errors.
- fileName String
- The name of the file.
- partialReport Boolean
- Flag indicating that processing was aborted due to maximum number of errors.
- rowErrors List<Property Map>
- Partial list of rows that encountered validation error.
GCSPayloadInfoResponse  
ImportErrorResponse  
- ErrorDetails string
- The error information.
- Severity string
- The severity of the error.
- ErrorDetails string
- The error information.
- Severity string
- The severity of the error.
- errorDetails String
- The error information.
- severity String
- The severity of the error.
- errorDetails string
- The error information.
- severity string
- The severity of the error.
- error_details str
- The error information.
- severity str
- The severity of the error.
- errorDetails String
- The error information.
- severity String
- The severity of the error.
ImportRowErrorResponse   
- Errors
List<Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. Import Error Response> 
- The list of errors detected in the row.
- RowNumber int
- The row number where the error was detected.
- VmName string
- The name of the VM in the row.
- VmUuid string
- The VM UUID.
- Errors
[]ImportError Response 
- The list of errors detected in the row.
- RowNumber int
- The row number where the error was detected.
- VmName string
- The name of the VM in the row.
- VmUuid string
- The VM UUID.
- errors
List<ImportError Response> 
- The list of errors detected in the row.
- rowNumber Integer
- The row number where the error was detected.
- vmName String
- The name of the VM in the row.
- vmUuid String
- The VM UUID.
- errors
ImportError Response[] 
- The list of errors detected in the row.
- rowNumber number
- The row number where the error was detected.
- vmName string
- The name of the VM in the row.
- vmUuid string
- The VM UUID.
- errors
Sequence[ImportError Response] 
- The list of errors detected in the row.
- row_number int
- The row number where the error was detected.
- vm_name str
- The name of the VM in the row.
- vm_uuid str
- The VM UUID.
- errors List<Property Map>
- The list of errors detected in the row.
- rowNumber Number
- The row number where the error was detected.
- vmName String
- The name of the VM in the row.
- vmUuid String
- The VM UUID.
InlinePayloadInfoResponse   
- Format string
- The import job format.
- Payload
List<Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. Payload File Response> 
- List of payload files.
- Format string
- The import job format.
- Payload
[]PayloadFile Response 
- List of payload files.
- format String
- The import job format.
- payload
List<PayloadFile Response> 
- List of payload files.
- format string
- The import job format.
- payload
PayloadFile Response[] 
- List of payload files.
- format str
- The import job format.
- payload
Sequence[PayloadFile Response] 
- List of payload files.
- format String
- The import job format.
- payload List<Property Map>
- List of payload files.
PayloadFileResponse  
ValidationReportResponse  
- FileValidations List<Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. File Validation Report Response> 
- List of errors found in files.
- JobErrors List<Pulumi.Google Native. Migration Center. V1Alpha1. Inputs. Import Error Response> 
- List of job level errors.
- FileValidations []FileValidation Report Response 
- List of errors found in files.
- JobErrors []ImportError Response 
- List of job level errors.
- fileValidations List<FileValidation Report Response> 
- List of errors found in files.
- jobErrors List<ImportError Response> 
- List of job level errors.
- fileValidations FileValidation Report Response[] 
- List of errors found in files.
- jobErrors ImportError Response[] 
- List of job level errors.
- file_validations Sequence[FileValidation Report Response] 
- List of errors found in files.
- job_errors Sequence[ImportError Response] 
- List of job level errors.
- fileValidations List<Property Map>
- List of errors found in files.
- jobErrors List<Property Map>
- List of job level errors.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi