Resource: ImageImportJob
ImageImportJob describes the progress and result of an image import.
JSON representation |
---|
{ "name": string, "createdResources": [ string ], "state": enum ( |
Fields | |
---|---|
name |
Output only. The resource path of the ImageImportJob. |
createdResources[] |
Output only. The resource paths of the resources created by the image import job. |
state |
Output only. The state of the image import. |
createTime |
Output only. The time the image import was created (as an API call, not when it was actually created in the target). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. The time the image import was ended. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
errors[] |
Output only. Provides details on the error that led to the image import state in case of an error. |
warnings[] |
Output only. Warnings that occurred during the image import. |
steps[] |
Output only. The image import steps list representing its progress. |
Union field
|
|
cloudStorageUri |
Output only. The path to the Cloud Storage file from which the image should be imported. |
Union field target_details . The configuration of the resources that were created in GCP as a result of the image import. target_details can be only one of the following: |
|
diskImageTargetDetails |
Output only. Target details used to import a disk image. |
machineImageTargetDetails |
Output only. Target details used to import a machine image. |
State
Possible states of the image import.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state is unknown. |
PENDING |
The image import has not yet started. |
RUNNING |
The image import is active and running. |
SUCCEEDED |
The image import has finished successfully. |
FAILED |
The image import has finished with errors. |
CANCELLING |
The image import is being cancelled. |
CANCELLED |
The image import was cancelled. |
ImageImportStep
ImageImportStep holds information about the image import step progress.
JSON representation |
---|
{ "startTime": string, "endTime": string, // Union field |
Fields | |
---|---|
startTime |
Output only. The time the step has started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. The time the step has ended. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field
|
|
initializing |
Initializing step. |
loadingSourceFiles |
Loading source files step. |
adaptingOs |
Adapting OS step. |
creatingImage |
Creating image step. |
InitializingImageImportStep
This type has no fields.
InitializingImageImportStep contains specific step details.
LoadingImageSourceFilesStep
This type has no fields.
LoadingImageSourceFilesStep contains specific step details.
CreatingImageStep
This type has no fields.
CreatingImageStep contains specific step details.
Methods |
|
---|---|
|
Initiates the cancellation of a running clone job. |
|
Gets details of a single ImageImportJob. |
|
Lists ImageImportJobs in a given project. |