Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getAutonomousDatabaseSoftwareImage
Explore with Pulumi AI
This data source provides details about a specific Autonomous Database Software Image resource in Oracle Cloud Infrastructure Database service.
Gets information about the specified Autonomous Database Software Image.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousDatabaseSoftwareImage = oci.Database.getAutonomousDatabaseSoftwareImage({
    autonomousDatabaseSoftwareImageId: testAutonomousDatabaseSoftwareImageOciDatabaseAutonomousDatabaseSoftwareImage.id,
});
import pulumi
import pulumi_oci as oci
test_autonomous_database_software_image = oci.Database.get_autonomous_database_software_image(autonomous_database_software_image_id=test_autonomous_database_software_image_oci_database_autonomous_database_software_image["id"])
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.GetAutonomousDatabaseSoftwareImage(ctx, &database.GetAutonomousDatabaseSoftwareImageArgs{
			AutonomousDatabaseSoftwareImageId: testAutonomousDatabaseSoftwareImageOciDatabaseAutonomousDatabaseSoftwareImage.Id,
		}, 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 testAutonomousDatabaseSoftwareImage = Oci.Database.GetAutonomousDatabaseSoftwareImage.Invoke(new()
    {
        AutonomousDatabaseSoftwareImageId = testAutonomousDatabaseSoftwareImageOciDatabaseAutonomousDatabaseSoftwareImage.Id,
    });
});
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.GetAutonomousDatabaseSoftwareImageArgs;
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 testAutonomousDatabaseSoftwareImage = DatabaseFunctions.getAutonomousDatabaseSoftwareImage(GetAutonomousDatabaseSoftwareImageArgs.builder()
            .autonomousDatabaseSoftwareImageId(testAutonomousDatabaseSoftwareImageOciDatabaseAutonomousDatabaseSoftwareImage.id())
            .build());
    }
}
variables:
  testAutonomousDatabaseSoftwareImage:
    fn::invoke:
      function: oci:Database:getAutonomousDatabaseSoftwareImage
      arguments:
        autonomousDatabaseSoftwareImageId: ${testAutonomousDatabaseSoftwareImageOciDatabaseAutonomousDatabaseSoftwareImage.id}
Using getAutonomousDatabaseSoftwareImage
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 getAutonomousDatabaseSoftwareImage(args: GetAutonomousDatabaseSoftwareImageArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseSoftwareImageResult>
function getAutonomousDatabaseSoftwareImageOutput(args: GetAutonomousDatabaseSoftwareImageOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseSoftwareImageResult>def get_autonomous_database_software_image(autonomous_database_software_image_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseSoftwareImageResult
def get_autonomous_database_software_image_output(autonomous_database_software_image_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseSoftwareImageResult]func LookupAutonomousDatabaseSoftwareImage(ctx *Context, args *LookupAutonomousDatabaseSoftwareImageArgs, opts ...InvokeOption) (*LookupAutonomousDatabaseSoftwareImageResult, error)
func LookupAutonomousDatabaseSoftwareImageOutput(ctx *Context, args *LookupAutonomousDatabaseSoftwareImageOutputArgs, opts ...InvokeOption) LookupAutonomousDatabaseSoftwareImageResultOutput> Note: This function is named LookupAutonomousDatabaseSoftwareImage in the Go SDK.
public static class GetAutonomousDatabaseSoftwareImage 
{
    public static Task<GetAutonomousDatabaseSoftwareImageResult> InvokeAsync(GetAutonomousDatabaseSoftwareImageArgs args, InvokeOptions? opts = null)
    public static Output<GetAutonomousDatabaseSoftwareImageResult> Invoke(GetAutonomousDatabaseSoftwareImageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAutonomousDatabaseSoftwareImageResult> getAutonomousDatabaseSoftwareImage(GetAutonomousDatabaseSoftwareImageArgs args, InvokeOptions options)
public static Output<GetAutonomousDatabaseSoftwareImageResult> getAutonomousDatabaseSoftwareImage(GetAutonomousDatabaseSoftwareImageArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getAutonomousDatabaseSoftwareImage:getAutonomousDatabaseSoftwareImage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AutonomousDatabase stringSoftware Image Id 
- The Autonomous Database Software Image OCID.
- AutonomousDatabase stringSoftware Image Id 
- The Autonomous Database Software Image OCID.
- autonomousDatabase StringSoftware Image Id 
- The Autonomous Database Software Image OCID.
- autonomousDatabase stringSoftware Image Id 
- The Autonomous Database Software Image OCID.
- autonomous_database_ strsoftware_ image_ id 
- The Autonomous Database Software Image OCID.
- autonomousDatabase StringSoftware Image Id 
- The Autonomous Database Software Image OCID.
getAutonomousDatabaseSoftwareImage Result
The following output properties are available:
- AutonomousDatabase stringSoftware Image Id 
- AutonomousDsi List<string>One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- CompartmentId string
- The OCID of the compartment.
- 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
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- 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 
- To what shape the image is meant for.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- ReleaseUpdate string
- The Release Updates.
- SourceCdb stringId 
- State string
- The current state of the Autonomous Database Software Image.
- TimeCreated string
- The date and time the Autonomous Database Software Image was created.
- AutonomousDatabase stringSoftware Image Id 
- AutonomousDsi []stringOne Off Patches 
- One-off patches included in the Autonomous Database Software Image
- CompartmentId string
- The OCID of the compartment.
- 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
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- 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 
- To what shape the image is meant for.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- ReleaseUpdate string
- The Release Updates.
- SourceCdb stringId 
- State string
- The current state of the Autonomous Database Software Image.
- TimeCreated string
- The date and time the Autonomous Database Software Image was created.
- autonomousDatabase StringSoftware Image Id 
- autonomousDsi List<String>One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- compartmentId String
- The OCID of the compartment.
- 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
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- 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 
- To what shape the image is meant for.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- releaseUpdate String
- The Release Updates.
- sourceCdb StringId 
- state String
- The current state of the Autonomous Database Software Image.
- timeCreated String
- The date and time the Autonomous Database Software Image was created.
- autonomousDatabase stringSoftware Image Id 
- autonomousDsi string[]One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- compartmentId string
- The OCID of the compartment.
- 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
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- {[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 
- To what shape the image is meant for.
- lifecycleDetails string
- Detailed message for the lifecycle state.
- releaseUpdate string
- The Release Updates.
- sourceCdb stringId 
- state string
- The current state of the Autonomous Database Software Image.
- timeCreated string
- The date and time the Autonomous Database Software Image was created.
- autonomous_database_ strsoftware_ image_ id 
- autonomous_dsi_ Sequence[str]one_ off_ patches 
- One-off patches included in the Autonomous Database Software Image
- compartment_id str
- The OCID of the compartment.
- 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
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- 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 
- To what shape the image is meant for.
- lifecycle_details str
- Detailed message for the lifecycle state.
- release_update str
- The Release Updates.
- source_cdb_ strid 
- state str
- The current state of the Autonomous Database Software Image.
- time_created str
- The date and time the Autonomous Database Software Image was created.
- autonomousDatabase StringSoftware Image Id 
- autonomousDsi List<String>One Off Patches 
- One-off patches included in the Autonomous Database Software Image
- compartmentId String
- The OCID of the compartment.
- 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
- The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- 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 
- To what shape the image is meant for.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- releaseUpdate String
- The Release Updates.
- sourceCdb StringId 
- state String
- The current state of the Autonomous Database Software Image.
- timeCreated String
- The date and time the Autonomous Database Software Image was created.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.