Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.migrationcenter/v1.ImportJob
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates an import job. Auto-naming is currently not supported for this resource.
Create ImportJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImportJob(name: string, args: ImportJobArgs, opts?: CustomResourceOptions);@overload
def ImportJob(resource_name: str,
              args: ImportJobArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def ImportJob(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              asset_source: Optional[str] = None,
              import_job_id: Optional[str] = None,
              display_name: Optional[str] = None,
              labels: Optional[Mapping[str, str]] = None,
              location: Optional[str] = None,
              project: Optional[str] = None,
              request_id: Optional[str] = None)func NewImportJob(ctx *Context, name string, args ImportJobArgs, opts ...ResourceOption) (*ImportJob, error)public ImportJob(string name, ImportJobArgs args, CustomResourceOptions? opts = null)
public ImportJob(String name, ImportJobArgs args)
public ImportJob(String name, ImportJobArgs args, CustomResourceOptions options)
type: google-native:migrationcenter/v1:ImportJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeImportJobResource = new GoogleNative.MigrationCenter.V1.ImportJob("google-nativeImportJobResource", new()
{
    AssetSource = "string",
    ImportJobId = "string",
    DisplayName = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    Project = "string",
    RequestId = "string",
});
example, err := migrationcenter.NewImportJob(ctx, "google-nativeImportJobResource", &migrationcenter.ImportJobArgs{
	AssetSource: pulumi.String("string"),
	ImportJobId: pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location:  pulumi.String("string"),
	Project:   pulumi.String("string"),
	RequestId: pulumi.String("string"),
})
var google_nativeImportJobResource = new ImportJob("google-nativeImportJobResource", ImportJobArgs.builder()
    .assetSource("string")
    .importJobId("string")
    .displayName("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .project("string")
    .requestId("string")
    .build());
google_native_import_job_resource = google_native.migrationcenter.v1.ImportJob("google-nativeImportJobResource",
    asset_source="string",
    import_job_id="string",
    display_name="string",
    labels={
        "string": "string",
    },
    location="string",
    project="string",
    request_id="string")
const google_nativeImportJobResource = new google_native.migrationcenter.v1.ImportJob("google-nativeImportJobResource", {
    assetSource: "string",
    importJobId: "string",
    displayName: "string",
    labels: {
        string: "string",
    },
    location: "string",
    project: "string",
    requestId: "string",
});
type: google-native:migrationcenter/v1:ImportJob
properties:
    assetSource: string
    displayName: string
    importJobId: string
    labels:
        string: string
    location: string
    project: string
    requestId: string
ImportJob Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ImportJob resource accepts the following input properties:
- AssetSource string
- Reference to a source.
- ImportJob stringId 
- Required. ID of the import job.
- DisplayName string
- Optional. User-friendly display name. Maximum length is 256 characters.
- Labels Dictionary<string, string>
- Labels as key value pairs.
- Location string
- Project string
- RequestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- AssetSource string
- Reference to a source.
- ImportJob stringId 
- Required. ID of the import job.
- DisplayName string
- Optional. User-friendly display name. Maximum length is 256 characters.
- Labels map[string]string
- Labels as key value pairs.
- Location string
- Project string
- RequestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- assetSource String
- Reference to a source.
- importJob StringId 
- Required. ID of the import job.
- displayName String
- Optional. User-friendly display name. Maximum length is 256 characters.
- labels Map<String,String>
- Labels as key value pairs.
- location String
- project String
- requestId String
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- assetSource string
- Reference to a source.
- importJob stringId 
- Required. ID of the import job.
- displayName string
- Optional. User-friendly display name. Maximum length is 256 characters.
- labels {[key: string]: string}
- Labels as key value pairs.
- location string
- project string
- requestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- asset_source str
- Reference to a source.
- import_job_ strid 
- Required. ID of the import job.
- display_name str
- Optional. User-friendly display name. Maximum length is 256 characters.
- labels Mapping[str, str]
- Labels as key value pairs.
- location str
- project str
- request_id str
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- assetSource String
- Reference to a source.
- importJob StringId 
- Required. ID of the import job.
- displayName String
- Optional. User-friendly display name. Maximum length is 256 characters.
- labels Map<String>
- Labels as key value pairs.
- location String
- project String
- requestId String
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the ImportJob resource produces the following output properties:
- CompleteTime string
- The timestamp when the import job was completed.
- CreateTime string
- The timestamp when the import job was created.
- ExecutionReport Pulumi.Google Native. Migration Center. V1. Outputs. Execution Report Response 
- The report with the results of running the import job.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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. V1. Outputs. Validation Report Response 
- The report with the validation results of the import job.
- CompleteTime string
- The timestamp when the import job was completed.
- CreateTime string
- The timestamp when the import job was created.
- ExecutionReport ExecutionReport Response 
- The report with the results of running the import job.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- completeTime String
- The timestamp when the import job was completed.
- createTime String
- The timestamp when the import job was created.
- executionReport ExecutionReport Response 
- The report with the results of running the import job.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- completeTime string
- The timestamp when the import job was completed.
- createTime string
- The timestamp when the import job was created.
- executionReport ExecutionReport Response 
- The report with the results of running the import job.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- complete_time str
- The timestamp when the import job was completed.
- create_time str
- The timestamp when the import job was created.
- execution_report ExecutionReport Response 
- The report with the results of running the import job.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- completeTime String
- The timestamp when the import job was completed.
- createTime String
- The timestamp when the import job was created.
- executionReport Property Map
- The report with the results of running the import job.
- id String
- The provider-assigned unique ID for this managed resource.
- 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, ExecutionReportResponseArgs      
- ExecutionErrors Pulumi.Google Native. Migration Center. V1. 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- totalRows NumberCount 
- Total number of rows in the import job.
FileValidationReportResponse, FileValidationReportResponseArgs        
- FileErrors List<Pulumi.Google Native. Migration Center. V1. 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. V1. 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.
ImportErrorResponse, ImportErrorResponseArgs      
- 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, ImportRowErrorResponseArgs        
- Errors
List<Pulumi.Google Native. Migration Center. V1. 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.
ValidationReportResponse, ValidationReportResponseArgs      
- FileValidations List<Pulumi.Google Native. Migration Center. V1. Inputs. File Validation Report Response> 
- List of errors found in files.
- JobErrors List<Pulumi.Google Native. Migration Center. V1. 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.