ibm.IsImageExportJob
Explore with Pulumi AI
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
andibm.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.
- Storage
Bucket IsImage Export Job Storage Bucket 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 isqcow2
. - Is
Image stringExport Job Id - 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.
- Storage
Bucket IsImage Export Job Storage Bucket Args 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 isqcow2
. - Is
Image stringExport Job Id - 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.
- storage
Bucket IsImage Export Job Storage Bucket 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 isqcow2
. - is
Image StringExport Job Id - 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.
- storage
Bucket IsImage Export Job Storage Bucket 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 isqcow2
. - is
Image stringExport Job Id - 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 IsImage Export Job Storage Bucket Args 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 isqcow2
. - is_
image_ strexport_ job_ id - 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.
- storage
Bucket 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 isqcow2
. - is
Image StringExport Job Id - 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:
- Completed
At string - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- Created
At string - (String) The date and time that the image export job was created.
- Encrypted
Data stringKey - (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.
- Image
Export stringJob - (String) The unique identifier for this image export job.
- Resource
Type string - (String) The type of resource referenced.
- Started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - Status
Reasons List<IsImage Export Job Status Reason> - (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 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.
- Storage
Objects List<IsImage Export Job Storage Object> - (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 string - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- Created
At string - (String) The date and time that the image export job was created.
- Encrypted
Data stringKey - (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.
- Image
Export stringJob - (String) The unique identifier for this image export job.
- Resource
Type string - (String) The type of resource referenced.
- Started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - Status
Reasons []IsImage Export Job Status Reason - (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 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.
- Storage
Objects []IsImage Export Job Storage Object - (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 String - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- created
At String - (String) The date and time that the image export job was created.
- encrypted
Data StringKey - (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.
- image
Export StringJob - (String) The unique identifier for this image export job.
- resource
Type String - (String) The type of resource referenced.
- started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status
Reasons List<IsImage Export Job Status Reason> - (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 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.
- storage
Objects List<IsImage Export Job Storage Object> - (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 string - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- created
At string - (String) The date and time that the image export job was created.
- encrypted
Data stringKey - (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.
- image
Export stringJob - (String) The unique identifier for this image export job.
- resource
Type string - (String) The type of resource referenced.
- started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status
Reasons IsImage Export Job Status Reason[] - (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 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.
- storage
Objects IsImage Export Job Storage Object[] - (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_ strkey - (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_ strjob - (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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status_
reasons Sequence[IsImage Export Job Status Reason] - (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[IsImage Export Job Storage Object] - (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 String - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- created
At String - (String) The date and time that the image export job was created.
- encrypted
Data StringKey - (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.
- image
Export StringJob - (String) The unique identifier for this image export job.
- resource
Type String - (String) The type of resource referenced.
- started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status
Reasons 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:
- storage
Href 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.
- storage
Objects 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.
- Completed
At string - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- Created
At string - (String) The date and time that the image export job was created.
- Encrypted
Data stringKey - (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 isqcow2
. - Href string
- (String) The URL for this image export job.
- Image string
- The image identifier.
- Image
Export stringJob - (String) The unique identifier for this image export job.
- Is
Image stringExport Job Id - 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. - Resource
Type string - (String) The type of resource referenced.
- Started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - Status
Reasons List<IsImage Export Job Status Reason> - (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 IsImage Export Job Storage Bucket 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 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.
- Storage
Objects List<IsImage Export Job Storage Object> - (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 string - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- Created
At string - (String) The date and time that the image export job was created.
- Encrypted
Data stringKey - (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 isqcow2
. - Href string
- (String) The URL for this image export job.
- Image string
- The image identifier.
- Image
Export stringJob - (String) The unique identifier for this image export job.
- Is
Image stringExport Job Id - 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. - Resource
Type string - (String) The type of resource referenced.
- Started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - Status
Reasons []IsImage Export Job Status Reason Args - (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 IsImage Export Job Storage Bucket Args 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 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.
- Storage
Objects []IsImage Export Job Storage Object Args - (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 String - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- created
At String - (String) The date and time that the image export job was created.
- encrypted
Data StringKey - (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 isqcow2
. - href String
- (String) The URL for this image export job.
- image String
- The image identifier.
- image
Export StringJob - (String) The unique identifier for this image export job.
- is
Image StringExport Job Id - 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. - resource
Type String - (String) The type of resource referenced.
- started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status
Reasons List<IsImage Export Job Status Reason> - (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 IsImage Export Job Storage Bucket 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 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.
- storage
Objects List<IsImage Export Job Storage Object> - (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 string - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- created
At string - (String) The date and time that the image export job was created.
- encrypted
Data stringKey - (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 isqcow2
. - href string
- (String) The URL for this image export job.
- image string
- The image identifier.
- image
Export stringJob - (String) The unique identifier for this image export job.
- is
Image stringExport Job Id - 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. - resource
Type string - (String) The type of resource referenced.
- started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status
Reasons IsImage Export Job Status Reason[] - (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 IsImage Export Job Storage Bucket 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 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.
- storage
Objects IsImage Export Job Storage Object[] - (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_ strkey - (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 isqcow2
. - href str
- (String) The URL for this image export job.
- image str
- The image identifier.
- image_
export_ strjob - (String) The unique identifier for this image export job.
- is_
image_ strexport_ job_ id - 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status_
reasons Sequence[IsImage Export Job Status Reason Args] - (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 IsImage Export Job Storage Bucket Args 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[IsImage Export Job Storage Object Args] - (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 String - (String) The date and time that the image export job was completed.If absent, the export job has not yet completed.
- created
At String - (String) The date and time that the image export job was created.
- encrypted
Data StringKey - (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 isqcow2
. - href String
- (String) The URL for this image export job.
- image String
- The image identifier.
- image
Export StringJob - (String) The unique identifier for this image export job.
- is
Image StringExport Job Id - 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. - resource
Type String - (String) The type of resource referenced.
- started
At 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 forfailed
jobs. Allowable values are:deleting
,failed
,queued
,running
,succeeded
. - status
Reasons 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:
- storage
Bucket 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
:- storage
Href 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.
- storage
Objects 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
IsImageExportJobStorageBucket, IsImageExportJobStorageBucketArgs
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.