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";
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 exampleIsImageObsolete = new ibm.IsImageObsolete("exampleIsImageObsolete", {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_obsolete = ibm.IsImageObsolete("exampleIsImageObsolete", 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.NewIsImageObsolete(ctx, "exampleIsImageObsolete", &ibm.IsImageObsoleteArgs{
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 exampleIsImageObsolete = new Ibm.IsImageObsolete("exampleIsImageObsolete", 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.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());
}
}
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}
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 string
- The unique name of the resource.
- args IsImageObsoleteArgs
- 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 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 string
- The unique name of the resource.
- args IsImageObsoleteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsImageObsoleteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
var isImageObsoleteResource = new IsImageObsolete("isImageObsoleteResource", IsImageObsoleteArgs.builder()
.image("string")
.isImageObsoleteId("string")
.timeouts(IsImageObsoleteTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
is_image_obsolete_resource = ibm.IsImageObsolete("isImageObsoleteResource",
image="string",
is_image_obsolete_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const isImageObsoleteResource = new ibm.IsImageObsolete("isImageObsoleteResource", {
image: "string",
isImageObsoleteId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:IsImageObsolete
properties:
image: string
isImageObsoleteId: string
timeouts:
create: string
delete: string
update: string
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 string
- The id of an image to be made obsolete.
- Is
Image stringObsolete Id - (String) The unique identifier of the image.
- Timeouts
Is
Image Obsolete Timeouts
- Image string
- The id of an image to be made obsolete.
- Is
Image stringObsolete Id - (String) The unique identifier of the image.
- Timeouts
Is
Image Obsolete Timeouts Args
- image String
- The id of an image to be made obsolete.
- is
Image StringObsolete Id - (String) The unique identifier of the image.
- timeouts
Is
Image Obsolete Timeouts
- image string
- The id of an image to be made obsolete.
- is
Image stringObsolete Id - (String) The unique identifier of the image.
- timeouts
Is
Image Obsolete Timeouts
- image str
- The id of an image to be made obsolete.
- is_
image_ strobsolete_ id - (String) The unique identifier of the image.
- timeouts
Is
Image Obsolete Timeouts Args
- image String
- The id of an image to be made obsolete.
- is
Image StringObsolete Id - (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:
- List<string>
- List of access management tags
- Checksum string
- (String) The
SHA256
checksum of the image. - Created
At string - (String) The date and time that the image was created
- Crn string
- (String) The CRN of the image.
- Deprecation
At string - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- Encrypted
Data stringKey - 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.
- Encryption
Key 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
- Obsolescence
At 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.
- Operating
System string - Image Operating system
- Resource
Group string - The resource group for this image
- Size double
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- Source
Volume string - Image volume id
- Status string
- (String) The status of an image such as
corrupt
, oravailable
. - List<string>
- Tags for the image
- Visibility string
- (String) The access scope of an image such as
private
orpublic
.
- []string
- List of access management tags
- Checksum string
- (String) The
SHA256
checksum of the image. - Created
At string - (String) The date and time that the image was created
- Crn string
- (String) The CRN of the image.
- Deprecation
At string - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- Encrypted
Data stringKey - 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.
- Encryption
Key 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
- Obsolescence
At 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.
- Operating
System string - Image Operating system
- Resource
Group string - The resource group for this image
- Size float64
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- Source
Volume string - Image volume id
- Status string
- (String) The status of an image such as
corrupt
, oravailable
. - []string
- Tags for the image
- Visibility string
- (String) The access scope of an image such as
private
orpublic
.
- List<String>
- List of access management tags
- checksum String
- (String) The
SHA256
checksum of the image. - created
At String - (String) The date and time that the image was created
- crn String
- (String) The CRN of the image.
- deprecation
At String - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- encrypted
Data StringKey - 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.
- encryption
Key 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
- obsolescence
At 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.
- operating
System String - Image Operating system
- resource
Group String - The resource group for this image
- size Double
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- source
Volume String - Image volume id
- status String
- (String) The status of an image such as
corrupt
, oravailable
. - List<String>
- Tags for the image
- visibility String
- (String) The access scope of an image such as
private
orpublic
.
- string[]
- List of access management tags
- checksum string
- (String) The
SHA256
checksum of the image. - created
At string - (String) The date and time that the image was created
- crn string
- (String) The CRN of the image.
- deprecation
At string - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- encrypted
Data stringKey - 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.
- encryption
Key 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
- obsolescence
At 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.
- operating
System string - Image Operating system
- resource
Group string - The resource group for this image
- size number
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- source
Volume string - Image volume id
- status string
- (String) The status of an image such as
corrupt
, oravailable
. - string[]
- Tags for the image
- visibility string
- (String) The access scope of an image such as
private
orpublic
.
- 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_ strkey - 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
, oravailable
. - Sequence[str]
- Tags for the image
- visibility str
- (String) The access scope of an image such as
private
orpublic
.
- List<String>
- List of access management tags
- checksum String
- (String) The
SHA256
checksum of the image. - created
At String - (String) The date and time that the image was created
- crn String
- (String) The CRN of the image.
- deprecation
At String - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- encrypted
Data StringKey - 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.
- encryption
Key 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
- obsolescence
At 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.
- operating
System String - Image Operating system
- resource
Group String - The resource group for this image
- size Number
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- source
Volume String - Image volume id
- status String
- (String) The status of an image such as
corrupt
, oravailable
. - List<String>
- Tags for the image
- visibility String
- (String) The access scope of an image such as
private
orpublic
.
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
- 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.
- List<string>
- List of access management tags
- Checksum string
- (String) The
SHA256
checksum of the image. - Created
At string - (String) The date and time that the image was created
- Crn string
- (String) The CRN of the image.
- Deprecation
At string - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- Encrypted
Data stringKey - 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.
- Encryption
Key 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.
- Is
Image stringObsolete Id - (String) The unique identifier of the image.
- Name string
- Image name
- Obsolescence
At 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.
- Operating
System string - Image Operating system
- Resource
Group string - The resource group for this image
- Size double
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- Source
Volume string - Image volume id
- Status string
- (String) The status of an image such as
corrupt
, oravailable
. - List<string>
- Tags for the image
- Timeouts
Is
Image Obsolete Timeouts - Visibility string
- (String) The access scope of an image such as
private
orpublic
.
- []string
- List of access management tags
- Checksum string
- (String) The
SHA256
checksum of the image. - Created
At string - (String) The date and time that the image was created
- Crn string
- (String) The CRN of the image.
- Deprecation
At string - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- Encrypted
Data stringKey - 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.
- Encryption
Key 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.
- Is
Image stringObsolete Id - (String) The unique identifier of the image.
- Name string
- Image name
- Obsolescence
At 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.
- Operating
System string - Image Operating system
- Resource
Group string - The resource group for this image
- Size float64
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- Source
Volume string - Image volume id
- Status string
- (String) The status of an image such as
corrupt
, oravailable
. - []string
- Tags for the image
- Timeouts
Is
Image Obsolete Timeouts Args - Visibility string
- (String) The access scope of an image such as
private
orpublic
.
- List<String>
- List of access management tags
- checksum String
- (String) The
SHA256
checksum of the image. - created
At String - (String) The date and time that the image was created
- crn String
- (String) The CRN of the image.
- deprecation
At String - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- encrypted
Data StringKey - 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.
- encryption
Key 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.
- is
Image StringObsolete Id - (String) The unique identifier of the image.
- name String
- Image name
- obsolescence
At 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.
- operating
System String - Image Operating system
- resource
Group String - The resource group for this image
- size Double
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- source
Volume String - Image volume id
- status String
- (String) The status of an image such as
corrupt
, oravailable
. - List<String>
- Tags for the image
- timeouts
Is
Image Obsolete Timeouts - visibility String
- (String) The access scope of an image such as
private
orpublic
.
- string[]
- List of access management tags
- checksum string
- (String) The
SHA256
checksum of the image. - created
At string - (String) The date and time that the image was created
- crn string
- (String) The CRN of the image.
- deprecation
At string - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- encrypted
Data stringKey - 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.
- encryption
Key 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.
- is
Image stringObsolete Id - (String) The unique identifier of the image.
- name string
- Image name
- obsolescence
At 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.
- operating
System string - Image Operating system
- resource
Group string - The resource group for this image
- size number
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- source
Volume string - Image volume id
- status string
- (String) The status of an image such as
corrupt
, oravailable
. - string[]
- Tags for the image
- timeouts
Is
Image Obsolete Timeouts - visibility string
- (String) The access scope of an image such as
private
orpublic
.
- 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_ strkey - 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_ strobsolete_ id - (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
, oravailable
. - Sequence[str]
- Tags for the image
- timeouts
Is
Image Obsolete Timeouts Args - visibility str
- (String) The access scope of an image such as
private
orpublic
.
- List<String>
- List of access management tags
- checksum String
- (String) The
SHA256
checksum of the image. - created
At String - (String) The date and time that the image was created
- crn String
- (String) The CRN of the image.
- deprecation
At String - (String) The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.
- encrypted
Data StringKey - 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.
- encryption
Key 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.
- is
Image StringObsolete Id - (String) The unique identifier of the image.
- name String
- Image name
- obsolescence
At 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.
- operating
System String - Image Operating system
- resource
Group String - The resource group for this image
- size Number
- The minimum size (in gigabytes) of a volume onto which this image may be provisioned
- source
Volume String - Image volume id
- status String
- (String) The status of an image such as
corrupt
, oravailable
. - List<String>
- Tags for the image
- timeouts Property Map
- visibility String
- (String) The access scope of an image such as
private
orpublic
.
Supporting Types
IsImageObsoleteTimeouts, IsImageObsoleteTimeoutsArgs
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
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.