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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getImages:getImages
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- 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 string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- 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 String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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
- 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 string - The OCID of the compartment.
- display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- 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 str - The OCID of the compartment.
- display_
name str - A filter to return only resources that match the given display name exactly.
- 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
- 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 String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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
- 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 List<GetImages Image Agent Feature> - Oracle Cloud Agent features supported on the image.
- Base
Image stringId - The OCID of the image originally used to launch the instance.
- Billable
Size stringIn Gbs - 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 string - The OCID of the compartment.
- Create
Image boolAllowed - 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
- 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 string - A filter to return only resources that match the given display name exactly.
- 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 string
- The OCID of the image.
- Image
Source List<GetDetails Images Image Image Source Detail> - Instance
Id string - Launch
Mode 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 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 string - The listing type of the image. The default value is "NONE".
- Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Size
In stringMbs - 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 string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- Time
Created string - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Agent
Features []GetImages Image Agent Feature - Oracle Cloud Agent features supported on the image.
- Base
Image stringId - The OCID of the image originally used to launch the instance.
- Billable
Size stringIn Gbs - 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 string - The OCID of the compartment.
- Create
Image boolAllowed - 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
- 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 string - A filter to return only resources that match the given display name exactly.
- 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 string
- The OCID of the image.
- Image
Source []GetDetails Images Image Image Source Detail - Instance
Id string - Launch
Mode 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 []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 string - The listing type of the image. The default value is "NONE".
- Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Size
In stringMbs - 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 string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- Time
Created string - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent
Features List<GetImages Image Agent Feature> - Oracle Cloud Agent features supported on the image.
- base
Image StringId - The OCID of the image originally used to launch the instance.
- billable
Size StringIn Gbs - 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 String - The OCID of the compartment.
- create
Image BooleanAllowed - 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
- 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 String - A filter to return only resources that match the given display name exactly.
- 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 String
- The OCID of the image.
- image
Source List<GetDetails Images Image Image Source Detail> - instance
Id String - launch
Mode 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 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 String - The listing type of the image. The default value is "NONE".
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- size
In StringMbs - 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 String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time
Created String - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent
Features GetImages Image Agent Feature[] - Oracle Cloud Agent features supported on the image.
- base
Image stringId - The OCID of the image originally used to launch the instance.
- billable
Size stringIn Gbs - 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 string - The OCID of the compartment.
- create
Image booleanAllowed - 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
- {[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 string - A filter to return only resources that match the given display name exactly.
- {[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 string
- The OCID of the image.
- image
Source GetDetails Images Image Image Source Detail[] - instance
Id string - launch
Mode 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 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 string - The listing type of the image. The default value is "NONE".
- operating
System string - The image's operating system. Example:
Oracle Linux
- operating
System stringVersion - The image's operating system version. Example:
7.2
- size
In stringMbs - 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 string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time
Created string - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent_
features Sequence[core.Get Images Image Agent Feature] - Oracle Cloud Agent features supported on the image.
- base_
image_ strid - The OCID of the image originally used to launch the instance.
- billable_
size_ strin_ gbs - 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 str - The OCID of the compartment.
- create_
image_ boolallowed - 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
- 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 str - A filter to return only resources that match the given display name exactly.
- 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 str
- The OCID of the image.
- image_
source_ Sequence[core.details Get Images Image Image Source Detail] - instance_
id str - launch_
mode 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 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 str - The listing type of the image. The default value is "NONE".
- operating_
system str - The image's operating system. Example:
Oracle Linux
- operating_
system_ strversion - The image's operating system version. Example:
7.2
- size_
in_ strmbs - 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 str
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time_
created str - The date and time the image was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- agent
Features List<Property Map> - Oracle Cloud Agent features supported on the image.
- base
Image StringId - The OCID of the image originally used to launch the instance.
- billable
Size StringIn Gbs - 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 String - The OCID of the compartment.
- create
Image BooleanAllowed - 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
- 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 String - A filter to return only resources that match the given display name exactly.
- 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 String
- The OCID of the image.
- image
Source List<Property Map>Details - instance
Id String - launch
Mode 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 List<Property Map> - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- listing
Type String - The listing type of the image. The default value is "NONE".
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- size
In StringMbs - 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 String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time
Created 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 boolSupported - This attribute is not used.
- Is
Monitoring boolSupported - This attribute is not used.
- Is
Management boolSupported - This attribute is not used.
- Is
Monitoring boolSupported - This attribute is not used.
- is
Management BooleanSupported - This attribute is not used.
- is
Monitoring BooleanSupported - This attribute is not used.
- is
Management booleanSupported - This attribute is not used.
- is
Monitoring booleanSupported - This attribute is not used.
- is_
management_ boolsupported - This attribute is not used.
- is_
monitoring_ boolsupported - This attribute is not used.
- is
Management BooleanSupported - This attribute is not used.
- is
Monitoring BooleanSupported - This attribute is not used.
GetImagesImageImageSourceDetail
- Bucket
Name string - Namespace
Name string - Object
Name string - Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Source
Image stringType - Source
Type string - Source
Uri string
- Bucket
Name string - Namespace
Name string - Object
Name string - Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Source
Image stringType - Source
Type string - Source
Uri string
- bucket
Name String - namespace
Name String - object
Name String - operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- source
Image StringType - source
Type String - source
Uri String
- bucket
Name string - namespace
Name string - object
Name string - operating
System string - The image's operating system. Example:
Oracle Linux
- operating
System stringVersion - The image's operating system version. Example:
7.2
- source
Image stringType - source
Type string - source
Uri string
- bucket_
name str - namespace_
name str - object_
name str - operating_
system str - The image's operating system. Example:
Oracle Linux
- operating_
system_ strversion - The image's operating system version. Example:
7.2
- source_
image_ strtype - source_
type str - source_
uri str
- bucket
Name String - namespace
Name String - object
Name String - operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- source
Image StringType - source
Type String - source
Uri String
GetImagesImageLaunchOption
- Boot
Volume stringType - 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 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 boolVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - Network
Type 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 stringVolume Type - 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 stringType - 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 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 boolVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - Network
Type 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 stringVolume Type - 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 StringType - 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 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 BooleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network
Type 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 StringVolume Type - 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 stringType - 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 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 booleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv booleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network
Type 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 stringVolume Type - 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_ strtype - 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 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_ boolvolume_ naming_ enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is_
pv_ boolencryption_ in_ transit_ enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network_
type 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_ strvolume_ type - 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 StringType - 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 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 BooleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in LaunchInstanceDetails. - network
Type 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 StringVolume Type - 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.