1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1alpha1
  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/v1alpha1.getImportJob

Explore with Pulumi AI

google-native logo

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/v1alpha1:getImportJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ImportJobId string
    Location string
    Project string
    View string
    ImportJobId string
    Location string
    Project string
    View string
    importJobId String
    location String
    project String
    view String
    importJobId string
    location string
    project string
    view string
    importJobId String
    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.GoogleNative.MigrationCenter.V1Alpha1.Outputs.ExecutionReportResponse
    The report with the results of running the import job.
    GcsPayload Pulumi.GoogleNative.MigrationCenter.V1Alpha1.Outputs.GCSPayloadInfoResponse
    The payload is in Google Cloud Storage.
    InlinePayload Pulumi.GoogleNative.MigrationCenter.V1Alpha1.Outputs.InlinePayloadInfoResponse
    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.GoogleNative.MigrationCenter.V1Alpha1.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
    User-friendly display name. Maximum length is 63 characters.
    ExecutionReport ExecutionReportResponse
    The report with the results of running the import job.
    GcsPayload GCSPayloadInfoResponse
    The payload is in Google Cloud Storage.
    InlinePayload InlinePayloadInfoResponse
    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 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
    User-friendly display name. Maximum length is 63 characters.
    executionReport ExecutionReportResponse
    The report with the results of running the import job.
    gcsPayload GCSPayloadInfoResponse
    The payload is in Google Cloud Storage.
    inlinePayload InlinePayloadInfoResponse
    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 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
    User-friendly display name. Maximum length is 63 characters.
    executionReport ExecutionReportResponse
    The report with the results of running the import job.
    gcsPayload GCSPayloadInfoResponse
    The payload is in Google Cloud Storage.
    inlinePayload InlinePayloadInfoResponse
    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 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
    User-friendly display name. Maximum length is 63 characters.
    execution_report ExecutionReportResponse
    The report with the results of running the import job.
    gcs_payload GCSPayloadInfoResponse
    The payload is in Google Cloud Storage.
    inline_payload InlinePayloadInfoResponse
    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 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
    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.GoogleNative.MigrationCenter.V1Alpha1.Inputs.ValidationReportResponse
    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.GoogleNative.MigrationCenter.V1Alpha1.Inputs.ImportErrorResponse>
    List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    Deprecated: List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    TotalRowsCount int
    Total number of rows in the import job.
    ExecutionErrors ValidationReportResponse
    Validation errors encountered during the execution of the import job.
    FramesReported int
    Total number of asset frames reported for the import job.
    JobErrors []ImportErrorResponse
    List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    Deprecated: List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    TotalRowsCount int
    Total number of rows in the import job.
    executionErrors ValidationReportResponse
    Validation errors encountered during the execution of the import job.
    framesReported Integer
    Total number of asset frames reported for the import job.
    jobErrors List<ImportErrorResponse>
    List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    Deprecated: List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    totalRowsCount Integer
    Total number of rows in the import job.
    executionErrors ValidationReportResponse
    Validation errors encountered during the execution of the import job.
    framesReported number
    Total number of asset frames reported for the import job.
    jobErrors ImportErrorResponse[]
    List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    Deprecated: List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    totalRowsCount number
    Total number of rows in the import job.
    execution_errors ValidationReportResponse
    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[ImportErrorResponse]
    List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    Deprecated: List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    total_rows_count int
    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.

    Deprecated: List of job-level errors. Deprecated, use the job errors under execution_errors instead.

    totalRowsCount Number
    Total number of rows in the import job.

    FileValidationReportResponse

    FileErrors List<Pulumi.GoogleNative.MigrationCenter.V1Alpha1.Inputs.ImportErrorResponse>
    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.GoogleNative.MigrationCenter.V1Alpha1.Inputs.ImportRowErrorResponse>
    Partial list of rows that encountered validation error.
    FileErrors []ImportErrorResponse
    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 []ImportRowErrorResponse
    Partial list of rows that encountered validation error.
    fileErrors List<ImportErrorResponse>
    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<ImportRowErrorResponse>
    Partial list of rows that encountered validation error.
    fileErrors ImportErrorResponse[]
    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 ImportRowErrorResponse[]
    Partial list of rows that encountered validation error.
    file_errors Sequence[ImportErrorResponse]
    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[ImportRowErrorResponse]
    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

    Format string
    The import job format.
    Path string
    The payload path in Google Cloud Storage.
    Format string
    The import job format.
    Path string
    The payload path in Google Cloud Storage.
    format String
    The import job format.
    path String
    The payload path in Google Cloud Storage.
    format string
    The import job format.
    path string
    The payload path in Google Cloud Storage.
    format str
    The import job format.
    path str
    The payload path in Google Cloud Storage.
    format String
    The import job format.
    path String
    The payload path in Google Cloud Storage.

    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.GoogleNative.MigrationCenter.V1Alpha1.Inputs.ImportErrorResponse>
    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 []ImportErrorResponse
    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<ImportErrorResponse>
    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 ImportErrorResponse[]
    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[ImportErrorResponse]
    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 []PayloadFileResponse
    List of payload files.
    format String
    The import job format.
    payload List<PayloadFileResponse>
    List of payload files.
    format string
    The import job format.
    payload PayloadFileResponse[]
    List of payload files.
    format str
    The import job format.
    payload Sequence[PayloadFileResponse]
    List of payload files.
    format String
    The import job format.
    payload List<Property Map>
    List of payload files.

    PayloadFileResponse

    Data string
    The file data.
    Name string
    The file name.
    Data string
    The file data.
    Name string
    The file name.
    data String
    The file data.
    name String
    The file name.
    data string
    The file data.
    name string
    The file name.
    data str
    The file data.
    name str
    The file name.
    data String
    The file data.
    name String
    The file name.

    ValidationReportResponse

    FileValidations []FileValidationReportResponse
    List of errors found in files.
    JobErrors []ImportErrorResponse
    List of job level errors.
    fileValidations List<FileValidationReportResponse>
    List of errors found in files.
    jobErrors List<ImportErrorResponse>
    List of job level errors.
    fileValidations FileValidationReportResponse[]
    List of errors found in files.
    jobErrors ImportErrorResponse[]
    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-native logo

    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