1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. DatabaseSoftwareImage
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Database.DatabaseSoftwareImage

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This resource provides the Database Software Image resource in Oracle Cloud Infrastructure Database service.

    create database software image in the specified compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatabaseSoftwareImage = new oci.database.DatabaseSoftwareImage("test_database_software_image", {
        compartmentId: compartmentId,
        displayName: databaseSoftwareImageDisplayName,
        databaseSoftwareImageOneOffPatches: databaseSoftwareImageDatabaseSoftwareImageOneOffPatches,
        databaseVersion: databaseSoftwareImageDatabaseVersion,
        definedTags: databaseSoftwareImageDefinedTags,
        freeformTags: {
            Department: "Finance",
        },
        imageShapeFamily: databaseSoftwareImageImageShapeFamily,
        imageType: databaseSoftwareImageImageType,
        lsInventory: databaseSoftwareImageLsInventory,
        patchSet: databaseSoftwareImagePatchSet,
        sourceDbHomeId: testDbHome.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_database_software_image = oci.database.DatabaseSoftwareImage("test_database_software_image",
        compartment_id=compartment_id,
        display_name=database_software_image_display_name,
        database_software_image_one_off_patches=database_software_image_database_software_image_one_off_patches,
        database_version=database_software_image_database_version,
        defined_tags=database_software_image_defined_tags,
        freeform_tags={
            "Department": "Finance",
        },
        image_shape_family=database_software_image_image_shape_family,
        image_type=database_software_image_image_type,
        ls_inventory=database_software_image_ls_inventory,
        patch_set=database_software_image_patch_set,
        source_db_home_id=test_db_home["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.NewDatabaseSoftwareImage(ctx, "test_database_software_image", &Database.DatabaseSoftwareImageArgs{
    			CompartmentId:                      pulumi.Any(compartmentId),
    			DisplayName:                        pulumi.Any(databaseSoftwareImageDisplayName),
    			DatabaseSoftwareImageOneOffPatches: pulumi.Any(databaseSoftwareImageDatabaseSoftwareImageOneOffPatches),
    			DatabaseVersion:                    pulumi.Any(databaseSoftwareImageDatabaseVersion),
    			DefinedTags:                        pulumi.Any(databaseSoftwareImageDefinedTags),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			ImageShapeFamily: pulumi.Any(databaseSoftwareImageImageShapeFamily),
    			ImageType:        pulumi.Any(databaseSoftwareImageImageType),
    			LsInventory:      pulumi.Any(databaseSoftwareImageLsInventory),
    			PatchSet:         pulumi.Any(databaseSoftwareImagePatchSet),
    			SourceDbHomeId:   pulumi.Any(testDbHome.Id),
    		})
    		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 testDatabaseSoftwareImage = new Oci.Database.DatabaseSoftwareImage("test_database_software_image", new()
        {
            CompartmentId = compartmentId,
            DisplayName = databaseSoftwareImageDisplayName,
            DatabaseSoftwareImageOneOffPatches = databaseSoftwareImageDatabaseSoftwareImageOneOffPatches,
            DatabaseVersion = databaseSoftwareImageDatabaseVersion,
            DefinedTags = databaseSoftwareImageDefinedTags,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            ImageShapeFamily = databaseSoftwareImageImageShapeFamily,
            ImageType = databaseSoftwareImageImageType,
            LsInventory = databaseSoftwareImageLsInventory,
            PatchSet = databaseSoftwareImagePatchSet,
            SourceDbHomeId = testDbHome.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Database.DatabaseSoftwareImage;
    import com.pulumi.oci.Database.DatabaseSoftwareImageArgs;
    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) {
            var testDatabaseSoftwareImage = new DatabaseSoftwareImage("testDatabaseSoftwareImage", DatabaseSoftwareImageArgs.builder()
                .compartmentId(compartmentId)
                .displayName(databaseSoftwareImageDisplayName)
                .databaseSoftwareImageOneOffPatches(databaseSoftwareImageDatabaseSoftwareImageOneOffPatches)
                .databaseVersion(databaseSoftwareImageDatabaseVersion)
                .definedTags(databaseSoftwareImageDefinedTags)
                .freeformTags(Map.of("Department", "Finance"))
                .imageShapeFamily(databaseSoftwareImageImageShapeFamily)
                .imageType(databaseSoftwareImageImageType)
                .lsInventory(databaseSoftwareImageLsInventory)
                .patchSet(databaseSoftwareImagePatchSet)
                .sourceDbHomeId(testDbHome.id())
                .build());
    
        }
    }
    
    resources:
      testDatabaseSoftwareImage:
        type: oci:Database:DatabaseSoftwareImage
        name: test_database_software_image
        properties:
          compartmentId: ${compartmentId}
          displayName: ${databaseSoftwareImageDisplayName}
          databaseSoftwareImageOneOffPatches: ${databaseSoftwareImageDatabaseSoftwareImageOneOffPatches}
          databaseVersion: ${databaseSoftwareImageDatabaseVersion}
          definedTags: ${databaseSoftwareImageDefinedTags}
          freeformTags:
            Department: Finance
          imageShapeFamily: ${databaseSoftwareImageImageShapeFamily}
          imageType: ${databaseSoftwareImageImageType}
          lsInventory: ${databaseSoftwareImageLsInventory}
          patchSet: ${databaseSoftwareImagePatchSet}
          sourceDbHomeId: ${testDbHome.id}
    

    Create DatabaseSoftwareImage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DatabaseSoftwareImage(name: string, args: DatabaseSoftwareImageArgs, opts?: CustomResourceOptions);
    @overload
    def DatabaseSoftwareImage(resource_name: str,
                              args: DatabaseSoftwareImageArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatabaseSoftwareImage(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              compartment_id: Optional[str] = None,
                              display_name: Optional[str] = None,
                              database_software_image_one_off_patches: Optional[Sequence[str]] = None,
                              database_version: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, str]] = None,
                              freeform_tags: Optional[Mapping[str, str]] = None,
                              image_shape_family: Optional[str] = None,
                              image_type: Optional[str] = None,
                              ls_inventory: Optional[str] = None,
                              patch_set: Optional[str] = None,
                              source_db_home_id: Optional[str] = None)
    func NewDatabaseSoftwareImage(ctx *Context, name string, args DatabaseSoftwareImageArgs, opts ...ResourceOption) (*DatabaseSoftwareImage, error)
    public DatabaseSoftwareImage(string name, DatabaseSoftwareImageArgs args, CustomResourceOptions? opts = null)
    public DatabaseSoftwareImage(String name, DatabaseSoftwareImageArgs args)
    public DatabaseSoftwareImage(String name, DatabaseSoftwareImageArgs args, CustomResourceOptions options)
    
    type: oci:Database:DatabaseSoftwareImage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DatabaseSoftwareImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DatabaseSoftwareImageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DatabaseSoftwareImageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatabaseSoftwareImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatabaseSoftwareImageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var databaseSoftwareImageResource = new Oci.Database.DatabaseSoftwareImage("databaseSoftwareImageResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        DatabaseSoftwareImageOneOffPatches = new[]
        {
            "string",
        },
        DatabaseVersion = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        ImageShapeFamily = "string",
        ImageType = "string",
        LsInventory = "string",
        PatchSet = "string",
        SourceDbHomeId = "string",
    });
    
    example, err := Database.NewDatabaseSoftwareImage(ctx, "databaseSoftwareImageResource", &Database.DatabaseSoftwareImageArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	DatabaseSoftwareImageOneOffPatches: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DatabaseVersion: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ImageShapeFamily: pulumi.String("string"),
    	ImageType:        pulumi.String("string"),
    	LsInventory:      pulumi.String("string"),
    	PatchSet:         pulumi.String("string"),
    	SourceDbHomeId:   pulumi.String("string"),
    })
    
    var databaseSoftwareImageResource = new DatabaseSoftwareImage("databaseSoftwareImageResource", DatabaseSoftwareImageArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .databaseSoftwareImageOneOffPatches("string")
        .databaseVersion("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .imageShapeFamily("string")
        .imageType("string")
        .lsInventory("string")
        .patchSet("string")
        .sourceDbHomeId("string")
        .build());
    
    database_software_image_resource = oci.database.DatabaseSoftwareImage("databaseSoftwareImageResource",
        compartment_id="string",
        display_name="string",
        database_software_image_one_off_patches=["string"],
        database_version="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        image_shape_family="string",
        image_type="string",
        ls_inventory="string",
        patch_set="string",
        source_db_home_id="string")
    
    const databaseSoftwareImageResource = new oci.database.DatabaseSoftwareImage("databaseSoftwareImageResource", {
        compartmentId: "string",
        displayName: "string",
        databaseSoftwareImageOneOffPatches: ["string"],
        databaseVersion: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        imageShapeFamily: "string",
        imageType: "string",
        lsInventory: "string",
        patchSet: "string",
        sourceDbHomeId: "string",
    });
    
    type: oci:Database:DatabaseSoftwareImage
    properties:
        compartmentId: string
        databaseSoftwareImageOneOffPatches:
            - string
        databaseVersion: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        imageShapeFamily: string
        imageType: string
        lsInventory: string
        patchSet: string
        sourceDbHomeId: string
    

    DatabaseSoftwareImage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DatabaseSoftwareImage resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment the database software image belongs in.
    DisplayName string
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    DatabaseSoftwareImageOneOffPatches List<string>
    List of one-off patches for Database Homes.
    DatabaseVersion string
    The database version with which the database software image is to be built.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    ImageShapeFamily string
    To what shape the image is meant for.
    ImageType string
    The type of software image. Can be grid or database.
    LsInventory string
    The output from the OPatch lsInventory command, which is passed as a string.
    PatchSet string
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    SourceDbHomeId string

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment the database software image belongs in.
    DisplayName string
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    DatabaseSoftwareImageOneOffPatches []string
    List of one-off patches for Database Homes.
    DatabaseVersion string
    The database version with which the database software image is to be built.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    FreeformTags map[string]string
    (Updatable) 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"}
    ImageShapeFamily string
    To what shape the image is meant for.
    ImageType string
    The type of software image. Can be grid or database.
    LsInventory string
    The output from the OPatch lsInventory command, which is passed as a string.
    PatchSet string
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    SourceDbHomeId string

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment the database software image belongs in.
    displayName String
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    databaseSoftwareImageOneOffPatches List<String>
    List of one-off patches for Database Homes.
    databaseVersion String
    The database version with which the database software image is to be built.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags Map<String,String>
    (Updatable) 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"}
    imageShapeFamily String
    To what shape the image is meant for.
    imageType String
    The type of software image. Can be grid or database.
    lsInventory String
    The output from the OPatch lsInventory command, which is passed as a string.
    patchSet String
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    sourceDbHomeId String

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment the database software image belongs in.
    displayName string
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    databaseSoftwareImageOneOffPatches string[]
    List of one-off patches for Database Homes.
    databaseVersion string
    The database version with which the database software image is to be built.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    imageShapeFamily string
    To what shape the image is meant for.
    imageType string
    The type of software image. Can be grid or database.
    lsInventory string
    The output from the OPatch lsInventory command, which is passed as a string.
    patchSet string
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    sourceDbHomeId string

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment the database software image belongs in.
    display_name str
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    database_software_image_one_off_patches Sequence[str]
    List of one-off patches for Database Homes.
    database_version str
    The database version with which the database software image is to be built.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    image_shape_family str
    To what shape the image is meant for.
    image_type str
    The type of software image. Can be grid or database.
    ls_inventory str
    The output from the OPatch lsInventory command, which is passed as a string.
    patch_set str
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    source_db_home_id str

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment the database software image belongs in.
    displayName String
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    databaseSoftwareImageOneOffPatches List<String>
    List of one-off patches for Database Homes.
    databaseVersion String
    The database version with which the database software image is to be built.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags Map<String>
    (Updatable) 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"}
    imageShapeFamily String
    To what shape the image is meant for.
    imageType String
    The type of software image. Can be grid or database.
    lsInventory String
    The output from the OPatch lsInventory command, which is passed as a string.
    patchSet String
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    sourceDbHomeId String

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DatabaseSoftwareImage resource produces the following output properties:

    DatabaseSoftwareImageIncludedPatches List<string>
    List of one-off patches for Database Homes.
    Id string
    The provider-assigned unique ID for this managed resource.
    IncludedPatchesSummary string
    The patches included in the image and the version of the image.
    IsUpgradeSupported bool
    True if this Database software image is supported for Upgrade.
    LifecycleDetails string
    Detailed message for the lifecycle state.
    State string
    The current state of the database software image.
    TimeCreated string
    The date and time the database software image was created.
    DatabaseSoftwareImageIncludedPatches []string
    List of one-off patches for Database Homes.
    Id string
    The provider-assigned unique ID for this managed resource.
    IncludedPatchesSummary string
    The patches included in the image and the version of the image.
    IsUpgradeSupported bool
    True if this Database software image is supported for Upgrade.
    LifecycleDetails string
    Detailed message for the lifecycle state.
    State string
    The current state of the database software image.
    TimeCreated string
    The date and time the database software image was created.
    databaseSoftwareImageIncludedPatches List<String>
    List of one-off patches for Database Homes.
    id String
    The provider-assigned unique ID for this managed resource.
    includedPatchesSummary String
    The patches included in the image and the version of the image.
    isUpgradeSupported Boolean
    True if this Database software image is supported for Upgrade.
    lifecycleDetails String
    Detailed message for the lifecycle state.
    state String
    The current state of the database software image.
    timeCreated String
    The date and time the database software image was created.
    databaseSoftwareImageIncludedPatches string[]
    List of one-off patches for Database Homes.
    id string
    The provider-assigned unique ID for this managed resource.
    includedPatchesSummary string
    The patches included in the image and the version of the image.
    isUpgradeSupported boolean
    True if this Database software image is supported for Upgrade.
    lifecycleDetails string
    Detailed message for the lifecycle state.
    state string
    The current state of the database software image.
    timeCreated string
    The date and time the database software image was created.
    database_software_image_included_patches Sequence[str]
    List of one-off patches for Database Homes.
    id str
    The provider-assigned unique ID for this managed resource.
    included_patches_summary str
    The patches included in the image and the version of the image.
    is_upgrade_supported bool
    True if this Database software image is supported for Upgrade.
    lifecycle_details str
    Detailed message for the lifecycle state.
    state str
    The current state of the database software image.
    time_created str
    The date and time the database software image was created.
    databaseSoftwareImageIncludedPatches List<String>
    List of one-off patches for Database Homes.
    id String
    The provider-assigned unique ID for this managed resource.
    includedPatchesSummary String
    The patches included in the image and the version of the image.
    isUpgradeSupported Boolean
    True if this Database software image is supported for Upgrade.
    lifecycleDetails String
    Detailed message for the lifecycle state.
    state String
    The current state of the database software image.
    timeCreated String
    The date and time the database software image was created.

    Look up Existing DatabaseSoftwareImage Resource

    Get an existing DatabaseSoftwareImage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DatabaseSoftwareImageState, opts?: CustomResourceOptions): DatabaseSoftwareImage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            database_software_image_included_patches: Optional[Sequence[str]] = None,
            database_software_image_one_off_patches: Optional[Sequence[str]] = None,
            database_version: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            image_shape_family: Optional[str] = None,
            image_type: Optional[str] = None,
            included_patches_summary: Optional[str] = None,
            is_upgrade_supported: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            ls_inventory: Optional[str] = None,
            patch_set: Optional[str] = None,
            source_db_home_id: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> DatabaseSoftwareImage
    func GetDatabaseSoftwareImage(ctx *Context, name string, id IDInput, state *DatabaseSoftwareImageState, opts ...ResourceOption) (*DatabaseSoftwareImage, error)
    public static DatabaseSoftwareImage Get(string name, Input<string> id, DatabaseSoftwareImageState? state, CustomResourceOptions? opts = null)
    public static DatabaseSoftwareImage get(String name, Output<String> id, DatabaseSoftwareImageState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment the database software image belongs in.
    DatabaseSoftwareImageIncludedPatches List<string>
    List of one-off patches for Database Homes.
    DatabaseSoftwareImageOneOffPatches List<string>
    List of one-off patches for Database Homes.
    DatabaseVersion string
    The database version with which the database software image is to be built.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    ImageShapeFamily string
    To what shape the image is meant for.
    ImageType string
    The type of software image. Can be grid or database.
    IncludedPatchesSummary string
    The patches included in the image and the version of the image.
    IsUpgradeSupported bool
    True if this Database software image is supported for Upgrade.
    LifecycleDetails string
    Detailed message for the lifecycle state.
    LsInventory string
    The output from the OPatch lsInventory command, which is passed as a string.
    PatchSet string
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    SourceDbHomeId string

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the database software image.
    TimeCreated string
    The date and time the database software image was created.
    CompartmentId string
    (Updatable) The OCID of the compartment the database software image belongs in.
    DatabaseSoftwareImageIncludedPatches []string
    List of one-off patches for Database Homes.
    DatabaseSoftwareImageOneOffPatches []string
    List of one-off patches for Database Homes.
    DatabaseVersion string
    The database version with which the database software image is to be built.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    FreeformTags map[string]string
    (Updatable) 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"}
    ImageShapeFamily string
    To what shape the image is meant for.
    ImageType string
    The type of software image. Can be grid or database.
    IncludedPatchesSummary string
    The patches included in the image and the version of the image.
    IsUpgradeSupported bool
    True if this Database software image is supported for Upgrade.
    LifecycleDetails string
    Detailed message for the lifecycle state.
    LsInventory string
    The output from the OPatch lsInventory command, which is passed as a string.
    PatchSet string
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    SourceDbHomeId string

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the database software image.
    TimeCreated string
    The date and time the database software image was created.
    compartmentId String
    (Updatable) The OCID of the compartment the database software image belongs in.
    databaseSoftwareImageIncludedPatches List<String>
    List of one-off patches for Database Homes.
    databaseSoftwareImageOneOffPatches List<String>
    List of one-off patches for Database Homes.
    databaseVersion String
    The database version with which the database software image is to be built.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    freeformTags Map<String,String>
    (Updatable) 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"}
    imageShapeFamily String
    To what shape the image is meant for.
    imageType String
    The type of software image. Can be grid or database.
    includedPatchesSummary String
    The patches included in the image and the version of the image.
    isUpgradeSupported Boolean
    True if this Database software image is supported for Upgrade.
    lifecycleDetails String
    Detailed message for the lifecycle state.
    lsInventory String
    The output from the OPatch lsInventory command, which is passed as a string.
    patchSet String
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    sourceDbHomeId String

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the database software image.
    timeCreated String
    The date and time the database software image was created.
    compartmentId string
    (Updatable) The OCID of the compartment the database software image belongs in.
    databaseSoftwareImageIncludedPatches string[]
    List of one-off patches for Database Homes.
    databaseSoftwareImageOneOffPatches string[]
    List of one-off patches for Database Homes.
    databaseVersion string
    The database version with which the database software image is to be built.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName string
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    imageShapeFamily string
    To what shape the image is meant for.
    imageType string
    The type of software image. Can be grid or database.
    includedPatchesSummary string
    The patches included in the image and the version of the image.
    isUpgradeSupported boolean
    True if this Database software image is supported for Upgrade.
    lifecycleDetails string
    Detailed message for the lifecycle state.
    lsInventory string
    The output from the OPatch lsInventory command, which is passed as a string.
    patchSet string
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    sourceDbHomeId string

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of the database software image.
    timeCreated string
    The date and time the database software image was created.
    compartment_id str
    (Updatable) The OCID of the compartment the database software image belongs in.
    database_software_image_included_patches Sequence[str]
    List of one-off patches for Database Homes.
    database_software_image_one_off_patches Sequence[str]
    List of one-off patches for Database Homes.
    database_version str
    The database version with which the database software image is to be built.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    display_name str
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    image_shape_family str
    To what shape the image is meant for.
    image_type str
    The type of software image. Can be grid or database.
    included_patches_summary str
    The patches included in the image and the version of the image.
    is_upgrade_supported bool
    True if this Database software image is supported for Upgrade.
    lifecycle_details str
    Detailed message for the lifecycle state.
    ls_inventory str
    The output from the OPatch lsInventory command, which is passed as a string.
    patch_set str
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    source_db_home_id str

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current state of the database software image.
    time_created str
    The date and time the database software image was created.
    compartmentId String
    (Updatable) The OCID of the compartment the database software image belongs in.
    databaseSoftwareImageIncludedPatches List<String>
    List of one-off patches for Database Homes.
    databaseSoftwareImageOneOffPatches List<String>
    List of one-off patches for Database Homes.
    databaseVersion String
    The database version with which the database software image is to be built.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
    freeformTags Map<String>
    (Updatable) 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"}
    imageShapeFamily String
    To what shape the image is meant for.
    imageType String
    The type of software image. Can be grid or database.
    includedPatchesSummary String
    The patches included in the image and the version of the image.
    isUpgradeSupported Boolean
    True if this Database software image is supported for Upgrade.
    lifecycleDetails String
    Detailed message for the lifecycle state.
    lsInventory String
    The output from the OPatch lsInventory command, which is passed as a string.
    patchSet String
    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
    sourceDbHomeId String

    The OCID of the Database Home.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the database software image.
    timeCreated String
    The date and time the database software image was created.

    Import

    DatabaseSoftwareImages can be imported using the id, e.g.

    $ pulumi import oci:Database/databaseSoftwareImage:DatabaseSoftwareImage test_database_software_image "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.11.0 published on Thursday, Sep 19, 2024 by Pulumi