Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getAutonomousDatabaseSoftwareImages
Explore with Pulumi AI
This data source provides the list of Autonomous Database Software Images in Oracle Cloud Infrastructure Database service.
Gets a list of the Autonomous Database Software Images in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousDatabaseSoftwareImages = oci.Database.getAutonomousDatabaseSoftwareImages({
    compartmentId: compartmentId,
    imageShapeFamily: autonomousDatabaseSoftwareImageImageShapeFamily,
    displayName: autonomousDatabaseSoftwareImageDisplayName,
    state: autonomousDatabaseSoftwareImageState,
});
import pulumi
import pulumi_oci as oci
test_autonomous_database_software_images = oci.Database.get_autonomous_database_software_images(compartment_id=compartment_id,
    image_shape_family=autonomous_database_software_image_image_shape_family,
    display_name=autonomous_database_software_image_display_name,
    state=autonomous_database_software_image_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.GetAutonomousDatabaseSoftwareImages(ctx, &database.GetAutonomousDatabaseSoftwareImagesArgs{
			CompartmentId:    compartmentId,
			ImageShapeFamily: autonomousDatabaseSoftwareImageImageShapeFamily,
			DisplayName:      pulumi.StringRef(autonomousDatabaseSoftwareImageDisplayName),
			State:            pulumi.StringRef(autonomousDatabaseSoftwareImageState),
		}, 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 testAutonomousDatabaseSoftwareImages = Oci.Database.GetAutonomousDatabaseSoftwareImages.Invoke(new()
    {
        CompartmentId = compartmentId,
        ImageShapeFamily = autonomousDatabaseSoftwareImageImageShapeFamily,
        DisplayName = autonomousDatabaseSoftwareImageDisplayName,
        State = autonomousDatabaseSoftwareImageState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseSoftwareImagesArgs;
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 testAutonomousDatabaseSoftwareImages = DatabaseFunctions.getAutonomousDatabaseSoftwareImages(GetAutonomousDatabaseSoftwareImagesArgs.builder()
            .compartmentId(compartmentId)
            .imageShapeFamily(autonomousDatabaseSoftwareImageImageShapeFamily)
            .displayName(autonomousDatabaseSoftwareImageDisplayName)
            .state(autonomousDatabaseSoftwareImageState)
            .build());
    }
}
variables:
  testAutonomousDatabaseSoftwareImages:
    fn::invoke:
      function: oci:Database:getAutonomousDatabaseSoftwareImages
      arguments:
        compartmentId: ${compartmentId}
        imageShapeFamily: ${autonomousDatabaseSoftwareImageImageShapeFamily}
        displayName: ${autonomousDatabaseSoftwareImageDisplayName}
        state: ${autonomousDatabaseSoftwareImageState}
Using getAutonomousDatabaseSoftwareImages
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 getAutonomousDatabaseSoftwareImages(args: GetAutonomousDatabaseSoftwareImagesArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseSoftwareImagesResult>
function getAutonomousDatabaseSoftwareImagesOutput(args: GetAutonomousDatabaseSoftwareImagesOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseSoftwareImagesResult>def get_autonomous_database_software_images(compartment_id: Optional[str] = None,
                                            display_name: Optional[str] = None,
                                            filters: Optional[Sequence[GetAutonomousDatabaseSoftwareImagesFilter]] = None,
                                            image_shape_family: Optional[str] = None,
                                            state: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseSoftwareImagesResult
def get_autonomous_database_software_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                            display_name: Optional[pulumi.Input[str]] = None,
                                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAutonomousDatabaseSoftwareImagesFilterArgs]]]] = None,
                                            image_shape_family: Optional[pulumi.Input[str]] = None,
                                            state: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseSoftwareImagesResult]func GetAutonomousDatabaseSoftwareImages(ctx *Context, args *GetAutonomousDatabaseSoftwareImagesArgs, opts ...InvokeOption) (*GetAutonomousDatabaseSoftwareImagesResult, error)
