1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. ImagesImageV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.ImagesImageV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for Image management you can get at documentation portal

    Manages a V2 Image resource within OpenTelekomCloud Glance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const rancheros = new opentelekomcloud.ImagesImageV2("rancheros", {
        containerFormat: "bare",
        diskFormat: "qcow2",
        hwFirmwareType: "uefi",
        imageSourceUrl: "https://releases.rancher.com/os/latest/rancheros-openstack.img",
        tags: [
            "foo.bar",
            "tag.value",
        ],
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    rancheros = opentelekomcloud.ImagesImageV2("rancheros",
        container_format="bare",
        disk_format="qcow2",
        hw_firmware_type="uefi",
        image_source_url="https://releases.rancher.com/os/latest/rancheros-openstack.img",
        tags=[
            "foo.bar",
            "tag.value",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewImagesImageV2(ctx, "rancheros", &opentelekomcloud.ImagesImageV2Args{
    			ContainerFormat: pulumi.String("bare"),
    			DiskFormat:      pulumi.String("qcow2"),
    			HwFirmwareType:  pulumi.String("uefi"),
    			ImageSourceUrl:  pulumi.String("https://releases.rancher.com/os/latest/rancheros-openstack.img"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo.bar"),
    				pulumi.String("tag.value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var rancheros = new Opentelekomcloud.ImagesImageV2("rancheros", new()
        {
            ContainerFormat = "bare",
            DiskFormat = "qcow2",
            HwFirmwareType = "uefi",
            ImageSourceUrl = "https://releases.rancher.com/os/latest/rancheros-openstack.img",
            Tags = new[]
            {
                "foo.bar",
                "tag.value",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.ImagesImageV2;
    import com.pulumi.opentelekomcloud.ImagesImageV2Args;
    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 rancheros = new ImagesImageV2("rancheros", ImagesImageV2Args.builder()
                .containerFormat("bare")
                .diskFormat("qcow2")
                .hwFirmwareType("uefi")
                .imageSourceUrl("https://releases.rancher.com/os/latest/rancheros-openstack.img")
                .tags(            
                    "foo.bar",
                    "tag.value")
                .build());
    
        }
    }
    
    resources:
      rancheros:
        type: opentelekomcloud:ImagesImageV2
        properties:
          containerFormat: bare
          diskFormat: qcow2
          hwFirmwareType: uefi
          imageSourceUrl: https://releases.rancher.com/os/latest/rancheros-openstack.img
          tags:
            - foo.bar
            - tag.value
    

    Create ImagesImageV2 Resource

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

    Constructor syntax

    new ImagesImageV2(name: string, args: ImagesImageV2Args, opts?: CustomResourceOptions);
    @overload
    def ImagesImageV2(resource_name: str,
                      args: ImagesImageV2Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ImagesImageV2(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      container_format: Optional[str] = None,
                      disk_format: Optional[str] = None,
                      hw_firmware_type: Optional[str] = None,
                      image_cache_path: Optional[str] = None,
                      image_source_url: Optional[str] = None,
                      images_image_v2_id: Optional[str] = None,
                      local_file_path: Optional[str] = None,
                      min_disk_gb: Optional[float] = None,
                      min_ram_mb: Optional[float] = None,
                      name: Optional[str] = None,
                      protected: Optional[bool] = None,
                      region: Optional[str] = None,
                      tags: Optional[Sequence[str]] = None,
                      timeouts: Optional[ImagesImageV2TimeoutsArgs] = None,
                      visibility: Optional[str] = None)
    func NewImagesImageV2(ctx *Context, name string, args ImagesImageV2Args, opts ...ResourceOption) (*ImagesImageV2, error)
    public ImagesImageV2(string name, ImagesImageV2Args args, CustomResourceOptions? opts = null)
    public ImagesImageV2(String name, ImagesImageV2Args args)
    public ImagesImageV2(String name, ImagesImageV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:ImagesImageV2
    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 ImagesImageV2Args
    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 ImagesImageV2Args
    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 ImagesImageV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ImagesImageV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ImagesImageV2Args
    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 imagesImageV2Resource = new Opentelekomcloud.ImagesImageV2("imagesImageV2Resource", new()
    {
        ContainerFormat = "string",
        DiskFormat = "string",
        HwFirmwareType = "string",
        ImageCachePath = "string",
        ImageSourceUrl = "string",
        ImagesImageV2Id = "string",
        LocalFilePath = "string",
        MinDiskGb = 0,
        MinRamMb = 0,
        Name = "string",
        Protected = false,
        Region = "string",
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Opentelekomcloud.Inputs.ImagesImageV2TimeoutsArgs
        {
            Create = "string",
        },
        Visibility = "string",
    });
    
    example, err := opentelekomcloud.NewImagesImageV2(ctx, "imagesImageV2Resource", &opentelekomcloud.ImagesImageV2Args{
    	ContainerFormat: pulumi.String("string"),
    	DiskFormat:      pulumi.String("string"),
    	HwFirmwareType:  pulumi.String("string"),
    	ImageCachePath:  pulumi.String("string"),
    	ImageSourceUrl:  pulumi.String("string"),
    	ImagesImageV2Id: pulumi.String("string"),
    	LocalFilePath:   pulumi.String("string"),
    	MinDiskGb:       pulumi.Float64(0),
    	MinRamMb:        pulumi.Float64(0),
    	Name:            pulumi.String("string"),
    	Protected:       pulumi.Bool(false),
    	Region:          pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &opentelekomcloud.ImagesImageV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    	Visibility: pulumi.String("string"),
    })
    
    var imagesImageV2Resource = new ImagesImageV2("imagesImageV2Resource", ImagesImageV2Args.builder()
        .containerFormat("string")
        .diskFormat("string")
        .hwFirmwareType("string")
        .imageCachePath("string")
        .imageSourceUrl("string")
        .imagesImageV2Id("string")
        .localFilePath("string")
        .minDiskGb(0)
        .minRamMb(0)
        .name("string")
        .protected_(false)
        .region("string")
        .tags("string")
        .timeouts(ImagesImageV2TimeoutsArgs.builder()
            .create("string")
            .build())
        .visibility("string")
        .build());
    
    images_image_v2_resource = opentelekomcloud.ImagesImageV2("imagesImageV2Resource",
        container_format="string",
        disk_format="string",
        hw_firmware_type="string",
        image_cache_path="string",
        image_source_url="string",
        images_image_v2_id="string",
        local_file_path="string",
        min_disk_gb=0,
        min_ram_mb=0,
        name="string",
        protected=False,
        region="string",
        tags=["string"],
        timeouts={
            "create": "string",
        },
        visibility="string")
    
    const imagesImageV2Resource = new opentelekomcloud.ImagesImageV2("imagesImageV2Resource", {
        containerFormat: "string",
        diskFormat: "string",
        hwFirmwareType: "string",
        imageCachePath: "string",
        imageSourceUrl: "string",
        imagesImageV2Id: "string",
        localFilePath: "string",
        minDiskGb: 0,
        minRamMb: 0,
        name: "string",
        "protected": false,
        region: "string",
        tags: ["string"],
        timeouts: {
            create: "string",
        },
        visibility: "string",
    });
    
    type: opentelekomcloud:ImagesImageV2
    properties:
        containerFormat: string
        diskFormat: string
        hwFirmwareType: string
        imageCachePath: string
        imageSourceUrl: string
        imagesImageV2Id: string
        localFilePath: string
        minDiskGb: 0
        minRamMb: 0
        name: string
        protected: false
        region: string
        tags:
            - string
        timeouts:
            create: string
        visibility: string
    

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

    ContainerFormat string
    The container format. Must be one of ami, ari, aki, bare, ovf.
    DiskFormat string
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    HwFirmwareType string

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    ImageCachePath string
    ImageSourceUrl string
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    ImagesImageV2Id string
    A unique ID assigned by Glance.
    LocalFilePath string
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    MinDiskGb double
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    MinRamMb double
    Amount of ram (in MB) required to boot image. Defauts to 0.
    Name string
    The name of the image.
    Protected bool
    If true, image will not be deletable. Defaults to false.
    Region string
    Tags List<string>
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    Timeouts ImagesImageV2Timeouts
    Visibility string
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    ContainerFormat string
    The container format. Must be one of ami, ari, aki, bare, ovf.
    DiskFormat string
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    HwFirmwareType string

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    ImageCachePath string
    ImageSourceUrl string
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    ImagesImageV2Id string
    A unique ID assigned by Glance.
    LocalFilePath string
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    MinDiskGb float64
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    MinRamMb float64
    Amount of ram (in MB) required to boot image. Defauts to 0.
    Name string
    The name of the image.
    Protected bool
    If true, image will not be deletable. Defaults to false.
    Region string
    Tags []string
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    Timeouts ImagesImageV2TimeoutsArgs
    Visibility string
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    containerFormat String
    The container format. Must be one of ami, ari, aki, bare, ovf.
    diskFormat String
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    hwFirmwareType String

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    imageCachePath String
    imageSourceUrl String
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    imagesImageV2Id String
    A unique ID assigned by Glance.
    localFilePath String
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    minDiskGb Double
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    minRamMb Double
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name String
    The name of the image.
    protected_ Boolean
    If true, image will not be deletable. Defaults to false.
    region String
    tags List<String>
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts ImagesImageV2Timeouts
    visibility String
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    containerFormat string
    The container format. Must be one of ami, ari, aki, bare, ovf.
    diskFormat string
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    hwFirmwareType string

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    imageCachePath string
    imageSourceUrl string
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    imagesImageV2Id string
    A unique ID assigned by Glance.
    localFilePath string
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    minDiskGb number
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    minRamMb number
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name string
    The name of the image.
    protected boolean
    If true, image will not be deletable. Defaults to false.
    region string
    tags string[]
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts ImagesImageV2Timeouts
    visibility string
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    container_format str
    The container format. Must be one of ami, ari, aki, bare, ovf.
    disk_format str
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    hw_firmware_type str

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    image_cache_path str
    image_source_url str
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    images_image_v2_id str
    A unique ID assigned by Glance.
    local_file_path str
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    min_disk_gb float
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    min_ram_mb float
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name str
    The name of the image.
    protected bool
    If true, image will not be deletable. Defaults to false.
    region str
    tags Sequence[str]
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts ImagesImageV2TimeoutsArgs
    visibility str
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    containerFormat String
    The container format. Must be one of ami, ari, aki, bare, ovf.
    diskFormat String
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    hwFirmwareType String

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    imageCachePath String
    imageSourceUrl String
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    imagesImageV2Id String
    A unique ID assigned by Glance.
    localFilePath String
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    minDiskGb Number
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    minRamMb Number
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name String
    The name of the image.
    protected Boolean
    If true, image will not be deletable. Defaults to false.
    region String
    tags List<String>
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts Property Map
    visibility String
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.

    Outputs

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

    Checksum string
    The checksum of the data associated with the image.
    CreatedAt string
    The date the image was created.
    File string
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    Id string
    The provider-assigned unique ID for this managed resource.
    Owner string
    The id of the opentelekomcloud user who owns the image.
    Schema string
    The path to the JSON-schema that represent the image or image
    SizeBytes double
    The size in bytes of the data associated with the image.
    Status string
    The status of the image. It can be queued, active or saving.
    UpdateAt string
    The date the image was last updated.
    Checksum string
    The checksum of the data associated with the image.
    CreatedAt string
    The date the image was created.
    File string
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    Id string
    The provider-assigned unique ID for this managed resource.
    Owner string
    The id of the opentelekomcloud user who owns the image.
    Schema string
    The path to the JSON-schema that represent the image or image
    SizeBytes float64
    The size in bytes of the data associated with the image.
    Status string
    The status of the image. It can be queued, active or saving.
    UpdateAt string
    The date the image was last updated.
    checksum String
    The checksum of the data associated with the image.
    createdAt String
    The date the image was created.
    file String
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    id String
    The provider-assigned unique ID for this managed resource.
    owner String
    The id of the opentelekomcloud user who owns the image.
    schema String
    The path to the JSON-schema that represent the image or image
    sizeBytes Double
    The size in bytes of the data associated with the image.
    status String
    The status of the image. It can be queued, active or saving.
    updateAt String
    The date the image was last updated.
    checksum string
    The checksum of the data associated with the image.
    createdAt string
    The date the image was created.
    file string
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    id string
    The provider-assigned unique ID for this managed resource.
    owner string
    The id of the opentelekomcloud user who owns the image.
    schema string
    The path to the JSON-schema that represent the image or image
    sizeBytes number
    The size in bytes of the data associated with the image.
    status string
    The status of the image. It can be queued, active or saving.
    updateAt string
    The date the image was last updated.
    checksum str
    The checksum of the data associated with the image.
    created_at str
    The date the image was created.
    file str
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    id str
    The provider-assigned unique ID for this managed resource.
    owner str
    The id of the opentelekomcloud user who owns the image.
    schema str
    The path to the JSON-schema that represent the image or image
    size_bytes float
    The size in bytes of the data associated with the image.
    status str
    The status of the image. It can be queued, active or saving.
    update_at str
    The date the image was last updated.
    checksum String
    The checksum of the data associated with the image.
    createdAt String
    The date the image was created.
    file String
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    id String
    The provider-assigned unique ID for this managed resource.
    owner String
    The id of the opentelekomcloud user who owns the image.
    schema String
    The path to the JSON-schema that represent the image or image
    sizeBytes Number
    The size in bytes of the data associated with the image.
    status String
    The status of the image. It can be queued, active or saving.
    updateAt String
    The date the image was last updated.

    Look up Existing ImagesImageV2 Resource

    Get an existing ImagesImageV2 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?: ImagesImageV2State, opts?: CustomResourceOptions): ImagesImageV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            checksum: Optional[str] = None,
            container_format: Optional[str] = None,
            created_at: Optional[str] = None,
            disk_format: Optional[str] = None,
            file: Optional[str] = None,
            hw_firmware_type: Optional[str] = None,
            image_cache_path: Optional[str] = None,
            image_source_url: Optional[str] = None,
            images_image_v2_id: Optional[str] = None,
            local_file_path: Optional[str] = None,
            min_disk_gb: Optional[float] = None,
            min_ram_mb: Optional[float] = None,
            name: Optional[str] = None,
            owner: Optional[str] = None,
            protected: Optional[bool] = None,
            region: Optional[str] = None,
            schema: Optional[str] = None,
            size_bytes: Optional[float] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[ImagesImageV2TimeoutsArgs] = None,
            update_at: Optional[str] = None,
            visibility: Optional[str] = None) -> ImagesImageV2
    func GetImagesImageV2(ctx *Context, name string, id IDInput, state *ImagesImageV2State, opts ...ResourceOption) (*ImagesImageV2, error)
    public static ImagesImageV2 Get(string name, Input<string> id, ImagesImageV2State? state, CustomResourceOptions? opts = null)
    public static ImagesImageV2 get(String name, Output<String> id, ImagesImageV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:ImagesImageV2    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:
    Checksum string
    The checksum of the data associated with the image.
    ContainerFormat string
    The container format. Must be one of ami, ari, aki, bare, ovf.
    CreatedAt string
    The date the image was created.
    DiskFormat string
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    File string
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    HwFirmwareType string

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    ImageCachePath string
    ImageSourceUrl string
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    ImagesImageV2Id string
    A unique ID assigned by Glance.
    LocalFilePath string
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    MinDiskGb double
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    MinRamMb double
    Amount of ram (in MB) required to boot image. Defauts to 0.
    Name string
    The name of the image.
    Owner string
    The id of the opentelekomcloud user who owns the image.
    Protected bool
    If true, image will not be deletable. Defaults to false.
    Region string
    Schema string
    The path to the JSON-schema that represent the image or image
    SizeBytes double
    The size in bytes of the data associated with the image.
    Status string
    The status of the image. It can be queued, active or saving.
    Tags List<string>
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    Timeouts ImagesImageV2Timeouts
    UpdateAt string
    The date the image was last updated.
    Visibility string
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    Checksum string
    The checksum of the data associated with the image.
    ContainerFormat string
    The container format. Must be one of ami, ari, aki, bare, ovf.
    CreatedAt string
    The date the image was created.
    DiskFormat string
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    File string
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    HwFirmwareType string

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    ImageCachePath string
    ImageSourceUrl string
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    ImagesImageV2Id string
    A unique ID assigned by Glance.
    LocalFilePath string
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    MinDiskGb float64
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    MinRamMb float64
    Amount of ram (in MB) required to boot image. Defauts to 0.
    Name string
    The name of the image.
    Owner string
    The id of the opentelekomcloud user who owns the image.
    Protected bool
    If true, image will not be deletable. Defaults to false.
    Region string
    Schema string
    The path to the JSON-schema that represent the image or image
    SizeBytes float64
    The size in bytes of the data associated with the image.
    Status string
    The status of the image. It can be queued, active or saving.
    Tags []string
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    Timeouts ImagesImageV2TimeoutsArgs
    UpdateAt string
    The date the image was last updated.
    Visibility string
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    checksum String
    The checksum of the data associated with the image.
    containerFormat String
    The container format. Must be one of ami, ari, aki, bare, ovf.
    createdAt String
    The date the image was created.
    diskFormat String
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    file String
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    hwFirmwareType String

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    imageCachePath String
    imageSourceUrl String
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    imagesImageV2Id String
    A unique ID assigned by Glance.
    localFilePath String
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    minDiskGb Double
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    minRamMb Double
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name String
    The name of the image.
    owner String
    The id of the opentelekomcloud user who owns the image.
    protected_ Boolean
    If true, image will not be deletable. Defaults to false.
    region String
    schema String
    The path to the JSON-schema that represent the image or image
    sizeBytes Double
    The size in bytes of the data associated with the image.
    status String
    The status of the image. It can be queued, active or saving.
    tags List<String>
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts ImagesImageV2Timeouts
    updateAt String
    The date the image was last updated.
    visibility String
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    checksum string
    The checksum of the data associated with the image.
    containerFormat string
    The container format. Must be one of ami, ari, aki, bare, ovf.
    createdAt string
    The date the image was created.
    diskFormat string
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    file string
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    hwFirmwareType string

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    imageCachePath string
    imageSourceUrl string
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    imagesImageV2Id string
    A unique ID assigned by Glance.
    localFilePath string
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    minDiskGb number
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    minRamMb number
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name string
    The name of the image.
    owner string
    The id of the opentelekomcloud user who owns the image.
    protected boolean
    If true, image will not be deletable. Defaults to false.
    region string
    schema string
    The path to the JSON-schema that represent the image or image
    sizeBytes number
    The size in bytes of the data associated with the image.
    status string
    The status of the image. It can be queued, active or saving.
    tags string[]
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts ImagesImageV2Timeouts
    updateAt string
    The date the image was last updated.
    visibility string
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    checksum str
    The checksum of the data associated with the image.
    container_format str
    The container format. Must be one of ami, ari, aki, bare, ovf.
    created_at str
    The date the image was created.
    disk_format str
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    file str
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    hw_firmware_type str

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    image_cache_path str
    image_source_url str
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    images_image_v2_id str
    A unique ID assigned by Glance.
    local_file_path str
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    min_disk_gb float
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    min_ram_mb float
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name str
    The name of the image.
    owner str
    The id of the opentelekomcloud user who owns the image.
    protected bool
    If true, image will not be deletable. Defaults to false.
    region str
    schema str
    The path to the JSON-schema that represent the image or image
    size_bytes float
    The size in bytes of the data associated with the image.
    status str
    The status of the image. It can be queued, active or saving.
    tags Sequence[str]
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts ImagesImageV2TimeoutsArgs
    update_at str
    The date the image was last updated.
    visibility str
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.
    checksum String
    The checksum of the data associated with the image.
    containerFormat String
    The container format. Must be one of ami, ari, aki, bare, ovf.
    createdAt String
    The date the image was created.
    diskFormat String
    The disk format. Must be one of ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso.
    file String
    the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
    hwFirmwareType String

    Specifies the boot mode. The value can be bios or uefi.

    Note: The properties attribute handling in the gophercloud library is currently buggy and needs to be fixed before being implemented in this resource.

    imageCachePath String
    imageSourceUrl String
    This is the url of the raw image that will be downloaded in the image_cache_path before being uploaded to Glance. Glance is able to download image from internet but the gophercloud library does not yet provide a way to do so. Conflicts with local_file_path.
    imagesImageV2Id String
    A unique ID assigned by Glance.
    localFilePath String
    This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url.
    minDiskGb Number
    Amount of disk space (in GB) required to boot image. Defaults to 0.
    minRamMb Number
    Amount of ram (in MB) required to boot image. Defauts to 0.
    name String
    The name of the image.
    owner String
    The id of the opentelekomcloud user who owns the image.
    protected Boolean
    If true, image will not be deletable. Defaults to false.
    region String
    schema String
    The path to the JSON-schema that represent the image or image
    sizeBytes Number
    The size in bytes of the data associated with the image.
    status String
    The status of the image. It can be queued, active or saving.
    tags List<String>
    The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
    timeouts Property Map
    updateAt String
    The date the image was last updated.
    visibility String
    The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenTelekomCloud cloud.

    Supporting Types

    ImagesImageV2Timeouts, ImagesImageV2TimeoutsArgs

    Create string
    Create string
    create String
    create string
    create str
    create String

    Import

    Images can be imported using the id, e.g.

    $ pulumi import opentelekomcloud:index/imagesImageV2:ImagesImageV2 rancheros 89c60255-9bd6-460c-822a-e2b959ede9d2
    

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

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud