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>
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:migrationcenter/v1:getImportJob
arguments:
# arguments dictionary
The following arguments are supported:
- Import
Job stringId - Location string
- Project string
- View string
- Import
Job stringId - Location string
- Project string
- View string
- import
Job StringId - location String
- project String
- view String
- import
Job stringId - location string
- project string
- view string
- import_
job_ strid - location str
- project str
- view str
- import
Job StringId - location String
- project String
- view String
getImportJob Result
The following output properties are available:
- Asset
Source string - Reference to a source.
- Complete
Time string - The timestamp when the import job was completed.
- Create
Time string - The timestamp when the import job was created.
- Display
Name string - Optional. User-friendly display name. Maximum length is 256 characters.
- Execution
Report Pulumi.Google Native. Migration Center. V1. Outputs. Execution Report Response - 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.
- Update
Time string - The timestamp when the import job was last updated.
- Validation
Report Pulumi.Google Native. Migration Center. V1. Outputs. Validation Report Response - The report with the validation results of the import job.
- Asset
Source string - Reference to a source.
- Complete
Time string - The timestamp when the import job was completed.
- Create
Time string - The timestamp when the import job was created.
- Display
Name string - Optional. User-friendly display name. Maximum length is 256 characters.
- Execution
Report ExecutionReport Response - 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.
- Update
Time string - The timestamp when the import job was last updated.
- Validation
Report ValidationReport Response - The report with the validation results of the import job.
- asset
Source String - Reference to a source.
- complete
Time String - The timestamp when the import job was completed.
- create
Time String - The timestamp when the import job was created.
- display
Name String - Optional. User-friendly display name. Maximum length is 256 characters.
- execution
Report ExecutionReport Response - 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.
- update
Time String - The timestamp when the import job was last updated.
- validation
Report ValidationReport Response - The report with the validation results of the import job.
- asset
Source string - Reference to a source.
- complete
Time string - The timestamp when the import job was completed.
- create
Time string - The timestamp when the import job was created.
- display
Name string - Optional. User-friendly display name. Maximum length is 256 characters.
- execution
Report ExecutionReport Response - 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.
- update
Time string - The timestamp when the import job was last updated.
- validation
Report 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 - Optional. User-friendly display name. Maximum length is 256 characters.
- execution_
report ExecutionReport Response - 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 ValidationReport Response - The report with the validation results of the import job.
- asset
Source String - Reference to a source.
- complete
Time String - The timestamp when the import job was completed.
- create
Time String - The timestamp when the import job was created.
- display
Name String - Optional. User-friendly display name. Maximum length is 256 characters.
- execution
Report 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.
- update
Time String - The timestamp when the import job was last updated.
- validation
Report Property Map - The report with the validation results of the import job.
Supporting Types
ExecutionReportResponse
- Execution
Errors Pulumi.Google Native. Migration Center. V1. Inputs. Validation Report Response - Validation errors encountered during the execution of the import job.
- Frames
Reported int - Total number of asset frames reported for the import job.
- Total
Rows intCount - 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.
- Total
Rows intCount - Total number of rows in the import job.
- execution
Errors ValidationReport Response - Validation errors encountered during the execution of the import job.
- frames
Reported Integer - Total number of asset frames reported for the import job.
- total
Rows IntegerCount - Total number of rows in the import job.
- execution
Errors ValidationReport Response - Validation errors encountered during the execution of the import job.
- frames
Reported number - Total number of asset frames reported for the import job.
- total
Rows 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.
- total_
rows_ intcount - Total number of rows in the import job.
- execution
Errors Property Map - Validation errors encountered during the execution of the import job.
- frames
Reported Number - Total number of asset frames reported for the import job.
- total
Rows NumberCount - Total number of rows in the import job.
FileValidationReportResponse
- File
Errors List<Pulumi.Google Native. Migration Center. V1. Inputs. Import Error Response> - List of file level errors.
- File
Name string - The name of the file.
- Partial
Report bool - Flag indicating that processing was aborted due to maximum number of errors.
- Row
Errors List<Pulumi.Google Native. Migration Center. V1. Inputs. Import Row Error Response> - Partial list of rows that encountered validation error.
- File
Errors []ImportError Response - List of file level errors.
- File
Name string - The name of the file.
- Partial
Report bool - Flag indicating that processing was aborted due to maximum number of errors.
- Row
Errors []ImportRow Error Response - Partial list of rows that encountered validation error.
- file
Errors List<ImportError Response> - List of file level errors.
- file
Name String - The name of the file.
- partial
Report Boolean - Flag indicating that processing was aborted due to maximum number of errors.
- row
Errors List<ImportRow Error Response> - Partial list of rows that encountered validation error.
- file
Errors ImportError Response[] - List of file level errors.
- file
Name string - The name of the file.
- partial
Report boolean - Flag indicating that processing was aborted due to maximum number of errors.
- row
Errors 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.
- file
Errors List<Property Map> - List of file level errors.
- file
Name String - The name of the file.
- partial
Report Boolean - Flag indicating that processing was aborted due to maximum number of errors.
- row
Errors List<Property Map> - Partial list of rows that encountered validation error.
ImportErrorResponse
- Error
Details string - The error information.
- Severity string
- The severity of the error.
- Error
Details string - The error information.
- Severity string
- The severity of the error.
- error
Details String - The error information.
- severity String
- The severity of the error.
- error
Details string - The error information.
- severity string
- The severity of the error.
- error_
details str - The error information.
- severity str
- The severity of the error.
- error
Details String - The error information.
- severity String
- The severity of the error.
ImportRowErrorResponse
- Errors
List<Pulumi.
Google Native. Migration Center. V1. Inputs. Import Error Response> - The list of errors detected in the row.
- Row
Number int - The row number where the error was detected.
- Vm
Name string - The name of the VM in the row.
- Vm
Uuid string - The VM UUID.
- Errors
[]Import
Error Response - The list of errors detected in the row.
- Row
Number int - The row number where the error was detected.
- Vm
Name string - The name of the VM in the row.
- Vm
Uuid string - The VM UUID.
- errors
List<Import
Error Response> - The list of errors detected in the row.
- row
Number Integer - The row number where the error was detected.
- vm
Name String - The name of the VM in the row.
- vm
Uuid String - The VM UUID.
- errors
Import
Error Response[] - The list of errors detected in the row.
- row
Number number - The row number where the error was detected.
- vm
Name string - The name of the VM in the row.
- vm
Uuid string - The VM UUID.
- errors
Sequence[Import
Error 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.
- row
Number Number - The row number where the error was detected.
- vm
Name String - The name of the VM in the row.
- vm
Uuid String - The VM UUID.
ValidationReportResponse
- File
Validations List<Pulumi.Google Native. Migration Center. V1. Inputs. File Validation Report Response> - List of errors found in files.
- Job
Errors List<Pulumi.Google Native. Migration Center. V1. Inputs. Import Error Response> - List of job level errors.
- File
Validations []FileValidation Report Response - List of errors found in files.
- Job
Errors []ImportError Response - List of job level errors.
- file
Validations List<FileValidation Report Response> - List of errors found in files.
- job
Errors List<ImportError Response> - List of job level errors.
- file
Validations FileValidation Report Response[] - List of errors found in files.
- job
Errors 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.
- file
Validations List<Property Map> - List of errors found in files.
- job
Errors 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