opentelekomcloud.ImagesImageV2
Explore with Pulumi AI
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:
- Container
Format string - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - Disk
Format string - The disk format. Must be one of
ami
,ari
,aki
,vhd
,vmdk
,raw
,qcow2
,vdi
,iso
. - Hw
Firmware stringType Specifies the boot mode. The value can be
bios
oruefi
.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 stringPath - Image
Source stringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - Images
Image stringV2Id - A unique ID assigned by Glance.
- Local
File stringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - Min
Disk doubleGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- Min
Ram doubleMb - 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
- 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
Images
Image V2Timeouts - 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 string - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - Disk
Format string - The disk format. Must be one of
ami
,ari
,aki
,vhd
,vmdk
,raw
,qcow2
,vdi
,iso
. - Hw
Firmware stringType Specifies the boot mode. The value can be
bios
oruefi
.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 stringPath - Image
Source stringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - Images
Image stringV2Id - A unique ID assigned by Glance.
- Local
File stringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - Min
Disk float64Gb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- Min
Ram float64Mb - 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
- []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
Images
Image V2Timeouts Args - 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 String - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - disk
Format String - The disk format. Must be one of
ami
,ari
,aki
,vhd
,vmdk
,raw
,qcow2
,vdi
,iso
. - hw
Firmware StringType Specifies the boot mode. The value can be
bios
oruefi
.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 StringPath - image
Source StringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images
Image StringV2Id - A unique ID assigned by Glance.
- local
File StringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min
Disk DoubleGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min
Ram DoubleMb - 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
- 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
Images
Image V2Timeouts - 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 string - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - disk
Format string - The disk format. Must be one of
ami
,ari
,aki
,vhd
,vmdk
,raw
,qcow2
,vdi
,iso
. - hw
Firmware stringType Specifies the boot mode. The value can be
bios
oruefi
.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 stringPath - image
Source stringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images
Image stringV2Id - A unique ID assigned by Glance.
- local
File stringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min
Disk numberGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min
Ram numberMb - 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
- 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
Images
Image V2Timeouts - 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_ strtype Specifies the boot mode. The value can be
bios
oruefi
.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_ strpath - image_
source_ strurl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images_
image_ strv2_ id - A unique ID assigned by Glance.
- local_
file_ strpath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min_
disk_ floatgb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min_
ram_ floatmb - 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
- 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
Images
Image V2Timeouts Args - 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.
- container
Format String - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - disk
Format String - The disk format. Must be one of
ami
,ari
,aki
,vhd
,vmdk
,raw
,qcow2
,vdi
,iso
. - hw
Firmware StringType Specifies the boot mode. The value can be
bios
oruefi
.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 StringPath - image
Source StringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images
Image StringV2Id - A unique ID assigned by Glance.
- local
File StringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min
Disk NumberGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min
Ram NumberMb - 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
- 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.
- Created
At 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
- Size
Bytes double - The size in bytes of the data associated with the image.
- Status string
- The status of the image. It can be
queued
,active
orsaving
. - Update
At string - The date the image was last updated.
- Checksum string
- The checksum of the data associated with the image.
- Created
At 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
- Size
Bytes float64 - The size in bytes of the data associated with the image.
- Status string
- The status of the image. It can be
queued
,active
orsaving
. - Update
At string - The date the image was last updated.
- checksum String
- The checksum of the data associated with the image.
- created
At 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
- size
Bytes Double - The size in bytes of the data associated with the image.
- status String
- The status of the image. It can be
queued
,active
orsaving
. - update
At String - The date the image was last updated.
- checksum string
- The checksum of the data associated with the image.
- created
At 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
- size
Bytes number - The size in bytes of the data associated with the image.
- status string
- The status of the image. It can be
queued
,active
orsaving
. - update
At 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
orsaving
. - update_
at str - The date the image was last updated.
- checksum String
- The checksum of the data associated with the image.
- created
At 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
- size
Bytes Number - The size in bytes of the data associated with the image.
- status String
- The status of the image. It can be
queued
,active
orsaving
. - update
At 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.
- Checksum string
- The checksum of the data associated with the image.
- Container
Format string - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - Created
At string - The date the image was created.
- Disk
Format 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.
- Hw
Firmware stringType Specifies the boot mode. The value can be
bios
oruefi
.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 stringPath - Image
Source stringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - Images
Image stringV2Id - A unique ID assigned by Glance.
- Local
File stringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - Min
Disk doubleGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- Min
Ram doubleMb - 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
- Size
Bytes double - The size in bytes of the data associated with the image.
- Status string
- The status of the image. It can be
queued
,active
orsaving
. - 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
Images
Image V2Timeouts - Update
At 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.
- Container
Format string - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - Created
At string - The date the image was created.
- Disk
Format 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.
- Hw
Firmware stringType Specifies the boot mode. The value can be
bios
oruefi
.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 stringPath - Image
Source stringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - Images
Image stringV2Id - A unique ID assigned by Glance.
- Local
File stringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - Min
Disk float64Gb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- Min
Ram float64Mb - 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
- Size
Bytes float64 - The size in bytes of the data associated with the image.
- Status string
- The status of the image. It can be
queued
,active
orsaving
. - []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
Images
Image V2Timeouts Args - Update
At 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.
- container
Format String - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - created
At String - The date the image was created.
- disk
Format 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.
- hw
Firmware StringType Specifies the boot mode. The value can be
bios
oruefi
.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 StringPath - image
Source StringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images
Image StringV2Id - A unique ID assigned by Glance.
- local
File StringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min
Disk DoubleGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min
Ram DoubleMb - 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
- size
Bytes Double - The size in bytes of the data associated with the image.
- status String
- The status of the image. It can be
queued
,active
orsaving
. - 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
Images
Image V2Timeouts - update
At 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.
- container
Format string - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - created
At string - The date the image was created.
- disk
Format 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.
- hw
Firmware stringType Specifies the boot mode. The value can be
bios
oruefi
.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 stringPath - image
Source stringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images
Image stringV2Id - A unique ID assigned by Glance.
- local
File stringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min
Disk numberGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min
Ram numberMb - 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
- size
Bytes number - The size in bytes of the data associated with the image.
- status string
- The status of the image. It can be
queued
,active
orsaving
. - 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
Images
Image V2Timeouts - update
At 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_ strtype Specifies the boot mode. The value can be
bios
oruefi
.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_ strpath - image_
source_ strurl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images_
image_ strv2_ id - A unique ID assigned by Glance.
- local_
file_ strpath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min_
disk_ floatgb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min_
ram_ floatmb - 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
orsaving
. - 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
Images
Image V2Timeouts Args - 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.
- container
Format String - The container format. Must be one of
ami
,ari
,aki
,bare
,ovf
. - created
At String - The date the image was created.
- disk
Format 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.
- hw
Firmware StringType Specifies the boot mode. The value can be
bios
oruefi
.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 StringPath - image
Source StringUrl - 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 thegophercloud
library does not yet provide a way to do so. Conflicts withlocal_file_path
. - images
Image StringV2Id - A unique ID assigned by Glance.
- local
File StringPath - This is the filepath of the raw image file
that will be uploaded to Glance. Conflicts with
image_source_url
. - min
Disk NumberGb - Amount of disk space (in GB) required to boot image. Defaults to 0.
- min
Ram NumberMb - 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
- size
Bytes Number - The size in bytes of the data associated with the image.
- status String
- The status of the image. It can be
queued
,active
orsaving
. - 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
- update
At 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.