1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsImageExportJob
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.IsImageExportJob

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a resource for ImageExportJob. This allows ImageExportJob to be created, updated and deleted. For more information about VPC custom images export, see IBM Cloud Docs: Virtual Private Cloud - Exporting a custom image to IBM Cloud Object Storage.

    Note Image export jobs are asynchronous. Time taken to export the image depends on its size. Hence the resource will not wait for job status to be completed. It is recommended to check the status of the export job by refreshing this resource or the datasources ibm.IsImageExportJob and ibm.getIsImageExportJobs and recreate the export resource if it is failed.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const exampleIsImage = new ibm.IsImage("exampleIsImage", {
        href: "cos://us-south/custom-image-vpc-bucket/customImage-0.vhd",
        operatingSystem: "ubuntu-16-04-amd64",
        encryptedDataKey: "eJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0=",
        encryptionKey: "crn:v1:bluemix:public:kms:us-south:a/6xxxxxxxxxxxxxxx:xxxxxxx-xxxx-xxxx-xxxxxxx:key:dxxxxxx-fxxx-4xxx-9xxx-7xxxxxxxx",
    });
    // Create export job with storage bucket name
    const exampleIsImageExportJob = new ibm.IsImageExportJob("exampleIsImageExportJob", {
        image: exampleIsImage.isImageId,
        storageBucket: {
            name: "bucket-27200-lwx4cfvcue",
        },
    });
    // Create export job with storage bucket CRN
    const exampleIndex_isImageExportJobIsImageExportJob = new ibm.IsImageExportJob("exampleIndex/isImageExportJobIsImageExportJob", {
        image: exampleIsImage.isImageId,
        storageBucket: {
            crn: "crn:v1:bluemix:public:cloud-object-storage:global:a/XXXXeaXXXX5XXXX0f0XXXX92ff85XXXX:aaXXXXX1-07XX-42XX-b8d0-aXXXXXX243:bucket:dallas-bucket",
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_is_image = ibm.IsImage("exampleIsImage",
        href="cos://us-south/custom-image-vpc-bucket/customImage-0.vhd",
        operating_system="ubuntu-16-04-amd64",
        encrypted_data_key="eJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0=",
        encryption_key="crn:v1:bluemix:public:kms:us-south:a/6xxxxxxxxxxxxxxx:xxxxxxx-xxxx-xxxx-xxxxxxx:key:dxxxxxx-fxxx-4xxx-9xxx-7xxxxxxxx")
    # Create export job with storage bucket name
    example_is_image_export_job = ibm.IsImageExportJob("exampleIsImageExportJob",
        image=example_is_image.is_image_id,
        storage_bucket={
            "name": "bucket-27200-lwx4cfvcue",
        })
    # Create export job with storage bucket CRN
    example_index_is_image_export_job_is_image_export_job = ibm.IsImageExportJob("exampleIndex/isImageExportJobIsImageExportJob",
        image=example_is_image.is_image_id,
        storage_bucket={
            "crn": "crn:v1:bluemix:public:cloud-object-storage:global:a/XXXXeaXXXX5XXXX0f0XXXX92ff85XXXX:aaXXXXX1-07XX-42XX-b8d0-aXXXXXX243:bucket:dallas-bucket",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleIsImage, err := ibm.NewIsImage(ctx, "exampleIsImage", &ibm.IsImageArgs{
    			Href:             pulumi.String("cos://us-south/custom-image-vpc-bucket/customImage-0.vhd"),
    			OperatingSystem:  pulumi.String("ubuntu-16-04-amd64"),
    			EncryptedDataKey: pulumi.String("eJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0="),
    			EncryptionKey:    pulumi.String("crn:v1:bluemix:public:kms:us-south:a/6xxxxxxxxxxxxxxx:xxxxxxx-xxxx-xxxx-xxxxxxx:key:dxxxxxx-fxxx-4xxx-9xxx-7xxxxxxxx"),
    		})
    		if err != nil {
    			return err
    		}
    		// Create export job with storage bucket name
    		_, err = ibm.NewIsImageExportJob(ctx, "exampleIsImageExportJob", &ibm.IsImageExportJobArgs{
    			Image: exampleIsImage.IsImageId,
    			StorageBucket: &ibm.IsImageExportJobStorageBucketArgs{
    				Name: pulumi.String("bucket-27200-lwx4cfvcue"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Create export job with storage bucket CRN
    		_, err = ibm.NewIsImageExportJob(ctx, "exampleIndex/isImageExportJobIsImageExportJob", &ibm.IsImageExportJobArgs{
    			Image: exampleIsImage.IsImageId,
    			StorageBucket: &ibm.IsImageExportJobStorageBucketArgs{
    				Crn: pulumi.String("crn:v1:bluemix:public:cloud-object-storage:global:a/XXXXeaXXXX5XXXX0f0XXXX92ff85XXXX:aaXXXXX1-07XX-42XX-b8d0-aXXXXXX243:bucket:dallas-bucket"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleIsImage = new Ibm.IsImage("exampleIsImage", new()
        {
            Href = "cos://us-south/custom-image-vpc-bucket/customImage-0.vhd",
            OperatingSystem = "ubuntu-16-04-amd64",
            EncryptedDataKey = "eJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0=",
            EncryptionKey = "crn:v1:bluemix:public:kms:us-south:a/6xxxxxxxxxxxxxxx:xxxxxxx-xxxx-xxxx-xxxxxxx:key:dxxxxxx-fxxx-4xxx-9xxx-7xxxxxxxx",
        });
    
        // Create export job with storage bucket name
        var exampleIsImageExportJob = new Ibm.IsImageExportJob("exampleIsImageExportJob", new()
        {
            Image = exampleIsImage.IsImageId,
            StorageBucket = new Ibm.Inputs.IsImageExportJobStorageBucketArgs
            {
                Name = "bucket-27200-lwx4cfvcue",
            },
        });
    
        // Create export job with storage bucket CRN
        var exampleIndex_isImageExportJobIsImageExportJob = new Ibm.IsImageExportJob("exampleIndex/isImageExportJobIsImageExportJob", new()
        {
            Image = exampleIsImage.IsImageId,
            StorageBucket = new Ibm.Inputs.IsImageExportJobStorageBucketArgs
            {
                Crn = "crn:v1:bluemix:public:cloud-object-storage:global:a/XXXXeaXXXX5XXXX0f0XXXX92ff85XXXX:aaXXXXX1-07XX-42XX-b8d0-aXXXXXX243:bucket:dallas-bucket",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsImage;
    import com.pulumi.ibm.IsImageArgs;
    import com.pulumi.ibm.IsImageExportJob;
    import com.pulumi.ibm.IsImageExportJobArgs;
    import com.pulumi.ibm.inputs.IsImageExportJobStorageBucketArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleIsImage = new IsImage("exampleIsImage", IsImageArgs.builder()
                .href("cos://us-south/custom-image-vpc-bucket/customImage-0.vhd")
                .operatingSystem("ubuntu-16-04-amd64")
                .encryptedDataKey("eJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0=")
                .encryptionKey("crn:v1:bluemix:public:kms:us-south:a/6xxxxxxxxxxxxxxx:xxxxxxx-xxxx-xxxx-xxxxxxx:key:dxxxxxx-fxxx-4xxx-9xxx-7xxxxxxxx")
                .build());
    
            // Create export job with storage bucket name
            var exampleIsImageExportJob = new IsImageExportJob("exampleIsImageExportJob", IsImageExportJobArgs.builder()
                .image(exampleIsImage.isImageId())
                .storageBucket(IsImageExportJobStorageBucketArgs.builder()
                    .name("bucket-27200-lwx4cfvcue")
                    .build())
                .build());
    
            // Create export job with storage bucket CRN
            var exampleIndex_isImageExportJobIsImageExportJob = new IsImageExportJob("exampleIndex/isImageExportJobIsImageExportJob", IsImageExportJobArgs.builder()
                .image(exampleIsImage.isImageId())
                .storageBucket(IsImageExportJobStorageBucketArgs.builder()
                    .crn("crn:v1:bluemix:public:cloud-object-storage:global:a/XXXXeaXXXX5XXXX0f0XXXX92ff85XXXX:aaXXXXX1-07XX-42XX-b8d0-aXXXXXX243:bucket:dallas-bucket")
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleIsImage:
        type: ibm:IsImage
        properties:
          href: cos://us-south/custom-image-vpc-bucket/customImage-0.vhd
          operatingSystem: ubuntu-16-04-amd64
          encryptedDataKey: eJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0=
          encryptionKey: crn:v1:bluemix:public:kms:us-south:a/6xxxxxxxxxxxxxxx:xxxxxxx-xxxx-xxxx-xxxxxxx:key:dxxxxxx-fxxx-4xxx-9xxx-7xxxxxxxx
      # Create export job with storage bucket name
      exampleIsImageExportJob:
        type: ibm:IsImageExportJob
        properties:
          image: ${exampleIsImage.isImageId}
          storageBucket:
            name: bucket-27200-lwx4cfvcue
      # Create export job with storage bucket CRN
      exampleIndex/isImageExportJobIsImageExportJob:
        type: ibm:IsImageExportJob
        properties:
          image: ${exampleIsImage.isImageId}
          storageBucket:
            crn: crn:v1:bluemix:public:cloud-object-storage:global:a/XXXXeaXXXX5XXXX0f0XXXX92ff85XXXX:aaXXXXX1-07XX-42XX-b8d0-aXXXXXX243:bucket:dallas-bucket
    

    Create IsImageExportJob Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IsImageExportJob(name: string, args: IsImageExportJobArgs, opts?: CustomResourceOptions);
    @overload
    def IsImageExportJob(resource_name: str,
                         args: IsImageExportJobArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsImageExportJob(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         image: Optional[str] = None,
                         storage_bucket: Optional[IsImageExportJobStorageBucketArgs] = None,
                         format: Optional[str] = None,
                         is_image_export_job_id: Optional[str] = None,
                         name: Optional[str] = None)
    func NewIsImageExportJob(ctx *Context, name string, args IsImageExportJobArgs, opts ...ResourceOption) (*IsImageExportJob, error)
    public IsImageExportJob(string name, IsImageExportJobArgs args, CustomResourceOptions? opts = null)
    public IsImageExportJob(String name, IsImageExportJobArgs args)
    public IsImageExportJob(String name, IsImageExportJobArgs args, CustomResourceOptions options)
    
    type: ibm:IsImageExportJob
    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 IsImageExportJobArgs
    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 IsImageExportJobArgs
    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 IsImageExportJobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsImageExportJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsImageExportJobArgs
    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 isImageExportJobResource = new Ibm.IsImageExportJob("isImageExportJobResource", new()
    {
        Image = "string",
        StorageBucket = new Ibm.Inputs.IsImageExportJobStorageBucketArgs
        {
            Crn = "string",
            Name = "string",
        },
        Format = "string",
        IsImageExportJobId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewIsImageExportJob(ctx, "isImageExportJobResource", &ibm.IsImageExportJobArgs{
    	Image: pulumi.String("string"),
    	StorageBucket: &ibm.IsImageExportJobStorageBucketArgs{
    		Crn:  pulumi.String("string"),
    		Name: pulumi.String("string"),
    	},
    	Format:             pulumi.String("string"),
    	IsImageExportJobId: pulumi.String("string"),
    	Name:               pulumi.String("string"),
    })
    
    var isImageExportJobResource = new IsImageExportJob("isImageExportJobResource", IsImageExportJobArgs.builder()
        .image("string")
        .storageBucket(IsImageExportJobStorageBucketArgs.builder()
            .crn("string")
            .name("string")
            .build())
        .format("string")
        .isImageExportJobId("string")
        .name("string")
        .build());
    
    is_image_export_job_resource = ibm.IsImageExportJob("isImageExportJobResource",
        image="string",
        storage_bucket={
            "crn": "string",
            "name": "string",
        },
        format="string",
        is_image_export_job_id="string",
        name="string")
    
    const isImageExportJobResource = new ibm.IsImageExportJob("isImageExportJobResource", {
        image: "string",
        storageBucket: {
            crn: "string",
            name: "string",
        },
        format: "string",
        isImageExportJobId: "string",
        name: "string",
    });
    
    type: ibm:IsImageExportJob
    properties:
        format: string
        image: string
        isImageExportJobId: string
        name: string
        storageBucket:
            crn: string
            name: string
    

    IsImageExportJob 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 IsImageExportJob resource accepts the following input properties:

    Image string
    The image identifier.
    StorageBucket IsImageExportJobStorageBucket

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    Format string
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    IsImageExportJobId string
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    Name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    Image string
    The image identifier.
    StorageBucket IsImageExportJobStorageBucketArgs

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    Format string
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    IsImageExportJobId string
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    Name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    image String
    The image identifier.
    storageBucket IsImageExportJobStorageBucket

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    format String
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    isImageExportJobId String
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name String
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    image string
    The image identifier.
    storageBucket IsImageExportJobStorageBucket

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    format string
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    isImageExportJobId string
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    image str
    The image identifier.
    storage_bucket IsImageExportJobStorageBucketArgs

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    format str
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    is_image_export_job_id str
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name str
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    image String
    The image identifier.
    storageBucket Property Map

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    format String
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    isImageExportJobId String
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name String
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IsImageExportJob resource produces the following output properties:

    CompletedAt string
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    CreatedAt string
    (String) The date and time that the image export job was created.
    EncryptedDataKey string
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    Href string
    (String) The URL for this image export job.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageExportJob string
    (String) The unique identifier for this image export job.
    ResourceType string
    (String) The type of resource referenced.
    StartedAt string
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    Status string
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    StatusReasons List<IsImageExportJobStatusReason>
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    StorageHref string
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    StorageObjects List<IsImageExportJobStorageObject>
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    CompletedAt string
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    CreatedAt string
    (String) The date and time that the image export job was created.
    EncryptedDataKey string
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    Href string
    (String) The URL for this image export job.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageExportJob string
    (String) The unique identifier for this image export job.
    ResourceType string
    (String) The type of resource referenced.
    StartedAt string
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    Status string
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    StatusReasons []IsImageExportJobStatusReason
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    StorageHref string
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    StorageObjects []IsImageExportJobStorageObject
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completedAt String
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    createdAt String
    (String) The date and time that the image export job was created.
    encryptedDataKey String
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    href String
    (String) The URL for this image export job.
    id String
    The provider-assigned unique ID for this managed resource.
    imageExportJob String
    (String) The unique identifier for this image export job.
    resourceType String
    (String) The type of resource referenced.
    startedAt String
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status String
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    statusReasons List<IsImageExportJobStatusReason>
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storageHref String
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storageObjects List<IsImageExportJobStorageObject>
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completedAt string
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    createdAt string
    (String) The date and time that the image export job was created.
    encryptedDataKey string
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    href string
    (String) The URL for this image export job.
    id string
    The provider-assigned unique ID for this managed resource.
    imageExportJob string
    (String) The unique identifier for this image export job.
    resourceType string
    (String) The type of resource referenced.
    startedAt string
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status string
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    statusReasons IsImageExportJobStatusReason[]
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storageHref string
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storageObjects IsImageExportJobStorageObject[]
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completed_at str
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    created_at str
    (String) The date and time that the image export job was created.
    encrypted_data_key str
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    href str
    (String) The URL for this image export job.
    id str
    The provider-assigned unique ID for this managed resource.
    image_export_job str
    (String) The unique identifier for this image export job.
    resource_type str
    (String) The type of resource referenced.
    started_at str
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status str
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    status_reasons Sequence[IsImageExportJobStatusReason]
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storage_href str
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storage_objects Sequence[IsImageExportJobStorageObject]
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completedAt String
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    createdAt String
    (String) The date and time that the image export job was created.
    encryptedDataKey String
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    href String
    (String) The URL for this image export job.
    id String
    The provider-assigned unique ID for this managed resource.
    imageExportJob String
    (String) The unique identifier for this image export job.
    resourceType String
    (String) The type of resource referenced.
    startedAt String
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status String
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    statusReasons List<Property Map>
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storageHref String
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storageObjects List<Property Map>
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:

    Look up Existing IsImageExportJob Resource

    Get an existing IsImageExportJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IsImageExportJobState, opts?: CustomResourceOptions): IsImageExportJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            completed_at: Optional[str] = None,
            created_at: Optional[str] = None,
            encrypted_data_key: Optional[str] = None,
            format: Optional[str] = None,
            href: Optional[str] = None,
            image: Optional[str] = None,
            image_export_job: Optional[str] = None,
            is_image_export_job_id: Optional[str] = None,
            name: Optional[str] = None,
            resource_type: Optional[str] = None,
            started_at: Optional[str] = None,
            status: Optional[str] = None,
            status_reasons: Optional[Sequence[IsImageExportJobStatusReasonArgs]] = None,
            storage_bucket: Optional[IsImageExportJobStorageBucketArgs] = None,
            storage_href: Optional[str] = None,
            storage_objects: Optional[Sequence[IsImageExportJobStorageObjectArgs]] = None) -> IsImageExportJob
    func GetIsImageExportJob(ctx *Context, name string, id IDInput, state *IsImageExportJobState, opts ...ResourceOption) (*IsImageExportJob, error)
    public static IsImageExportJob Get(string name, Input<string> id, IsImageExportJobState? state, CustomResourceOptions? opts = null)
    public static IsImageExportJob get(String name, Output<String> id, IsImageExportJobState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsImageExportJob    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompletedAt string
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    CreatedAt string
    (String) The date and time that the image export job was created.
    EncryptedDataKey string
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    Format string
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    Href string
    (String) The URL for this image export job.
    Image string
    The image identifier.
    ImageExportJob string
    (String) The unique identifier for this image export job.
    IsImageExportJobId string
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    Name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    ResourceType string
    (String) The type of resource referenced.
    StartedAt string
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    Status string
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    StatusReasons List<IsImageExportJobStatusReason>
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    StorageBucket IsImageExportJobStorageBucket

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    StorageHref string
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    StorageObjects List<IsImageExportJobStorageObject>
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    CompletedAt string
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    CreatedAt string
    (String) The date and time that the image export job was created.
    EncryptedDataKey string
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    Format string
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    Href string
    (String) The URL for this image export job.
    Image string
    The image identifier.
    ImageExportJob string
    (String) The unique identifier for this image export job.
    IsImageExportJobId string
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    Name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    ResourceType string
    (String) The type of resource referenced.
    StartedAt string
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    Status string
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    StatusReasons []IsImageExportJobStatusReasonArgs
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    StorageBucket IsImageExportJobStorageBucketArgs

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    StorageHref string
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    StorageObjects []IsImageExportJobStorageObjectArgs
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completedAt String
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    createdAt String
    (String) The date and time that the image export job was created.
    encryptedDataKey String
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    format String
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    href String
    (String) The URL for this image export job.
    image String
    The image identifier.
    imageExportJob String
    (String) The unique identifier for this image export job.
    isImageExportJobId String
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name String
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    resourceType String
    (String) The type of resource referenced.
    startedAt String
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status String
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    statusReasons List<IsImageExportJobStatusReason>
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storageBucket IsImageExportJobStorageBucket

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    storageHref String
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storageObjects List<IsImageExportJobStorageObject>
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completedAt string
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    createdAt string
    (String) The date and time that the image export job was created.
    encryptedDataKey string
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    format string
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    href string
    (String) The URL for this image export job.
    image string
    The image identifier.
    imageExportJob string
    (String) The unique identifier for this image export job.
    isImageExportJobId string
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    resourceType string
    (String) The type of resource referenced.
    startedAt string
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status string
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    statusReasons IsImageExportJobStatusReason[]
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storageBucket IsImageExportJobStorageBucket

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    storageHref string
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storageObjects IsImageExportJobStorageObject[]
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completed_at str
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    created_at str
    (String) The date and time that the image export job was created.
    encrypted_data_key str
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    format str
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    href str
    (String) The URL for this image export job.
    image str
    The image identifier.
    image_export_job str
    (String) The unique identifier for this image export job.
    is_image_export_job_id str
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name str
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    resource_type str
    (String) The type of resource referenced.
    started_at str
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status str
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    status_reasons Sequence[IsImageExportJobStatusReasonArgs]
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storage_bucket IsImageExportJobStorageBucketArgs

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    storage_href str
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storage_objects Sequence[IsImageExportJobStorageObjectArgs]
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:
    completedAt String
    (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
    createdAt String
    (String) The date and time that the image export job was created.
    encryptedDataKey String
    (Optional, String) A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's encryption_key root key using either Key Protect or Hyper Protect Crypto Service.If absent, the export job is for an unencrypted image.
    format String
    The format to use for the exported image. If the image is encrypted, only qcow2 is supported. Allowable values are: qcow2, vhd. Default value is qcow2.
    href String
    (String) The URL for this image export job.
    image String
    The image identifier.
    imageExportJob String
    (String) The unique identifier for this image export job.
    isImageExportJobId String
    The unique identifier of the ImageExportJob. Follows the format <image_id>/<image_export_job_id>.
    name String
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    resourceType String
    (String) The type of resource referenced.
    startedAt String
    (String) The date and time that the image export job started running.If absent, the export job has not yet started.
    status String
    (String) The status of this image export job:- deleting: Export job is being deleted- failed: Export job could not be completed successfully- queued: Export job is queued- running: Export job is in progress- succeeded: Export job was completed successfullyThe exported image object is automatically deleted for failed jobs. Allowable values are: deleting, failed, queued, running, succeeded.
    statusReasons List<Property Map>
    (List) The reasons for the current status (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested scheme for status_reasons:
    storageBucket Property Map

    The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM service authorization must grant Image Service for VPC of VPC Infrastructure Services writer access to the bucket.

    Nested scheme for storage_bucket:

    storageHref String
    (String) The Cloud Object Storage location of the exported image object. The object at this location may not exist until the job is started, and will be incomplete while the job is running.After the job completes, the exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the bucket.
    storageObjects List<Property Map>
    (List) The Cloud Object Storage object for the exported image. This object may not exist untilthe job is started, and will not be complete until the job completes. Nested scheme for storage_object:

    Supporting Types

    IsImageExportJobStatusReason, IsImageExportJobStatusReasonArgs

    Code string
    (String) A snake case string succinctly identifying the status reason.
    Message string
    (String) An explanation of the status reason.
    MoreInfo string
    (Optional, String) Link to documentation about this status reason.
    Code string
    (String) A snake case string succinctly identifying the status reason.
    Message string
    (String) An explanation of the status reason.
    MoreInfo string
    (Optional, String) Link to documentation about this status reason.
    code String
    (String) A snake case string succinctly identifying the status reason.
    message String
    (String) An explanation of the status reason.
    moreInfo String
    (Optional, String) Link to documentation about this status reason.
    code string
    (String) A snake case string succinctly identifying the status reason.
    message string
    (String) An explanation of the status reason.
    moreInfo string
    (Optional, String) Link to documentation about this status reason.
    code str
    (String) A snake case string succinctly identifying the status reason.
    message str
    (String) An explanation of the status reason.
    more_info str
    (Optional, String) Link to documentation about this status reason.
    code String
    (String) A snake case string succinctly identifying the status reason.
    message String
    (String) An explanation of the status reason.
    moreInfo String
    (Optional, String) Link to documentation about this status reason.

    IsImageExportJobStorageBucket, IsImageExportJobStorageBucketArgs

    Crn string

    The CRN of this Cloud Object Storage bucket

    NOTE: Within storage_bucket, name and crn are mutually exclusive. Provide either one of them.

    Name string
    Name of this Cloud Object Storage bucket.
    Crn string

    The CRN of this Cloud Object Storage bucket

    NOTE: Within storage_bucket, name and crn are mutually exclusive. Provide either one of them.

    Name string
    Name of this Cloud Object Storage bucket.
    crn String

    The CRN of this Cloud Object Storage bucket

    NOTE: Within storage_bucket, name and crn are mutually exclusive. Provide either one of them.

    name String
    Name of this Cloud Object Storage bucket.
    crn string

    The CRN of this Cloud Object Storage bucket

    NOTE: Within storage_bucket, name and crn are mutually exclusive. Provide either one of them.

    name string
    Name of this Cloud Object Storage bucket.
    crn str

    The CRN of this Cloud Object Storage bucket

    NOTE: Within storage_bucket, name and crn are mutually exclusive. Provide either one of them.

    name str
    Name of this Cloud Object Storage bucket.
    crn String

    The CRN of this Cloud Object Storage bucket

    NOTE: Within storage_bucket, name and crn are mutually exclusive. Provide either one of them.

    name String
    Name of this Cloud Object Storage bucket.

    IsImageExportJobStorageObject, IsImageExportJobStorageObjectArgs

    Name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    Name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    name String
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    name string
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    name str
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.
    name String
    The user-defined name for this image export job. Names must be unique within the image this export job resides in. If unspecified, the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent image name.The exported image object name in Cloud Object Storage (storage_object.name in the response) will be based on this name. The object name will be unique within the bucket.

    Import

    You can import the ibm_is_image_export_job resource by using id.

    The id property can be formed from image_id, and id in the following format:

    <image_id>/

    • image_id: A string. The image identifier.

    • id: A string. The image export job identifier.

    Syntax

    $ pulumi import ibm:index/isImageExportJob:IsImageExportJob is_image_export <image_id>/<id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud