1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getAutonomousDatabaseSoftwareImage
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Database.getAutonomousDatabaseSoftwareImage

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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 dictionary

    The following arguments are supported:

    AutonomousDatabaseSoftwareImageId string
    The Autonomous Database Software Image OCID.
    AutonomousDatabaseSoftwareImageId string
    The Autonomous Database Software Image OCID.
    autonomousDatabaseSoftwareImageId String
    The Autonomous Database Software Image OCID.
    autonomousDatabaseSoftwareImageId string
    The Autonomous Database Software Image OCID.
    autonomous_database_software_image_id str
    The Autonomous Database Software Image OCID.
    autonomousDatabaseSoftwareImageId String
    The Autonomous Database Software Image OCID.

    getAutonomousDatabaseSoftwareImage Result

    The following output properties are available:

    AutonomousDatabaseSoftwareImageId string
    AutonomousDsiOneOffPatches List<string>
    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.
    DefinedTags 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.
    FreeformTags 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.
    ImageShapeFamily string
    To what shape the image is meant for.
    LifecycleDetails string
    Detailed message for the lifecycle state.
    ReleaseUpdate string
    The Release Updates.
    SourceCdbId string
    State string
    The current state of the Autonomous Database Software Image.
    TimeCreated string
    The date and time the Autonomous Database Software Image was created.
    AutonomousDatabaseSoftwareImageId string
    AutonomousDsiOneOffPatches []string
    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.
    DefinedTags 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.
    FreeformTags 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.
    ImageShapeFamily string
    To what shape the image is meant for.
    LifecycleDetails string
    Detailed message for the lifecycle state.
    ReleaseUpdate string
    The Release Updates.
    SourceCdbId string
    State string
    The current state of the Autonomous Database Software Image.
    TimeCreated string
    The date and time the Autonomous Database Software Image was created.
    autonomousDatabaseSoftwareImageId String
    autonomousDsiOneOffPatches List<String>
    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.
    definedTags 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.
    freeformTags 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.
    imageShapeFamily String
    To what shape the image is meant for.
    lifecycleDetails String
    Detailed message for the lifecycle state.
    releaseUpdate String
    The Release Updates.
    sourceCdbId String
    state String
    The current state of the Autonomous Database Software Image.
    timeCreated String
    The date and time the Autonomous Database Software Image was created.
    autonomousDatabaseSoftwareImageId string
    autonomousDsiOneOffPatches string[]
    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.
    definedTags {[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.
    freeformTags {[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.
    imageShapeFamily string
    To what shape the image is meant for.
    lifecycleDetails string
    Detailed message for the lifecycle state.
    releaseUpdate string
    The Release Updates.
    sourceCdbId string
    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_software_image_id str
    autonomous_dsi_one_off_patches Sequence[str]
    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.
    defined_tags 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.
    freeform_tags 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_family str
    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_id str
    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.
    autonomousDatabaseSoftwareImageId String
    autonomousDsiOneOffPatches List<String>
    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.
    definedTags 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.
    freeformTags 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.
    imageShapeFamily String
    To what shape the image is meant for.
    lifecycleDetails String
    Detailed message for the lifecycle state.
    releaseUpdate String
    The Release Updates.
    sourceCdbId String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi