oci.Core.getImages
Explore with Pulumi AI
This data source provides the list of Images in Oracle Cloud Infrastructure Core service.
Lists a subset of images available in the specified compartment, including platform images and custom images. The list of platform images includes the three most recently published versions of each major distribution. The list does not support filtering based on image tags.
The list of images returned is ordered to first show the recent platform images, then all of the custom images.
Caution: Platform images are refreshed regularly. When new images are released, older versions are replaced. The image OCIDs remain available, but when the platform image is replaced, the image OCIDs are no longer returned as part of the platform image list.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testImages = oci.Core.getImages({
compartmentId: compartmentId,
displayName: imageDisplayName,
operatingSystem: imageOperatingSystem,
operatingSystemVersion: imageOperatingSystemVersion,
shape: imageShape,
state: imageState,
sortBy: imageSortBy,
sortOrder: imageSortOrder,
});
import pulumi
import pulumi_oci as oci
test_images = oci.Core.get_images(compartment_id=compartment_id,
display_name=image_display_name,
operating_system=image_operating_system,
operating_system_version=image_operating_system_version,
shape=image_shape,
state=image_state,
sort_by=image_sort_by,
sort_order=image_sort_order)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.GetImages(ctx, &core.GetImagesArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(imageDisplayName),
OperatingSystem: pulumi.StringRef(imageOperatingSystem),
OperatingSystemVersion: pulumi.StringRef(imageOperatingSystemVersion),
Shape: pulumi.StringRef(imageShape),
State: pulumi.StringRef(imageState),
SortBy: pulumi.StringRef(imageSortBy),
SortOrder: pulumi.StringRef(imageSortOrder),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testImages = Oci.Core.GetImages.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = imageDisplayName,
OperatingSystem = imageOperatingSystem,
OperatingSystemVersion = imageOperatingSystemVersion,
Shape = imageShape,
State = imageState,
SortBy = imageSortBy,
SortOrder = imageSortOrder,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetImagesArgs;
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) {
final var testImages = CoreFunctions.getImages(GetImagesArgs.builder()
.compartmentId(compartmentId)
.displayName(imageDisplayName)
.operatingSystem(imageOperatingSystem)
.operatingSystemVersion(imageOperatingSystemVersion)
.shape(imageShape)
.state(imageState)
.sortBy(imageSortBy)
.sortOrder(imageSortOrder)
.build());
}
}
variables:
testImages:
fn::invoke:
function: oci:Core:getImages
arguments:
compartmentId: ${compartmentId}
displayName: ${imageDisplayName}
operatingSystem: ${imageOperatingSystem}
operatingSystemVersion: ${imageOperatingSystemVersion}
shape: ${imageShape}
state: ${imageState}
sortBy: ${imageSortBy}
sortOrder: ${imageSortOrder}
Using getImages
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getImages(args: GetImagesArgs, opts?: InvokeOptions): Promise<GetImagesResult>
function getImagesOutput(args: GetImagesOutputArgs, opts?: InvokeOptions): Output<GetImagesResult>
def get_images(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_core.GetImagesFilter]] = None,
operating_system: Optional[str] = None,
operating_system_version: Optional[str] = None,
shape: Optional[str] = None,
sort_by: Optional[str] = None,
sort_order: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetImagesResult
def get_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetImagesFilterArgs]]]] = None,
operating_system: Optional[pulumi.Input[str]] = None,
operating_system_version: Optional[pulumi.Input[str]] = None,
shape: Optional[pulumi.Input[str]] = None,
sort_by: Optional[pulumi.Input[str]] = None,
sort_order: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetImagesResult]
func GetImages(ctx *Context, args *GetImagesArgs, opts ...InvokeOption) (*GetImagesResult, error)
func GetImagesOutput(ctx *Context, args *GetImagesOutputArgs, opts ...InvokeOption) GetImagesResultOutput
> Note: This function is named GetImages
in the Go SDK.
public static class GetImages
{
public static Task<GetImagesResult> InvokeAsync(GetImagesArgs args, InvokeOptions? opts = null)
public static Output<GetImagesResult> Invoke(GetImagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetImagesResult> getImages(GetImagesArgs args, InvokeOptions options)
public static Output<GetImagesResult> getImages(GetImagesArgs args, InvokeOptions options)
fn::invoke:
function: oci:Core/getImages:getImages
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
Changes to this property will trigger replacement.
Images Filter> - Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Shape string
- Shape name.
- Sort
By string - Sort the resources returned, by creation time or display name. Example
TIMECREATED
orDISPLAYNAME
. - Sort
Order string - The sort order to use, either ascending (
ASC
) or descending (DESC
). - State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id This property is required. string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
Changes to this property will trigger replacement.
Images Filter - Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Shape string
- Shape name.
- Sort
By string - Sort the resources returned, by creation time or display name. Example
TIMECREATED
orDISPLAYNAME
. - Sort
Order string - The sort order to use, either ascending (
ASC
) or descending (DESC
). - State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id This property is required. String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
Changes to this property will trigger replacement.
Images Filter> - operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- shape String
- Shape name.
- sort
By String - Sort the resources returned, by creation time or display name. Example
TIMECREATED
orDISPLAYNAME
. - sort
Order String - The sort order to use, either ascending (
ASC
) or descending (DESC
). - state String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id This property is required. string - The OCID of the compartment.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Changes to this property will trigger replacement.
Images Filter[] - operating
System string - The image's operating system. Example:
Oracle Linux
- operating
System stringVersion - The image's operating system version. Example:
7.2
- shape string
- Shape name.
- sort
By string - Sort the resources returned, by creation time or display name. Example
TIMECREATED
orDISPLAYNAME
. - sort
Order string - The sort order to use, either ascending (
ASC
) or descending (DESC
). - state string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id This property is required. str - The OCID of the compartment.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Changes to this property will trigger replacement.
Get Images Filter] - operating_
system str - The image's operating system. Example:
Oracle Linux
- operating_
system_ strversion - The image's operating system version. Example:
7.2
- shape str
- Shape name.
- sort_
by str - Sort the resources returned, by creation time or display name. Example
TIMECREATED
orDISPLAYNAME
. - sort_
order str - The sort order to use, either ascending (
ASC
) or descending (DESC
). - state str
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id This property is required. String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
Changes to this property will trigger replacement.
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- shape String
- Shape name.
- sort
By String - Sort the resources returned, by creation time or display name. Example
TIMECREATED
orDISPLAYNAME
. - sort
Order String - The sort order to use, either ascending (
ASC
) or descending (DESC
). - state String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
getImages Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the instance you want to use as the basis for the image.
- Id string
- The provider-assigned unique ID for this managed resource.
- Images
List<Get
Images Image> - The list of images.
- Display
Name string - A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Images Filter> - Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Shape string
- Sort
By string - Sort
Order string - State string
- The current state of the image.
- Compartment
Id string - The OCID of the compartment containing the instance you want to use as the basis for the image.
- Id string
- The provider-assigned unique ID for this managed resource.
- Images
[]Get
Images Image - The list of images.
- Display
Name string - A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Images Filter - Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Shape string
- Sort
By string - Sort
Order string - State string
- The current state of the image.
- compartment
Id String - The OCID of the compartment containing the instance you want to use as the basis for the image.
- id String
- The provider-assigned unique ID for this managed resource.
- images
List<Get
Images Image> - The list of images.
- display
Name String - A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Images Filter> - operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- shape String
- sort
By String - sort
Order String - state String
- The current state of the image.
- compartment
Id string - The OCID of the compartment containing the instance you want to use as the basis for the image.
- id string
- The provider-assigned unique ID for this managed resource.
- images
Get
Images Image[] - The list of images.
- display
Name string - A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Images Filter[] - operating
System string - The image's operating system. Example:
Oracle Linux
- operating
System stringVersion - The image's operating system version. Example:
7.2
- shape string
- sort
By string - sort
Order string - state string
- The current state of the image.
- compartment_
id str - The OCID of the compartment containing the instance you want to use as the basis for the image.
- id str
- The provider-assigned unique ID for this managed resource.
- images
Sequence[core.
Get Images Image] - The list of images.
- display_
name str - A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[core.
Get Images Filter] - operating_
system str - The image's operating system. Example:
Oracle Linux
- operating_
system_ strversion - The image's operating system version. Example:
7.2
- shape str
- sort_
by str - sort_
order str - state str
- The current state of the image.
- compartment
Id String - The OCID of the compartment containing the instance you want to use as the basis for the image.
- id String
- The provider-assigned unique ID for this managed resource.
- images List<Property Map>
- The list of images.
- display
Name String - A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters List<Property Map>
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- shape String
- sort
By String - sort
Order String - state String
- The current state of the image.
Supporting Types
GetImagesFilter
GetImagesImage
- Agent
Features This property is required. List<GetImages Image Agent Feature> - Oracle Cloud Agent features supported on the image.
- Base
Image Id This property is required. string - The OCID of the image originally used to launch the instance.
- Billable
Size In Gbs This property is required. string - The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example:
100
- Compartment
Id This property is required. string - The OCID of the compartment.
- Create
Image Allowed This property is required. bool - Whether instances launched with this image can be used to create new images. For example, you cannot create an image of an Oracle Database instance. Example:
true
This property is required. Dictionary<string, string>- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name This property is required. string - A filter to return only resources that match the given display name exactly.
This property is required. Dictionary<string, string>- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id
This property is required. string - The OCID of the image.
- Image
Source Details This property is required. List<GetImages Image Image Source Detail> - Instance
Id This property is required. string - Launch
Mode This property is required. string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- Launch
Options This property is required. List<GetImages Image Launch Option> - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- Listing
Type This property is required. string - The listing type of the image. The default value is "NONE".
- Operating
System This property is required. string - The image's operating system. Example:
Oracle Linux
- Operating
System Version This property is required. string - The image's operating system version. Example:
7.2
- Size
In Mbs This property is required. string - The boot volume size for an instance launched from this image (1 MB = 1,048,576 bytes). Note this is not the same as the size of the image when it was exported or the actual size of the image. Example:
47694
- State
This property is required. string - A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- Time
Created This property is required. string - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Agent
Features This property is required. []GetImages Image Agent Feature - Oracle Cloud Agent features supported on the image.
- Base
Image Id This property is required. string - The OCID of the image originally used to launch the instance.
- Billable
Size In Gbs This property is required. string - The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example:
100
- Compartment
Id This property is required. string - The OCID of the compartment.
- Create
Image Allowed This property is required. bool - Whether instances launched with this image can be used to create new images. For example, you cannot create an image of an Oracle Database instance. Example:
true
This property is required. map[string]string- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name This property is required. string - A filter to return only resources that match the given display name exactly.
This property is required. map[string]string- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id
This property is required. string - The OCID of the image.
- Image
Source Details This property is required. []GetImages Image Image Source Detail - Instance
Id This property is required. string - Launch
Mode This property is required. string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- Launch
Options This property is required. []GetImages Image Launch Option - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- Listing
Type This property is required. string - The listing type of the image. The default value is "NONE".
- Operating
System This property is required. string - The image's operating system. Example:
Oracle Linux
- Operating
System Version This property is required. string - The image's operating system version. Example:
7.2
- Size
In Mbs This property is required. string - The boot volume size for an instance launched from this image (1 MB = 1,048,576 bytes). Note this is not the same as the size of the image when it was exported or the actual size of the image. Example:
47694
- State
This property is required. string - A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- Time
Created This property is required. string - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent
Features This property is required. List<GetImages Image Agent Feature> - Oracle Cloud Agent features supported on the image.
- base
Image Id This property is required. String - The OCID of the image originally used to launch the instance.
- billable
Size In Gbs This property is required. String - The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example:
100
- compartment
Id This property is required. String - The OCID of the compartment.
- create
Image Allowed This property is required. Boolean - Whether instances launched with this image can be used to create new images. For example, you cannot create an image of an Oracle Database instance. Example:
true
This property is required. Map<String,String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name This property is required. String - A filter to return only resources that match the given display name exactly.
This property is required. Map<String,String>- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id
This property is required. String - The OCID of the image.
- image
Source Details This property is required. List<GetImages Image Image Source Detail> - instance
Id This property is required. String - launch
Mode This property is required. String - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options This property is required. List<GetImages Image Launch Option> - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- listing
Type This property is required. String - The listing type of the image. The default value is "NONE".
- operating
System This property is required. String - The image's operating system. Example:
Oracle Linux
- operating
System Version This property is required. String - The image's operating system version. Example:
7.2
- size
In Mbs This property is required. String - The boot volume size for an instance launched from this image (1 MB = 1,048,576 bytes). Note this is not the same as the size of the image when it was exported or the actual size of the image. Example:
47694
- state
This property is required. String - A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time
Created This property is required. String - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent
Features This property is required. GetImages Image Agent Feature[] - Oracle Cloud Agent features supported on the image.
- base
Image Id This property is required. string - The OCID of the image originally used to launch the instance.
- billable
Size In Gbs This property is required. string - The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example:
100
- compartment
Id This property is required. string - The OCID of the compartment.
- create
Image Allowed This property is required. boolean - Whether instances launched with this image can be used to create new images. For example, you cannot create an image of an Oracle Database instance. Example:
true
This property is required. {[key: string]: string}- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name This property is required. string - A filter to return only resources that match the given display name exactly.
This property is required. {[key: string]: string}- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id
This property is required. string - The OCID of the image.
- image
Source Details This property is required. GetImages Image Image Source Detail[] - instance
Id This property is required. string - launch
Mode This property is required. string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options This property is required. GetImages Image Launch Option[] - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- listing
Type This property is required. string - The listing type of the image. The default value is "NONE".
- operating
System This property is required. string - The image's operating system. Example:
Oracle Linux
- operating
System Version This property is required. string - The image's operating system version. Example:
7.2
- size
In Mbs This property is required. string - The boot volume size for an instance launched from this image (1 MB = 1,048,576 bytes). Note this is not the same as the size of the image when it was exported or the actual size of the image. Example:
47694
- state
This property is required. string - A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time
Created This property is required. string - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent_
features This property is required. Sequence[core.Get Images Image Agent Feature] - Oracle Cloud Agent features supported on the image.
- base_
image_ id This property is required. str - The OCID of the image originally used to launch the instance.
- billable_
size_ in_ gbs This property is required. str - The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example:
100
- compartment_
id This property is required. str - The OCID of the compartment.
- create_
image_ allowed This property is required. bool - Whether instances launched with this image can be used to create new images. For example, you cannot create an image of an Oracle Database instance. Example:
true
This property is required. Mapping[str, str]- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name This property is required. str - A filter to return only resources that match the given display name exactly.
This property is required. Mapping[str, str]- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id
This property is required. str - The OCID of the image.
- image_
source_ details This property is required. Sequence[core.Get Images Image Image Source Detail] - instance_
id This property is required. str - launch_
mode This property is required. str - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch_
options This property is required. Sequence[core.Get Images Image Launch Option] - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- listing_
type This property is required. str - The listing type of the image. The default value is "NONE".
- operating_
system This property is required. str - The image's operating system. Example:
Oracle Linux
- operating_
system_ version This property is required. str - The image's operating system version. Example:
7.2
- size_
in_ mbs This property is required. str - The boot volume size for an instance launched from this image (1 MB = 1,048,576 bytes). Note this is not the same as the size of the image when it was exported or the actual size of the image. Example:
47694
- state
This property is required. str - A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time_
created This property is required. str - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent
Features This property is required. List<Property Map> - Oracle Cloud Agent features supported on the image.
- base
Image Id This property is required. String - The OCID of the image originally used to launch the instance.
- billable
Size In Gbs This property is required. String - The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example:
100
- compartment
Id This property is required. String - The OCID of the compartment.
- create
Image Allowed This property is required. Boolean - Whether instances launched with this image can be used to create new images. For example, you cannot create an image of an Oracle Database instance. Example:
true
This property is required. Map<String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name This property is required. String - A filter to return only resources that match the given display name exactly.
This property is required. Map<String>- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id
This property is required. String - The OCID of the image.
- image
Source Details This property is required. List<Property Map> - instance
Id This property is required. String - launch
Mode This property is required. String - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options This property is required. List<Property Map> - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- listing
Type This property is required. String - The listing type of the image. The default value is "NONE".
- operating
System This property is required. String - The image's operating system. Example:
Oracle Linux
- operating
System Version This property is required. String - The image's operating system version. Example:
7.2
- size
In Mbs This property is required. String - The boot volume size for an instance launched from this image (1 MB = 1,048,576 bytes). Note this is not the same as the size of the image when it was exported or the actual size of the image. Example:
47694
- state
This property is required. String - A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time
Created This property is required. String - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
GetImagesImageAgentFeature
- Is
Management Supported This property is required. bool - This attribute is not used.
- Is
Monitoring Supported This property is required. bool - This attribute is not used.
- Is
Management Supported This property is required. bool - This attribute is not used.
- Is
Monitoring Supported This property is required. bool - This attribute is not used.
- is
Management Supported This property is required. Boolean - This attribute is not used.
- is
Monitoring Supported This property is required. Boolean - This attribute is not used.
- is
Management Supported This property is required. boolean - This attribute is not used.
- is
Monitoring Supported This property is required. boolean - This attribute is not used.
- is_
management_ supported This property is required. bool - This attribute is not used.
- is_
monitoring_ supported This property is required. bool - This attribute is not used.
- is
Management Supported This property is required. Boolean - This attribute is not used.
- is
Monitoring Supported This property is required. Boolean - This attribute is not used.
GetImagesImageImageSourceDetail
- Bucket
Name This property is required. string - Namespace
Name This property is required. string - Object
Name This property is required. string - Operating
System This property is required. string - The image's operating system. Example:
Oracle Linux
- Operating
System Version This property is required. string - The image's operating system version. Example:
7.2
- Source
Image Type This property is required. string - Source
Type This property is required. string - Source
Uri This property is required. string
- Bucket
Name This property is required. string - Namespace
Name This property is required. string - Object
Name This property is required. string - Operating
System This property is required. string - The image's operating system. Example:
Oracle Linux
- Operating
System Version This property is required. string - The image's operating system version. Example:
7.2
- Source
Image Type This property is required. string - Source
Type This property is required. string - Source
Uri This property is required. string
- bucket
Name This property is required. String - namespace
Name This property is required. String - object
Name This property is required. String - operating
System This property is required. String - The image's operating system. Example:
Oracle Linux
- operating
System Version This property is required. String - The image's operating system version. Example:
7.2
- source
Image Type This property is required. String - source
Type This property is required. String - source
Uri This property is required. String
- bucket
Name This property is required. string - namespace
Name This property is required. string - object
Name This property is required. string - operating
System This property is required. string - The image's operating system. Example:
Oracle Linux
- operating
System Version This property is required. string - The image's operating system version. Example:
7.2
- source
Image Type This property is required. string - source
Type This property is required. string - source
Uri This property is required. string
- bucket_
name This property is required. str - namespace_
name This property is required. str - object_
name This property is required. str - operating_
system This property is required. str - The image's operating system. Example:
Oracle Linux
- operating_
system_ version This property is required. str - The image's operating system version. Example:
7.2
- source_
image_ type This property is required. str - source_
type This property is required. str - source_
uri This property is required. str
- bucket
Name This property is required. String - namespace
Name This property is required. String - object
Name This property is required. String - operating
System This property is required. String - The image's operating system. Example:
Oracle Linux
- operating
System Version This property is required. String - The image's operating system version. Example:
7.2
- source
Image Type This property is required. String - source
Type This property is required. String - source
Uri This property is required. String
GetImagesImageLaunchOption
- Boot
Volume Type This property is required. string - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Firmware
This property is required. string - Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- Is
Consistent Volume Naming Enabled This property is required. bool - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv Encryption In Transit Enabled This property is required. bool - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - Network
Type This property is required. string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- Remote
Data Volume Type This property is required. string - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Boot
Volume Type This property is required. string - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Firmware
This property is required. string - Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- Is
Consistent Volume Naming Enabled This property is required. bool - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv Encryption In Transit Enabled This property is required. bool - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - Network
Type This property is required. string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- Remote
Data Volume Type This property is required. string - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume Type This property is required. String - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware
This property is required. String - Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent Volume Naming Enabled This property is required. Boolean - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv Encryption In Transit Enabled This property is required. Boolean - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network
Type This property is required. String - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data Volume Type This property is required. String - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume Type This property is required. string - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware
This property is required. string - Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent Volume Naming Enabled This property is required. boolean - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv Encryption In Transit Enabled This property is required. boolean - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network
Type This property is required. string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data Volume Type This property is required. string - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot_
volume_ type This property is required. str - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware
This property is required. str - Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is_
consistent_ volume_ naming_ enabled This property is required. bool - Whether to enable consistent volume naming feature. Defaults to false.
- is_
pv_ encryption_ in_ transit_ enabled This property is required. bool - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network_
type This property is required. str - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote_
data_ volume_ type This property is required. str - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume Type This property is required. String - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware
This property is required. String - Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent Volume Naming Enabled This property is required. Boolean - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv Encryption In Transit Enabled This property is required. Boolean - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network
Type This property is required. String - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data Volume Type This property is required. String - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.