1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1
  6. getImportJob

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/v1.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>
Copy
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]
Copy
func LookupImportJob(ctx *Context, args *LookupImportJobArgs, opts ...InvokeOption) (*LookupImportJobResult, error)
func LookupImportJobOutput(ctx *Context, args *LookupImportJobOutputArgs, opts ...InvokeOption) LookupImportJobResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
public static Output<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:migrationcenter/v1:getImportJob
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ImportJobId This property is required. string
Location This property is required. string
Project string
View string
ImportJobId This property is required. string
Location This property is required. string
Project string
View string
importJobId This property is required. String
location This property is required. String
project String
view String
importJobId This property is required. string
location This property is required. string
project string
view string
import_job_id This property is required. str
location This property is required. str
project str
view str
importJobId This property is required. String
location This property is required. 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
Optional. User-friendly display name. Maximum length is 256 characters.
ExecutionReport Pulumi.GoogleNative.MigrationCenter.V1.Outputs.ExecutionReportResponse
The report with the results of running the import job.
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.GoogleNative.MigrationCenter.V1.Outputs.ValidationReportResponse
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
Optional. User-friendly display name. Maximum length is 256 characters.
ExecutionReport ExecutionReportResponse
The report with the results of running the import job.
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 ValidationReportResponse
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
Optional. User-friendly display name. Maximum length is 256 characters.
executionReport ExecutionReportResponse
The report with the results of running the import job.
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 ValidationReportResponse
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
Optional. User-friendly display name. Maximum length is 256 characters.
executionReport ExecutionReportResponse
The report with the results of running the import job.
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 ValidationReportResponse
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
Optional. User-friendly display name. Maximum length is 256 characters.
execution_report ExecutionReportResponse
The report with the results of running the import job.
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 ValidationReportResponse
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
Optional. User-friendly display name. Maximum length is 256 characters.
executionReport Property Map
The report with the results of running the import job.
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 This property is required. Pulumi.GoogleNative.MigrationCenter.V1.Inputs.ValidationReportResponse
Validation errors encountered during the execution of the import job.
FramesReported This property is required. int
Total number of asset frames reported for the import job.
TotalRowsCount This property is required. int
Total number of rows in the import job.
ExecutionErrors This property is required. ValidationReportResponse
Validation errors encountered during the execution of the import job.
FramesReported This property is required. int
Total number of asset frames reported for the import job.
TotalRowsCount This property is required. int
Total number of rows in the import job.
executionErrors This property is required. ValidationReportResponse
Validation errors encountered during the execution of the import job.
framesReported This property is required. Integer
Total number of asset frames reported for the import job.
totalRowsCount This property is required. Integer
Total number of rows in the import job.
executionErrors This property is required. ValidationReportResponse
Validation errors encountered during the execution of the import job.
framesReported This property is required. number
Total number of asset frames reported for the import job.
totalRowsCount This property is required. number
Total number of rows in the import job.
execution_errors This property is required. ValidationReportResponse
Validation errors encountered during the execution of the import job.
frames_reported This property is required. int
Total number of asset frames reported for the import job.
total_rows_count This property is required. int
Total number of rows in the import job.
executionErrors This property is required. Property Map
Validation errors encountered during the execution of the import job.
framesReported This property is required. Number
Total number of asset frames reported for the import job.
totalRowsCount This property is required. Number
Total number of rows in the import job.

FileValidationReportResponse

