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)
public static Output<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
fn::invoke:
function: google-native:migrationcenter/v1:getImportJob
arguments:
# arguments dictionary
The following arguments are supported:
- Import
Job Id This property is required. string - Location
This property is required. string - Project string
- View string
- Import
Job Id This property is required. string - Location
This property is required. string - Project string
- View string
- import
Job Id This property is required. String - location
This property is required. String - project String
- view String
- import
Job Id 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
- import
Job Id This property is required. String - location
This property is required. 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 This property is required. Pulumi.Google Native. Migration Center. V1. Inputs. Validation Report Response - 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.
- Execution
Errors This property is required. ValidationReport Response - 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.
- execution
Errors This property is required. ValidationReport Response - Validation errors encountered during the execution of the import job.
- frames
Reported This property is required. Integer - Total number of asset frames reported for the import job.
- total
Rows Count This property is required. Integer - Total number of rows in the import job.
- execution
Errors This property is required. ValidationReport Response - Validation errors encountered during the execution of the import job.
- frames
Reported This property is required. number - Total number of asset frames reported for the import job.
- total
Rows Count This property is required. number - Total number of rows in the import job.
- execution_
errors This property is required. ValidationReport Response - 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.
- execution
Errors This property is required. Property Map - Validation errors encountered during the execution of the import job.
- frames
Reported This property is required. Number - Total number of asset frames reported for the import job.
- total
Rows Count This property is required. Number - Total number of rows in the import job.
FileValidationReportResponse
- File
Errors This property is required. List<Pulumi.Google Native. Migration Center. V1. Inputs. Import Error Response> - List of file level errors.
- File
Name This property is required. string - 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. List<Pulumi.Google Native. Migration Center. V1. Inputs. Import Row Error Response> - Partial list of rows that encountered validation error.
- File
Errors This property is required. []ImportError Response - List of file level errors.
- File
Name This property is required. string - 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. []ImportRow Error Response - Partial list of rows that encountered validation error.
- file
Errors This property is required. List<ImportError Response> - List of file level errors.
- file
Name This property is required. String - The name of the file.
- partial
Report This property is required. Boolean - Flag indicating that processing was aborted due to maximum number of errors.
- row
Errors This property is required. List<ImportRow Error Response> - Partial list of rows that encountered validation error.
- file
Errors This property is required. ImportError Response[] - List of file level errors.
- file
Name This property is required. string - The name of the file.
- partial
Report This property is required. boolean - Flag indicating that processing was aborted due to maximum number of errors.
- row
Errors This property is required. ImportRow Error Response[] - Partial list of rows that encountered validation error.
- file_
errors This property is required. Sequence[ImportError Response] - 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[ImportRow Error Response] - Partial list of rows that encountered validation error.
- file
Errors This property is required. List<Property Map> - List of file level errors.
- file
Name This property is required. String - The name of the file.
- partial
Report This property is required. Boolean - Flag indicating that processing was aborted due to maximum number of errors.
- row
Errors This property is required. List<Property Map> - Partial list of rows that encountered validation error.
ImportErrorResponse
- Error
Details 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. string - The error information.
- Severity
This property is required. string - The severity of the error.
- error
Details 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. 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.
- error
Details 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.Google Native. Migration Center. V1. Inputs. Import Error Response> - 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. string - The name of the VM in the row.
- Vm
Uuid This property is required. string - The VM UUID.
- Errors
This property is required. []ImportError Response - 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. string - The name of the VM in the row.
- Vm
Uuid This property is required. string - The VM UUID.
- errors
This property is required. List<ImportError Response> - The list of errors detected in the row.
- row
Number This property is required. Integer - The row number where the error was detected.
- vm
Name This property is required. String - The name of the VM in the row.
- vm
Uuid This property is required. String - The VM UUID.
- errors
This property is required. ImportError Response[] - The list of errors detected in the row.
- row
Number This property is required. number - The row number where the error was detected.
- vm
Name This property is required. string - The name of the VM in the row.
- vm
Uuid This property is required. string - The VM UUID.
- errors
This property is required. Sequence[ImportError Response] - 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.
- row
Number This property is required. Number - The row number where the error was detected.
- vm
Name This property is required. String - The name of the VM in the row.
- vm
Uuid This property is required. String - The VM UUID.
ValidationReportResponse
- File
Validations This property is required. List<Pulumi.Google Native. Migration Center. V1. Inputs. File Validation Report Response> - List of errors found in files.
- Job
Errors This property is required. List<Pulumi.Google Native. Migration Center. V1. Inputs. Import Error Response> - List of job level errors.
- File
Validations This property is required. []FileValidation Report Response - List of errors found in files.
- Job
Errors This property is required. []ImportError Response - List of job level errors.
- file
Validations This property is required. List<FileValidation Report Response> - List of errors found in files.
- job
Errors This property is required. List<ImportError Response> - List of job level errors.
- file
Validations This property is required. FileValidation Report Response[] - List of errors found in files.
- job
Errors This property is required. ImportError Response[] - List of job level errors.
- file_
validations This property is required. Sequence[FileValidation Report Response] - List of errors found in files.
- job_
errors This property is required. Sequence[ImportError Response] - List of job level errors.
- file
Validations This property is required. List<Property Map> - List of errors found in files.
- job
Errors 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