func GetAutonomousDatabaseSoftwareImagesOutput(ctx *Context, args *GetAutonomousDatabaseSoftwareImagesOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseSoftwareImagesResultOutput> Note: This function is named GetAutonomousDatabaseSoftwareImages in the Go SDK.
public static class GetAutonomousDatabaseSoftwareImages 
{
    public static Task<GetAutonomousDatabaseSoftwareImagesResult> InvokeAsync(GetAutonomousDatabaseSoftwareImagesArgs args, InvokeOptions? opts = null)
    public static Output<GetAutonomousDatabaseSoftwareImagesResult> Invoke(GetAutonomousDatabaseSoftwareImagesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAutonomousDatabaseSoftwareImagesResult> getAutonomousDatabaseSoftwareImages(GetAutonomousDatabaseSoftwareImagesArgs args, InvokeOptions options)
public static Output<GetAutonomousDatabaseSoftwareImagesResult> getAutonomousDatabaseSoftwareImages(GetAutonomousDatabaseSoftwareImagesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getAutonomousDatabaseSoftwareImages:getAutonomousDatabaseSoftwareImages
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The compartment OCID.
- ImageShape stringFamily 
- A filter to return only resources that match the given image shape family exactly.
- DisplayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- Filters
List<GetAutonomous Database Software Images Filter> 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- CompartmentId string
- The compartment OCID.
- ImageShape stringFamily 
- A filter to return only resources that match the given image shape family exactly.
- DisplayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- Filters
[]GetAutonomous Database Software Images Filter 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- compartmentId String
- The compartment OCID.
- imageShape StringFamily 
- A filter to return only resources that match the given image shape family exactly.
- displayName String
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters
List<GetAutonomous Software Images Filter> 
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- compartmentId string
- The compartment OCID.
- imageShape stringFamily 
- A filter to return only resources that match the given image shape family exactly.
- displayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters
GetAutonomous Database Software Images Filter[] 
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- compartment_id str
- The compartment OCID.
- image_shape_ strfamily 
- A filter to return only resources that match the given image shape family exactly.
- display_name str
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters
Sequence[GetAutonomous Database Software Images Filter] 
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- compartmentId String
- The compartment OCID.
- imageShape StringFamily 
- A filter to return only resources that match the given image shape family exactly.
- displayName String
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters List<Property Map>
- state String
- A filter to return only resources that match the given lifecycle state exactly.
getAutonomousDatabaseSoftwareImages Result
The following output properties are available:
- AutonomousDatabase List<GetSoftware Image Collections Autonomous Database Software Images Autonomous Database Software Image Collection> 
- The list of autonomous_database_software_image_collection.
- CompartmentId string
- The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- ImageShape stringFamily 
- To what shape the image is meant for.
- DisplayName string
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- Filters
List<GetAutonomous Database Software Images Filter> 
- State string
- The current state of the Autonomous Database Software Image.
- AutonomousDatabase []GetSoftware Image Collections Autonomous Database Software Images Autonomous Database Software Image Collection 
- The list of autonomous_database_software_image_collection.
- CompartmentId string
- The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- ImageShape stringFamily 
- To what shape the image is meant for.
- DisplayName string
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- Filters
[]GetAutonomous Database Software Images Filter 
- State string
- The current state of the Autonomous Database Software Image.
- autonomousDatabase List<GetSoftware Image Collections Autonomous Software Images Autonomous Software Image Collection> 
- The list of autonomous_database_software_image_collection.
- compartmentId String
- The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- imageShape StringFamily 
- To what shape the image is meant for.
- displayName String
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters
List<GetAutonomous Software Images Filter> 
- state String
- The current state of the Autonomous Database Software Image.
- autonomousDatabase GetSoftware Image Collections Autonomous Database Software Images Autonomous Database Software Image Collection[] 
- The list of autonomous_database_software_image_collection.
- compartmentId string
- The OCID of the compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- imageShape stringFamily 
- To what shape the image is meant for.
- displayName string
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters
GetAutonomous Database Software Images Filter[] 
- state string
- The current state of the Autonomous Database Software Image.
- autonomous_database_ Sequence[Getsoftware_ image_ collections Autonomous Database Software Images Autonomous Database Software Image Collection] 
- The list of autonomous_database_software_image_collection.
- compartment_id str
- The OCID of the compartment.
- id str
- The provider-assigned unique ID for this managed resource.
- image_shape_ strfamily 
- To what shape the image is meant for.
- display_name str
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters
Sequence[GetAutonomous Database Software Images Filter] 
- state str
- The current state of the Autonomous Database Software Image.
- autonomousDatabase List<Property Map>Software Image Collections 
- The list of autonomous_database_software_image_collection.
- compartmentId String
- The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- imageShape StringFamily 
- To what shape the image is meant for.
- displayName String
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters List<Property Map>
- state String
- The current state of the Autonomous Database Software Image.
Supporting Types
GetAutonomousDatabaseSoftwareImagesAutonomousDatabaseSoftwareImageCollection         
GetAutonomousDatabaseSoftwareImagesAutonomousDatabaseSoftwareImageCollectionItem          
- AutonomousDsi List<string>One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- CompartmentId string
- The compartment OCID.
- DatabaseVersion string
- The database version with which the Autonomous Database Software Image is to be built.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- ImageShape stringFamily 
- A filter to return only resources that match the given image shape family exactly.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- ReleaseUpdate string
- The Release Updates.
- SourceCdb stringId 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TimeCreated string
- The date and time the Autonomous Database Software Image was created.
- AutonomousDsi []stringOne Off Patches 
- One-off patches included in the Autonomous Database Software Image
- CompartmentId string
- The compartment OCID.
- DatabaseVersion string
- The database version with which the Autonomous Database Software Image is to be built.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- ImageShape stringFamily 
- A filter to return only resources that match the given image shape family exactly.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- ReleaseUpdate string
- The Release Updates.
- SourceCdb stringId 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TimeCreated string
- The date and time the Autonomous Database Software Image was created.
- autonomousDsi List<String>One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- compartmentId String
- The compartment OCID.
- databaseVersion String
- The database version with which the Autonomous Database Software Image is to be built.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- imageShape StringFamily 
- A filter to return only resources that match the given image shape family exactly.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- releaseUpdate String
- The Release Updates.
- sourceCdb StringId 
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- timeCreated String
- The date and time the Autonomous Database Software Image was created.
- autonomousDsi string[]One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- compartmentId string
- The compartment OCID.
- databaseVersion string
- The database version with which the Autonomous Database Software Image is to be built.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- {[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 Autonomous Database Software Image.
- imageShape stringFamily 
- A filter to return only resources that match the given image shape family exactly.
- lifecycleDetails string
- Detailed message for the lifecycle state.
- releaseUpdate string
- The Release Updates.
- sourceCdb stringId 
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- timeCreated string
- The date and time the Autonomous Database Software Image was created.
- autonomous_dsi_ Sequence[str]one_ off_ patches 
- One-off patches included in the Autonomous Database Software Image
- compartment_id str
- The compartment OCID.
- database_version str
- The database version with which the Autonomous Database Software Image is to be built.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_name str
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- image_shape_ strfamily 
- A filter to return only resources that match the given image shape family exactly.
- lifecycle_details str
- Detailed message for the lifecycle state.
- release_update str
- The Release Updates.
- source_cdb_ strid 
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- time_created str
- The date and time the Autonomous Database Software Image was created.
- autonomousDsi List<String>One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- compartmentId String
- The compartment OCID.
- databaseVersion String
- The database version with which the Autonomous Database Software Image is to be built.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- imageShape StringFamily 
- A filter to return only resources that match the given image shape family exactly.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- releaseUpdate String
- The Release Updates.
- sourceCdb StringId 
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- timeCreated String
- The date and time the Autonomous Database Software Image was created.
GetAutonomousDatabaseSoftwareImagesFilter     
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.