1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getImages
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Core.getImages

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: _var.compartment_id,
        displayName: _var.image_display_name,
        operatingSystem: _var.image_operating_system,
        operatingSystemVersion: _var.image_operating_system_version,
        shape: _var.image_shape,
        state: _var.image_state,
        sortBy: _var.image_sort_by,
        sortOrder: _var.image_sort_order,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_images = oci.Core.get_images(compartment_id=var["compartment_id"],
        display_name=var["image_display_name"],
        operating_system=var["image_operating_system"],
        operating_system_version=var["image_operating_system_version"],
        shape=var["image_shape"],
        state=var["image_state"],
        sort_by=var["image_sort_by"],
        sort_order=var["image_sort_order"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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:          _var.Compartment_id,
    			DisplayName:            pulumi.StringRef(_var.Image_display_name),
    			OperatingSystem:        pulumi.StringRef(_var.Image_operating_system),
    			OperatingSystemVersion: pulumi.StringRef(_var.Image_operating_system_version),
    			Shape:                  pulumi.StringRef(_var.Image_shape),
    			State:                  pulumi.StringRef(_var.Image_state),
    			SortBy:                 pulumi.StringRef(_var.Image_sort_by),
    			SortOrder:              pulumi.StringRef(_var.Image_sort_order),
    		}, 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 = @var.Compartment_id,
            DisplayName = @var.Image_display_name,
            OperatingSystem = @var.Image_operating_system,
            OperatingSystemVersion = @var.Image_operating_system_version,
            Shape = @var.Image_shape,
            State = @var.Image_state,
            SortBy = @var.Image_sort_by,
            SortOrder = @var.Image_sort_order,
        });
    
    });
    
    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(var_.compartment_id())
                .displayName(var_.image_display_name())
                .operatingSystem(var_.image_operating_system())
                .operatingSystemVersion(var_.image_operating_system_version())
                .shape(var_.image_shape())
                .state(var_.image_state())
                .sortBy(var_.image_sort_by())
                .sortOrder(var_.image_sort_order())
                .build());
    
        }
    }
    
    variables:
      testImages:
        fn::invoke:
          Function: oci:Core:getImages
          Arguments:
            compartmentId: ${var.compartment_id}
            displayName: ${var.image_display_name}
            operatingSystem: ${var.image_operating_system}
            operatingSystemVersion: ${var.image_operating_system_version}
            shape: ${var.image_shape}
            state: ${var.image_state}
            sortBy: ${var.image_sort_by}
            sortOrder: ${var.image_sort_order}
    

    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:

    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetImagesFilter>
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    Shape string
    Shape name.
    SortBy string
    Sort the resources returned, by creation time or display name. Example TIMECREATED or DISPLAYNAME.
    SortOrder 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.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetImagesFilter
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    Shape string
    Shape name.
    SortBy string
    Sort the resources returned, by creation time or display name. Example TIMECREATED or DISPLAYNAME.
    SortOrder 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.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetImagesFilter>
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    shape String
    Shape name.
    sortBy String
    Sort the resources returned, by creation time or display name. Example TIMECREATED or DISPLAYNAME.
    sortOrder 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.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetImagesFilter[]
    operatingSystem string
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion string
    The image's operating system version. Example: 7.2
    shape string
    Shape name.
    sortBy string
    Sort the resources returned, by creation time or display name. Example TIMECREATED or DISPLAYNAME.
    sortOrder 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.GetImagesFilter]
    operating_system str
    The image's operating system. Example: Oracle Linux
    operating_system_version str
    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 or DISPLAYNAME.
    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.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    shape String
    Shape name.
    sortBy String
    Sort the resources returned, by creation time or display name. Example TIMECREATED or DISPLAYNAME.
    sortOrder 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:

    CompartmentId 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<GetImagesImage>
    The list of images.
    DisplayName 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<GetImagesFilter>
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    Shape string
    SortBy string
    SortOrder string
    State string
    The current state of the image.
    CompartmentId 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 []GetImagesImage
    The list of images.
    DisplayName string
    A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters []GetImagesFilter
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    Shape string
    SortBy string
    SortOrder string
    State string
    The current state of the image.
    compartmentId 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<GetImagesImage>
    The list of images.
    displayName 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<GetImagesFilter>
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    shape String
    sortBy String
    sortOrder String
    state String
    The current state of the image.
    compartmentId 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 GetImagesImage[]
    The list of images.
    displayName string
    A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters GetImagesFilter[]
    operatingSystem string
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion string
    The image's operating system version. Example: 7.2
    shape string
    sortBy string
    sortOrder 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.GetImagesImage]
    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.GetImagesFilter]
    operating_system str
    The image's operating system. Example: Oracle Linux
    operating_system_version str
    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.
    compartmentId 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.
    displayName 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>
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    shape String
    sortBy String
    sortOrder String
    state String
    The current state of the image.

    Supporting Types

    GetImagesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetImagesImage

    AgentFeatures List<GetImagesImageAgentFeature>
    Oracle Cloud Agent features supported on the image.
    BaseImageId string
    The OCID of the image originally used to launch the instance.
    BillableSizeInGbs string
    The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example: 100
    CompartmentId string
    The OCID of the compartment.
    CreateImageAllowed 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
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FreeformTags Dictionary<string, object>
    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.
    ImageSourceDetails List<GetImagesImageImageSourceDetail>
    InstanceId string
    LaunchMode string
    Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
    LaunchOptions List<GetImagesImageLaunchOption>
    Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
    ListingType string
    The listing type of the image. The default value is "NONE".
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    SizeInMbs 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 string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The date and time the image was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    AgentFeatures []GetImagesImageAgentFeature
    Oracle Cloud Agent features supported on the image.
    BaseImageId string
    The OCID of the image originally used to launch the instance.
    BillableSizeInGbs string
    The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example: 100
    CompartmentId string
    The OCID of the compartment.
    CreateImageAllowed 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
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FreeformTags map[string]interface{}
    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.
    ImageSourceDetails []GetImagesImageImageSourceDetail
    InstanceId string
    LaunchMode string
    Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
    LaunchOptions []GetImagesImageLaunchOption
    Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
    ListingType string
    The listing type of the image. The default value is "NONE".
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    SizeInMbs 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 string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The date and time the image was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    agentFeatures List<GetImagesImageAgentFeature>
    Oracle Cloud Agent features supported on the image.
    baseImageId String
    The OCID of the image originally used to launch the instance.
    billableSizeInGbs String
    The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example: 100
    compartmentId String
    The OCID of the compartment.
    createImageAllowed 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
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    freeformTags Map<String,Object>
    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.
    imageSourceDetails List<GetImagesImageImageSourceDetail>
    instanceId String
    launchMode String
    Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
    launchOptions List<GetImagesImageLaunchOption>
    Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
    listingType String
    The listing type of the image. The default value is "NONE".
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    sizeInMbs 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 String
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    timeCreated String
    The date and time the image was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    agentFeatures GetImagesImageAgentFeature[]
    Oracle Cloud Agent features supported on the image.
    baseImageId string
    The OCID of the image originally used to launch the instance.
    billableSizeInGbs string
    The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example: 100
    compartmentId string
    The OCID of the compartment.
    createImageAllowed 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
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A filter to return only resources that match the given display name exactly.
    freeformTags {[key: string]: any}
    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.
    imageSourceDetails GetImagesImageImageSourceDetail[]
    instanceId string
    launchMode string
    Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
    launchOptions GetImagesImageLaunchOption[]
    Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
    listingType string
    The listing type of the image. The default value is "NONE".
    operatingSystem string
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion string
    The image's operating system version. Example: 7.2
    sizeInMbs 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 string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    timeCreated 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.GetImagesImageAgentFeature]
    Oracle Cloud Agent features supported on the image.
    base_image_id str
    The OCID of the image originally used to launch the instance.
    billable_size_in_gbs 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 str
    The OCID of the compartment.
    create_image_allowed 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
    defined_tags Mapping[str, Any]
    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.
    freeform_tags Mapping[str, Any]
    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_details Sequence[core.GetImagesImageImageSourceDetail]
    instance_id str
    launch_mode str
    Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
    launch_options Sequence[core.GetImagesImageLaunchOption]
    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_version str
    The image's operating system version. Example: 7.2
    size_in_mbs 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 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
    agentFeatures List<Property Map>
    Oracle Cloud Agent features supported on the image.
    baseImageId String
    The OCID of the image originally used to launch the instance.
    billableSizeInGbs String
    The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes). Example: 100
    compartmentId String
    The OCID of the compartment.
    createImageAllowed 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
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    freeformTags Map<Any>
    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.
    imageSourceDetails List<Property Map>
    instanceId String
    launchMode String
    Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
    launchOptions List<Property Map>
    Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
    listingType String
    The listing type of the image. The default value is "NONE".
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    sizeInMbs 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 String
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    timeCreated String
    The date and time the image was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    GetImagesImageAgentFeature

    IsManagementSupported bool
    This attribute is not used.
    IsMonitoringSupported bool
    This attribute is not used.
    IsManagementSupported bool
    This attribute is not used.
    IsMonitoringSupported bool
    This attribute is not used.
    isManagementSupported Boolean
    This attribute is not used.
    isMonitoringSupported Boolean
    This attribute is not used.
    isManagementSupported boolean
    This attribute is not used.
    isMonitoringSupported boolean
    This attribute is not used.
    is_management_supported bool
    This attribute is not used.
    is_monitoring_supported bool
    This attribute is not used.
    isManagementSupported Boolean
    This attribute is not used.
    isMonitoringSupported Boolean
    This attribute is not used.

    GetImagesImageImageSourceDetail

    BucketName string
    NamespaceName string
    ObjectName string
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    SourceImageType string
    SourceType string
    SourceUri string
    BucketName string
    NamespaceName string
    ObjectName string
    OperatingSystem string
    The image's operating system. Example: Oracle Linux
    OperatingSystemVersion string
    The image's operating system version. Example: 7.2
    SourceImageType string
    SourceType string
    SourceUri string
    bucketName String
    namespaceName String
    objectName String
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    sourceImageType String
    sourceType String
    sourceUri String
    bucketName string
    namespaceName string
    objectName string
    operatingSystem string
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion string
    The image's operating system version. Example: 7.2
    sourceImageType string
    sourceType string
    sourceUri string
    bucket_name str
    namespace_name str
    object_name str
    operating_system str
    The image's operating system. Example: Oracle Linux
    operating_system_version str
    The image's operating system version. Example: 7.2
    source_image_type str
    source_type str
    source_uri str
    bucketName String
    namespaceName String
    objectName String
    operatingSystem String
    The image's operating system. Example: Oracle Linux
    operatingSystemVersion String
    The image's operating system version. Example: 7.2
    sourceImageType String
    sourceType String
    sourceUri String

    GetImagesImageLaunchOption

    BootVolumeType string
    Emulation type for the boot volume.
    Firmware string
    Firmware used to boot VM. Select the option that matches your operating system.
    IsConsistentVolumeNamingEnabled bool
    Whether to enable consistent volume naming feature. Defaults to false.
    IsPvEncryptionInTransitEnabled bool
    Deprecated. Instead use isPvEncryptionInTransitEnabled in LaunchInstanceDetails.
    NetworkType string
    Emulation type for the physical network interface card (NIC).
    RemoteDataVolumeType string
    Emulation type for volume.
    BootVolumeType string
    Emulation type for the boot volume.
    Firmware string
    Firmware used to boot VM. Select the option that matches your operating system.
    IsConsistentVolumeNamingEnabled bool
    Whether to enable consistent volume naming feature. Defaults to false.
    IsPvEncryptionInTransitEnabled bool
    Deprecated. Instead use isPvEncryptionInTransitEnabled in LaunchInstanceDetails.
    NetworkType string
    Emulation type for the physical network interface card (NIC).
    RemoteDataVolumeType string
    Emulation type for volume.
    bootVolumeType String
    Emulation type for the boot volume.
    firmware String
    Firmware used to boot VM. Select the option that matches your operating system.
    isConsistentVolumeNamingEnabled Boolean
    Whether to enable consistent volume naming feature. Defaults to false.
    isPvEncryptionInTransitEnabled Boolean
    Deprecated. Instead use isPvEncryptionInTransitEnabled in LaunchInstanceDetails.
    networkType String
    Emulation type for the physical network interface card (NIC).
    remoteDataVolumeType String
    Emulation type for volume.
    bootVolumeType string
    Emulation type for the boot volume.
    firmware string
    Firmware used to boot VM. Select the option that matches your operating system.
    isConsistentVolumeNamingEnabled boolean
    Whether to enable consistent volume naming feature. Defaults to false.
    isPvEncryptionInTransitEnabled boolean
    Deprecated. Instead use isPvEncryptionInTransitEnabled in LaunchInstanceDetails.
    networkType string
    Emulation type for the physical network interface card (NIC).
    remoteDataVolumeType string
    Emulation type for volume.
    boot_volume_type str
    Emulation type for the boot volume.
    firmware str
    Firmware used to boot VM. Select the option that matches your operating system.
    is_consistent_volume_naming_enabled bool
    Whether to enable consistent volume naming feature. Defaults to false.
    is_pv_encryption_in_transit_enabled bool
    Deprecated. Instead use isPvEncryptionInTransitEnabled in LaunchInstanceDetails.
    network_type str
    Emulation type for the physical network interface card (NIC).
    remote_data_volume_type str
    Emulation type for volume.
    bootVolumeType String
    Emulation type for the boot volume.
    firmware String
    Firmware used to boot VM. Select the option that matches your operating system.
    isConsistentVolumeNamingEnabled Boolean
    Whether to enable consistent volume naming feature. Defaults to false.
    isPvEncryptionInTransitEnabled Boolean
    Deprecated. Instead use isPvEncryptionInTransitEnabled in LaunchInstanceDetails.
    networkType String
    Emulation type for the physical network interface card (NIC).
    remoteDataVolumeType String
    Emulation type for volume.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi