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

ibm.IsImageDeprecate

Explore with Pulumi AI

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

    Provide support to deprecate a VPC image. This allows images to be marked as deprecared, resulting in its status becoming deprecated and deprecation_at being set to the current date and time. For more information, about VPC custom images, see IBM Cloud Docs: Virtual Private Cloud - IBM Cloud Importing and managing custom images.

    Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

    provider.tf

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Example Usage

    Using Href And Operating_system)

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const exampleIsImage = new ibm.IsImage("exampleIsImage", {
        href: "cos://us-south/buckettesttest/livecd.ubuntu-cpc.azure.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",
    });
    const exampleIsImageDeprecate = new ibm.IsImageDeprecate("exampleIsImageDeprecate", {image: exampleIsImage.isImageId});
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_is_image = ibm.IsImage("exampleIsImage",
        href="cos://us-south/buckettesttest/livecd.ubuntu-cpc.azure.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")
    example_is_image_deprecate = ibm.IsImageDeprecate("exampleIsImageDeprecate", image=example_is_image.is_image_id)
    
    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/buckettesttest/livecd.ubuntu-cpc.azure.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
    		}
    		_, err = ibm.NewIsImageDeprecate(ctx, "exampleIsImageDeprecate", &ibm.IsImageDeprecateArgs{
    			Image: exampleIsImage.IsImageId,
    		})
    		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/buckettesttest/livecd.ubuntu-cpc.azure.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",
        });
    
        var exampleIsImageDeprecate = new Ibm.IsImageDeprecate("exampleIsImageDeprecate", new()
        {
            Image = exampleIsImage.IsImageId,
        });
    
    });
    
    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.IsImageDeprecate;
    import com.pulumi.ibm.IsImageDeprecateArgs;
    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/buckettesttest/livecd.ubuntu-cpc.azure.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());
    
            var exampleIsImageDeprecate = new IsImageDeprecate("exampleIsImageDeprecate", IsImageDeprecateArgs.builder()
                .image(exampleIsImage.isImageId())
                .build());
    
        }
    }
    
    resources:
      exampleIsImage:
        type: ibm:IsImage
        properties:
          href: cos://us-south/buckettesttest/livecd.ubuntu-cpc.azure.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
      exampleIsImageDeprecate:
        type: ibm:IsImageDeprecate
        properties:
          image: ${exampleIsImage.isImageId}
    

    NOTE operating_system is required with href.

    Create IsImageDeprecate Resource

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

    Constructor syntax

    new IsImageDeprecate(name: string, args: IsImageDeprecateArgs, opts?: CustomResourceOptions);
    @overload
    def IsImageDeprecate(resource_name: str,
                         args: IsImageDeprecateArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsImageDeprecate(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         image: Optional[str] = None,
                         is_image_deprecate_id: Optional[str] = None,
                         timeouts: Optional[IsImageDeprecateTimeoutsArgs] = None)
    func NewIsImageDeprecate(ctx *Context, name string, args IsImageDeprecateArgs, opts ...ResourceOption) (*IsImageDeprecate, error)
    public IsImageDeprecate(string name, IsImageDeprecateArgs args, CustomResourceOptions? opts = null)
    public IsImageDeprecate(String name, IsImageDeprecateArgs args)
    public IsImageDeprecate(String name, IsImageDeprecateArgs args, CustomResourceOptions options)
    
    type: ibm:IsImageDeprecate
    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 IsImageDeprecateArgs
    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 IsImageDeprecateArgs
    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 IsImageDeprecateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsImageDeprecateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsImageDeprecateArgs
    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 isImageDeprecateResource = new Ibm.IsImageDeprecate("isImageDeprecateResource", new()
    {
        Image = "string",
        IsImageDeprecateId = "string",
        Timeouts = new Ibm.Inputs.IsImageDeprecateTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewIsImageDeprecate(ctx, "isImageDeprecateResource", &ibm.IsImageDeprecateArgs{
    	Image:              pulumi.String("string"),
    	IsImageDeprecateId: pulumi.String("string"),
    	Timeouts: &ibm.IsImageDeprecateTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var isImageDeprecateResource = new IsImageDeprecate("isImageDeprecateResource", IsImageDeprecateArgs.builder()
        .image("string")
        .isImageDeprecateId("string")
        .timeouts(IsImageDeprecateTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    is_image_deprecate_resource = ibm.IsImageDeprecate("isImageDeprecateResource",
        image="string",
        is_image_deprecate_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const isImageDeprecateResource = new ibm.IsImageDeprecate("isImageDeprecateResource", {
        image: "string",
        isImageDeprecateId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: ibm:IsImageDeprecate
    properties:
        image: string
        isImageDeprecateId: string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    Image string
    The id of an image to be deprecated.
    IsImageDeprecateId string
    (String) The unique identifier of the image.
    Timeouts IsImageDeprecateTimeouts
    Image string
    The id of an image to be deprecated.
    IsImageDeprecateId string
    (String) The unique identifier of the image.
    Timeouts IsImageDeprecateTimeoutsArgs
    image String
    The id of an image to be deprecated.
    isImageDeprecateId String
    (String) The unique identifier of the image.
    timeouts IsImageDeprecateTimeouts
    image string
    The id of an image to be deprecated.
    isImageDeprecateId string
    (String) The unique identifier of the image.
    timeouts IsImageDeprecateTimeouts
    image str
    The id of an image to be deprecated.
    is_image_deprecate_id str
    (String) The unique identifier of the image.
    timeouts IsImageDeprecateTimeoutsArgs
    image String
    The id of an image to be deprecated.
    isImageDeprecateId String
    (String) The unique identifier of the image.
    timeouts Property Map

    Outputs

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

    AccessTags List<string>
    List of access management tags
    Checksum string
    (String) The SHA256 checksum of the image.
    CreatedAt string
    (String) The date and time that the image was created
    Crn string
    (String) The CRN of the image.
    DeprecationAt string
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    EncryptedDataKey string
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    Encryption string
    (String) The type of encryption used on the image.
    EncryptionKey string
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    File double
    (String) The file.
    Href string
    Image Href value
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Image name
    ObsolescenceAt string
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    OperatingSystem string
    Image Operating system
    ResourceGroup string
    The resource group for this image
    Size double
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    SourceVolume string
    Image volume id
    Status string
    (String) The status of an image such as corrupt, or available.
    Tags List<string>
    Tags for the image
    Visibility string
    (String) The access scope of an image such as private or public.
    AccessTags []string
    List of access management tags
    Checksum string
    (String) The SHA256 checksum of the image.
    CreatedAt string
    (String) The date and time that the image was created
    Crn string
    (String) The CRN of the image.
    DeprecationAt string
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    EncryptedDataKey string
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    Encryption string
    (String) The type of encryption used on the image.
    EncryptionKey string
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    File float64
    (String) The file.
    Href string
    Image Href value
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Image name
    ObsolescenceAt string
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    OperatingSystem string
    Image Operating system
    ResourceGroup string
    The resource group for this image
    Size float64
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    SourceVolume string
    Image volume id
    Status string
    (String) The status of an image such as corrupt, or available.
    Tags []string
    Tags for the image
    Visibility string
    (String) The access scope of an image such as private or public.
    accessTags List<String>
    List of access management tags
    checksum String
    (String) The SHA256 checksum of the image.
    createdAt String
    (String) The date and time that the image was created
    crn String
    (String) The CRN of the image.
    deprecationAt String
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encryptedDataKey String
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption String
    (String) The type of encryption used on the image.
    encryptionKey String
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file Double
    (String) The file.
    href String
    Image Href value
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Image name
    obsolescenceAt String
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operatingSystem String
    Image Operating system
    resourceGroup String
    The resource group for this image
    size Double
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    sourceVolume String
    Image volume id
    status String
    (String) The status of an image such as corrupt, or available.
    tags List<String>
    Tags for the image
    visibility String
    (String) The access scope of an image such as private or public.
    accessTags string[]
    List of access management tags
    checksum string
    (String) The SHA256 checksum of the image.
    createdAt string
    (String) The date and time that the image was created
    crn string
    (String) The CRN of the image.
    deprecationAt string
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encryptedDataKey string
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption string
    (String) The type of encryption used on the image.
    encryptionKey string
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file number
    (String) The file.
    href string
    Image Href value
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Image name
    obsolescenceAt string
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operatingSystem string
    Image Operating system
    resourceGroup string
    The resource group for this image
    size number
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    sourceVolume string
    Image volume id
    status string
    (String) The status of an image such as corrupt, or available.
    tags string[]
    Tags for the image
    visibility string
    (String) The access scope of an image such as private or public.
    access_tags Sequence[str]
    List of access management tags
    checksum str
    (String) The SHA256 checksum of the image.
    created_at str
    (String) The date and time that the image was created
    crn str
    (String) The CRN of the image.
    deprecation_at str
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encrypted_data_key str
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption str
    (String) The type of encryption used on the image.
    encryption_key str
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file float
    (String) The file.
    href str
    Image Href value
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Image name
    obsolescence_at str
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operating_system str
    Image Operating system
    resource_group str
    The resource group for this image
    size float
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    source_volume str
    Image volume id
    status str
    (String) The status of an image such as corrupt, or available.
    tags Sequence[str]
    Tags for the image
    visibility str
    (String) The access scope of an image such as private or public.
    accessTags List<String>
    List of access management tags
    checksum String
    (String) The SHA256 checksum of the image.
    createdAt String
    (String) The date and time that the image was created
    crn String
    (String) The CRN of the image.
    deprecationAt String
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encryptedDataKey String
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption String
    (String) The type of encryption used on the image.
    encryptionKey String
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file Number
    (String) The file.
    href String
    Image Href value
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Image name
    obsolescenceAt String
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operatingSystem String
    Image Operating system
    resourceGroup String
    The resource group for this image
    size Number
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    sourceVolume String
    Image volume id
    status String
    (String) The status of an image such as corrupt, or available.
    tags List<String>
    Tags for the image
    visibility String
    (String) The access scope of an image such as private or public.

    Look up Existing IsImageDeprecate Resource

    Get an existing IsImageDeprecate 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?: IsImageDeprecateState, opts?: CustomResourceOptions): IsImageDeprecate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_tags: Optional[Sequence[str]] = None,
            checksum: Optional[str] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            deprecation_at: Optional[str] = None,
            encrypted_data_key: Optional[str] = None,
            encryption: Optional[str] = None,
            encryption_key: Optional[str] = None,
            file: Optional[float] = None,
            href: Optional[str] = None,
            image: Optional[str] = None,
            is_image_deprecate_id: Optional[str] = None,
            name: Optional[str] = None,
            obsolescence_at: Optional[str] = None,
            operating_system: Optional[str] = None,
            resource_group: Optional[str] = None,
            size: Optional[float] = None,
            source_volume: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[IsImageDeprecateTimeoutsArgs] = None,
            visibility: Optional[str] = None) -> IsImageDeprecate
    func GetIsImageDeprecate(ctx *Context, name string, id IDInput, state *IsImageDeprecateState, opts ...ResourceOption) (*IsImageDeprecate, error)
    public static IsImageDeprecate Get(string name, Input<string> id, IsImageDeprecateState? state, CustomResourceOptions? opts = null)
    public static IsImageDeprecate get(String name, Output<String> id, IsImageDeprecateState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsImageDeprecate    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:
    AccessTags List<string>
    List of access management tags
    Checksum string
    (String) The SHA256 checksum of the image.
    CreatedAt string
    (String) The date and time that the image was created
    Crn string
    (String) The CRN of the image.
    DeprecationAt string
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    EncryptedDataKey string
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    Encryption string
    (String) The type of encryption used on the image.
    EncryptionKey string
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    File double
    (String) The file.
    Href string
    Image Href value
    Image string
    The id of an image to be deprecated.
    IsImageDeprecateId string
    (String) The unique identifier of the image.
    Name string
    Image name
    ObsolescenceAt string
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    OperatingSystem string
    Image Operating system
    ResourceGroup string
    The resource group for this image
    Size double
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    SourceVolume string
    Image volume id
    Status string
    (String) The status of an image such as corrupt, or available.
    Tags List<string>
    Tags for the image
    Timeouts IsImageDeprecateTimeouts
    Visibility string
    (String) The access scope of an image such as private or public.
    AccessTags []string
    List of access management tags
    Checksum string
    (String) The SHA256 checksum of the image.
    CreatedAt string
    (String) The date and time that the image was created
    Crn string
    (String) The CRN of the image.
    DeprecationAt string
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    EncryptedDataKey string
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    Encryption string
    (String) The type of encryption used on the image.
    EncryptionKey string
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    File float64
    (String) The file.
    Href string
    Image Href value
    Image string
    The id of an image to be deprecated.
    IsImageDeprecateId string
    (String) The unique identifier of the image.
    Name string
    Image name
    ObsolescenceAt string
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    OperatingSystem string
    Image Operating system
    ResourceGroup string
    The resource group for this image
    Size float64
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    SourceVolume string
    Image volume id
    Status string
    (String) The status of an image such as corrupt, or available.
    Tags []string
    Tags for the image
    Timeouts IsImageDeprecateTimeoutsArgs
    Visibility string
    (String) The access scope of an image such as private or public.
    accessTags List<String>
    List of access management tags
    checksum String
    (String) The SHA256 checksum of the image.
    createdAt String
    (String) The date and time that the image was created
    crn String
    (String) The CRN of the image.
    deprecationAt String
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encryptedDataKey String
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption String
    (String) The type of encryption used on the image.
    encryptionKey String
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file Double
    (String) The file.
    href String
    Image Href value
    image String
    The id of an image to be deprecated.
    isImageDeprecateId String
    (String) The unique identifier of the image.
    name String
    Image name
    obsolescenceAt String
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operatingSystem String
    Image Operating system
    resourceGroup String
    The resource group for this image
    size Double
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    sourceVolume String
    Image volume id
    status String
    (String) The status of an image such as corrupt, or available.
    tags List<String>
    Tags for the image
    timeouts IsImageDeprecateTimeouts
    visibility String
    (String) The access scope of an image such as private or public.
    accessTags string[]
    List of access management tags
    checksum string
    (String) The SHA256 checksum of the image.
    createdAt string
    (String) The date and time that the image was created
    crn string
    (String) The CRN of the image.
    deprecationAt string
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encryptedDataKey string
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption string
    (String) The type of encryption used on the image.
    encryptionKey string
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file number
    (String) The file.
    href string
    Image Href value
    image string
    The id of an image to be deprecated.
    isImageDeprecateId string
    (String) The unique identifier of the image.
    name string
    Image name
    obsolescenceAt string
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operatingSystem string
    Image Operating system
    resourceGroup string
    The resource group for this image
    size number
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    sourceVolume string
    Image volume id
    status string
    (String) The status of an image such as corrupt, or available.
    tags string[]
    Tags for the image
    timeouts IsImageDeprecateTimeouts
    visibility string
    (String) The access scope of an image such as private or public.
    access_tags Sequence[str]
    List of access management tags
    checksum str
    (String) The SHA256 checksum of the image.
    created_at str
    (String) The date and time that the image was created
    crn str
    (String) The CRN of the image.
    deprecation_at str
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encrypted_data_key str
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption str
    (String) The type of encryption used on the image.
    encryption_key str
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file float
    (String) The file.
    href str
    Image Href value
    image str
    The id of an image to be deprecated.
    is_image_deprecate_id str
    (String) The unique identifier of the image.
    name str
    Image name
    obsolescence_at str
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operating_system str
    Image Operating system
    resource_group str
    The resource group for this image
    size float
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    source_volume str
    Image volume id
    status str
    (String) The status of an image such as corrupt, or available.
    tags Sequence[str]
    Tags for the image
    timeouts IsImageDeprecateTimeoutsArgs
    visibility str
    (String) The access scope of an image such as private or public.
    accessTags List<String>
    List of access management tags
    checksum String
    (String) The SHA256 checksum of the image.
    createdAt String
    (String) The date and time that the image was created
    crn String
    (String) The CRN of the image.
    deprecationAt String
    (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
    encryptedDataKey String
    A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image
    encryption String
    (String) The type of encryption used on the image.
    encryptionKey String
    The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource
    file Number
    (String) The file.
    href String
    Image Href value
    image String
    The id of an image to be deprecated.
    isImageDeprecateId String
    (String) The unique identifier of the image.
    name String
    Image name
    obsolescenceAt String
    (String) The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.

    • resourceGroup - (String) The resource group to which the image belongs to.
    operatingSystem String
    Image Operating system
    resourceGroup String
    The resource group for this image
    size Number
    The minimum size (in gigabytes) of a volume onto which this image may be provisioned
    sourceVolume String
    Image volume id
    status String
    (String) The status of an image such as corrupt, or available.
    tags List<String>
    Tags for the image
    timeouts Property Map
    visibility String
    (String) The access scope of an image such as private or public.

    Supporting Types

    IsImageDeprecateTimeouts, IsImageDeprecateTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    The ibm_is_image_deprecate resource can be imported by using image ID.

    Example

    $ pulumi import ibm:index/isImageDeprecate:IsImageDeprecate example d7bec597-4726-451f-8a63-e62e6f121c32c
    

    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