1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsImageObsolete
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.IsImageObsolete

Explore with Pulumi AI

Provide support to obsolete a VPC image. This resource obsoletes an image, resulting in its status becoming obsolete and obsolescence_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";
Copy
import pulumi
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
});
Copy
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) {
    }
}
Copy
{}
Copy

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 exampleIsImageObsolete = new ibm.IsImageObsolete("exampleIsImageObsolete", {image: exampleIsImage.isImageId});
Copy
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_obsolete = ibm.IsImageObsolete("exampleIsImageObsolete", image=example_is_image.is_image_id)
Copy
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.NewIsImageObsolete(ctx, "exampleIsImageObsolete", &ibm.IsImageObsoleteArgs{
			Image: exampleIsImage.IsImageId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 exampleIsImageObsolete = new Ibm.IsImageObsolete("exampleIsImageObsolete", new()
    {
        Image = exampleIsImage.IsImageId,
    });

});
Copy
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.IsImageObsolete;
import com.pulumi.ibm.IsImageObsoleteArgs;
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 exampleIsImageObsolete = new IsImageObsolete("exampleIsImageObsolete", IsImageObsoleteArgs.builder()
            .image(exampleIsImage.isImageId())
            .build());

    }
}
Copy
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
  exampleIsImageObsolete:
    type: ibm:IsImageObsolete
    properties:
      image: ${exampleIsImage.isImageId}
Copy

Create IsImageObsolete Resource

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

Constructor syntax

new IsImageObsolete(name: string, args: IsImageObsoleteArgs, opts?: CustomResourceOptions);
@overload
def IsImageObsolete(resource_name: str,
                    args: IsImageObsoleteArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def IsImageObsolete(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    image: Optional[str] = None,
                    is_image_obsolete_id: Optional[str] = None,
                    timeouts: Optional[IsImageObsoleteTimeoutsArgs] = None)
func NewIsImageObsolete(ctx *Context, name string, args IsImageObsoleteArgs, opts ...ResourceOption) (*IsImageObsolete, error)
public IsImageObsolete(string name, IsImageObsoleteArgs args, CustomResourceOptions? opts = null)
public IsImageObsolete(String name, IsImageObsoleteArgs args)
public IsImageObsolete(String name, IsImageObsoleteArgs args, CustomResourceOptions options)
type: ibm:IsImageObsolete
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IsImageObsoleteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IsImageObsoleteArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IsImageObsoleteArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsImageObsoleteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IsImageObsoleteArgs
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 isImageObsoleteResource = new Ibm.IsImageObsolete("isImageObsoleteResource", new()
{
    Image = "string",
    IsImageObsoleteId = "string",
    Timeouts = new Ibm.Inputs.IsImageObsoleteTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := ibm.NewIsImageObsolete(ctx, "isImageObsoleteResource", &ibm.IsImageObsoleteArgs{
	Image:             pulumi.String("string"),
	IsImageObsoleteId: pulumi.String("string"),
	Timeouts: &ibm.IsImageObsoleteTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
Copy
var isImageObsoleteResource = new IsImageObsolete("isImageObsoleteResource", IsImageObsoleteArgs.builder()
    .image("string")
    .isImageObsoleteId("string")
    .timeouts(IsImageObsoleteTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
is_image_obsolete_resource = ibm.IsImageObsolete("isImageObsoleteResource",
    image="string",
    is_image_obsolete_id="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const isImageObsoleteResource = new ibm.IsImageObsolete("isImageObsoleteResource", {
    image: "string",
    isImageObsoleteId: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: ibm:IsImageObsolete
properties:
    image: string
    isImageObsoleteId: string
    timeouts:
        create: string
        delete: string
        update: string
Copy

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

Image This property is required. string
The id of an image to be made obsolete.
IsImageObsoleteId string
(String) The unique identifier of the image.
Timeouts IsImageObsoleteTimeouts
Image This property is required. string
The id of an image to be made obsolete.
IsImageObsoleteId string
(String) The unique identifier of the image.
Timeouts IsImageObsoleteTimeoutsArgs
image This property is required. String
The id of an image to be made obsolete.
isImageObsoleteId String
(String) The unique identifier of the image.
timeouts IsImageObsoleteTimeouts
image This property is required. string
The id of an image to be made obsolete.
isImageObsoleteId string
(String) The unique identifier of the image.
timeouts IsImageObsoleteTimeouts
image This property is required. str
The id of an image to be made obsolete.
is_image_obsolete_id str
(String) The unique identifier of the image.
timeouts IsImageObsoleteTimeoutsArgs
image This property is required. String
The id of an image to be made obsolete.
isImageObsoleteId String
(String) The unique identifier of the image.
timeouts Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the IsImageObsolete 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 IsImageObsolete Resource

Get an existing IsImageObsolete 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?: IsImageObsoleteState, opts?: CustomResourceOptions): IsImageObsolete
@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_obsolete_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[IsImageObsoleteTimeoutsArgs] = None,
        visibility: Optional[str] = None) -> IsImageObsolete
func GetIsImageObsolete(ctx *Context, name string, id IDInput, state *IsImageObsoleteState, opts ...ResourceOption) (*IsImageObsolete, error)
public static IsImageObsolete Get(string name, Input<string> id, IsImageObsoleteState? state, CustomResourceOptions? opts = null)
public static IsImageObsolete get(String name, Output<String> id, IsImageObsoleteState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsImageObsolete    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 made obsolete.
IsImageObsoleteId 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 IsImageObsoleteTimeouts
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 made obsolete.
IsImageObsoleteId 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 IsImageObsoleteTimeoutsArgs
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 made obsolete.
isImageObsoleteId 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 IsImageObsoleteTimeouts
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 made obsolete.
isImageObsoleteId 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 IsImageObsoleteTimeouts
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 made obsolete.
is_image_obsolete_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 IsImageObsoleteTimeoutsArgs
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 made obsolete.
isImageObsoleteId 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

IsImageObsoleteTimeouts
, IsImageObsoleteTimeoutsArgs

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_obsolete resource can be imported by using image ID.

Example

$ pulumi import ibm:index/isImageObsolete:IsImageObsolete example d7bec597-4726-451f-8a63-e62e6f121c32c
Copy

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.