FileErrors This property is required. List<Pulumi.GoogleNative.MigrationCenter.V1.Inputs.ImportErrorResponse>
List of file level errors.
FileName This property is required. string
The name of the file.
PartialReport This property is required. bool
Flag indicating that processing was aborted due to maximum number of errors.
RowErrors This property is required. List<Pulumi.GoogleNative.MigrationCenter.V1.Inputs.ImportRowErrorResponse>
Partial list of rows that encountered validation error.
FileErrors This property is required. []ImportErrorResponse
List of file level errors.
FileName This property is required. string
The name of the file.
PartialReport This property is required. bool
Flag indicating that processing was aborted due to maximum number of errors.
RowErrors This property is required. []ImportRowErrorResponse
Partial list of rows that encountered validation error.
fileErrors This property is required. List<ImportErrorResponse>
List of file level errors.
fileName This property is required. String
The name of the file.
partialReport This property is required. Boolean
Flag indicating that processing was aborted due to maximum number of errors.
rowErrors This property is required. List<ImportRowErrorResponse>
Partial list of rows that encountered validation error.
fileErrors This property is required. ImportErrorResponse[]
List of file level errors.
fileName This property is required. string
The name of the file.
partialReport This property is required. boolean
Flag indicating that processing was aborted due to maximum number of errors.
rowErrors This property is required. ImportRowErrorResponse[]
Partial list of rows that encountered validation error.
file_errors This property is required. Sequence[ImportErrorResponse]
List of file level errors.
file_name This property is required. str
The name of the file.
partial_report This property is required. bool
Flag indicating that processing was aborted due to maximum number of errors.
row_errors This property is required. Sequence[ImportRowErrorResponse]
Partial list of rows that encountered validation error.
fileErrors This property is required. List<Property Map>
List of file level errors.
fileName This property is required. String
The name of the file.
partialReport This property is required. Boolean
Flag indicating that processing was aborted due to maximum number of errors.
rowErrors This property is required. List<Property Map>
Partial list of rows that encountered validation error.

ImportErrorResponse

ErrorDetails This property is required. string
The error information.
Severity This property is required. string
The severity of the error.
ErrorDetails This property is required. string
The error information.
Severity This property is required. string
The severity of the error.
errorDetails This property is required. String
The error information.
severity This property is required. String
The severity of the error.
errorDetails This property is required. string
The error information.
severity This property is required. string
The severity of the error.
error_details This property is required. str
The error information.
severity This property is required. str
The severity of the error.
errorDetails This property is required. String
The error information.
severity This property is required. String
The severity of the error.

ImportRowErrorResponse

Errors This property is required. List<Pulumi.GoogleNative.MigrationCenter.V1.Inputs.ImportErrorResponse>
The list of errors detected in the row.
RowNumber This property is required. int
The row number where the error was detected.
VmName This property is required. string
The name of the VM in the row.
VmUuid This property is required. string
The VM UUID.
Errors This property is required. []ImportErrorResponse
The list of errors detected in the row.
RowNumber This property is required. int
The row number where the error was detected.
VmName This property is required. string
The name of the VM in the row.
VmUuid This property is required. string
The VM UUID.
errors This property is required. List<ImportErrorResponse>
The list of errors detected in the row.
rowNumber This property is required. Integer
The row number where the error was detected.
vmName This property is required. String
The name of the VM in the row.
vmUuid This property is required. String
The VM UUID.
errors This property is required. ImportErrorResponse[]
The list of errors detected in the row.
rowNumber This property is required. number
The row number where the error was detected.
vmName This property is required. string
The name of the VM in the row.
vmUuid This property is required. string
The VM UUID.
errors This property is required. Sequence[ImportErrorResponse]
The list of errors detected in the row.
row_number This property is required. int
The row number where the error was detected.
vm_name This property is required. str
The name of the VM in the row.
vm_uuid This property is required. str
The VM UUID.
errors This property is required. List<Property Map>
The list of errors detected in the row.
rowNumber This property is required. Number
The row number where the error was detected.
vmName This property is required. String
The name of the VM in the row.
vmUuid This property is required. String
The VM UUID.

ValidationReportResponse

FileValidations This property is required. []FileValidationReportResponse
List of errors found in files.
JobErrors This property is required. []ImportErrorResponse
List of job level errors.
fileValidations This property is required. List<FileValidationReportResponse>
List of errors found in files.
jobErrors This property is required. List<ImportErrorResponse>
List of job level errors.
fileValidations This property is required. FileValidationReportResponse[]
List of errors found in files.
jobErrors This property is required. ImportErrorResponse[]
List of job level errors.
file_validations This property is required. Sequence[FileValidationReportResponse]
List of errors found in files.
job_errors This property is required. Sequence[ImportErrorResponse]
List of job level errors.
fileValidations This property is required. List<Property Map>
List of errors found in files.
jobErrors This property is required. 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