Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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 GetAutonomousDatabaseSoftwareImage(ctx *Context, args *GetAutonomousDatabaseSoftwareImageArgs, opts ...InvokeOption) (*GetAutonomousDatabaseSoftwareImageResult, error)
func GetAutonomousDatabaseSoftwareImageOutput(ctx *Context, args *GetAutonomousDatabaseSoftwareImageOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseSoftwareImageResultOutput> Note: This function is named GetAutonomousDatabaseSoftwareImage 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Database/getAutonomousDatabaseSoftwareImage:getAutonomousDatabaseSoftwareImage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Autonomous
Database stringSoftware Image Id  - The Autonomous Database Software Image OCID.
 
- Autonomous
Database stringSoftware Image Id  - The Autonomous Database Software Image OCID.
 
- autonomous
Database StringSoftware Image Id  - The Autonomous Database Software Image OCID.
 
- autonomous
Database stringSoftware Image Id  - The Autonomous Database Software Image OCID.
 
- autonomous_
database_ strsoftware_ image_ id  - The Autonomous Database Software Image OCID.
 
- autonomous
Database StringSoftware Image Id  - The Autonomous Database Software Image OCID.
 
getAutonomousDatabaseSoftwareImage Result
The following output properties are available:
- Autonomous
Database stringSoftware Image Id  - Autonomous
Dsi List<string>One Off Patches  - One-off patches included in the Autonomous Database Software Image
 - Compartment
Id string - The OCID of the compartment.
 - Database
Version 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.
 - Display
Name 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.
 - Image
Shape stringFamily  - To what shape the image is meant for.
 - Lifecycle
Details string - Detailed message for the lifecycle state.
 - Release
Update string - The Release Updates.
 - Source
Cdb stringId  - State string
 - The current state of the Autonomous Database Software Image.
 - Time
Created string - The date and time the Autonomous Database Software Image was created.
 
- Autonomous
Database stringSoftware Image Id  - Autonomous
Dsi []stringOne Off Patches  - One-off patches included in the Autonomous Database Software Image
 - Compartment
Id string - The OCID of the compartment.
 - Database
Version 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.
 - Display
Name 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.
 - Image
Shape stringFamily  - To what shape the image is meant for.
 - Lifecycle
Details string - Detailed message for the lifecycle state.
 - Release
Update string - The Release Updates.
 - Source
Cdb stringId  - State string
 - The current state of the Autonomous Database Software Image.
 - Time
Created string - The date and time the Autonomous Database Software Image was created.
 
- autonomous
Database StringSoftware Image Id  - autonomous
Dsi List<String>One Off Patches  - One-off patches included in the Autonomous Database Software Image
 - compartment
Id String - The OCID of the compartment.
 - database
Version 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.
 - display
Name 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.
 - image
Shape StringFamily  - To what shape the image is meant for.
 - lifecycle
Details String - Detailed message for the lifecycle state.
 - release
Update String - The Release Updates.
 - source
Cdb StringId  - state String
 - The current state of the Autonomous Database Software Image.
 - time
Created String - The date and time the Autonomous Database Software Image was created.
 
- autonomous
Database stringSoftware Image Id  - autonomous
Dsi string[]One Off Patches  - One-off patches included in the Autonomous Database Software Image
 - compartment
Id string - The OCID of the compartment.
 - database
Version 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.
 - display
Name 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.
 - image
Shape stringFamily  - To what shape the image is meant for.
 - lifecycle
Details string - Detailed message for the lifecycle state.
 - release
Update string - The Release Updates.
 - source
Cdb stringId  - state string
 - The current state of the Autonomous Database Software Image.
 - time
Created 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.
 
- autonomous
Database StringSoftware Image Id  - autonomous
Dsi List<String>One Off Patches  - One-off patches included in the Autonomous Database Software Image
 - compartment
Id String - The OCID of the compartment.
 - database
Version 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.
 - display
Name 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.
 - image
Shape StringFamily  - To what shape the image is meant for.
 - lifecycle
Details String - Detailed message for the lifecycle state.
 - release
Update String - The Release Updates.
 - source
Cdb StringId  - state String
 - The current state of the Autonomous Database Software Image.
 - time
Created 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.