oci.Database.DatabaseSoftwareImage
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- DatabaseSoftware List<string>Image One Off Patches 
- List of one-off patches for Database Homes.
- DatabaseVersion string
- The database version with which the database software image is to be built.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- ImageShape stringFamily 
- 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.
- SourceDb stringHome Id 
- 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.
- DatabaseSoftware []stringImage One Off Patches 
- List of one-off patches for Database Homes.
- DatabaseVersion string
- The database version with which the database software image is to be built.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- ImageShape stringFamily 
- 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.
- SourceDb stringHome Id 
- 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.
- databaseSoftware List<String>Image One Off Patches 
- List of one-off patches for Database Homes.
- databaseVersion String
- The database version with which the database software image is to be built.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- imageShape StringFamily 
- 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.
- sourceDb StringHome Id 
- 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.
- databaseSoftware string[]Image One Off Patches 
- List of one-off patches for Database Homes.
- databaseVersion string
- The database version with which the database software image is to be built.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[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"}
- imageShape stringFamily 
- 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.
- sourceDb stringHome Id 
- 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_ Sequence[str]image_ one_ off_ patches 
- List of one-off patches for Database Homes.
- database_version str
- The database version with which the database software image is to be built.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource 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_ strfamily 
- 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_ strhome_ id 
- 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.
- databaseSoftware List<String>Image One Off Patches 
- List of one-off patches for Database Homes.
- databaseVersion String
- The database version with which the database software image is to be built.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- imageShape StringFamily 
- 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.
- sourceDb StringHome Id 
- 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:
- DatabaseSoftware List<string>Image Included Patches 
- List of one-off patches for Database Homes.
- Id string
- The provider-assigned unique ID for this managed resource.
- IncludedPatches stringSummary 
- The patches included in the image and the version of the image.
- IsUpgrade boolSupported 
- 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.
- DatabaseSoftware []stringImage Included Patches 
- List of one-off patches for Database Homes.
- Id string
- The provider-assigned unique ID for this managed resource.
- IncludedPatches stringSummary 
- The patches included in the image and the version of the image.
- IsUpgrade boolSupported 
- 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.
- databaseSoftware List<String>Image Included Patches 
- List of one-off patches for Database Homes.
- id String
- The provider-assigned unique ID for this managed resource.
- includedPatches StringSummary 
- The patches included in the image and the version of the image.
- isUpgrade BooleanSupported 
- 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.
- databaseSoftware string[]Image Included Patches 
- List of one-off patches for Database Homes.
- id string
- The provider-assigned unique ID for this managed resource.
- includedPatches stringSummary 
- The patches included in the image and the version of the image.
- isUpgrade booleanSupported 
- 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_ Sequence[str]image_ included_ patches 
- List of one-off patches for Database Homes.
- id str
- The provider-assigned unique ID for this managed resource.
- included_patches_ strsummary 
- The patches included in the image and the version of the image.
- is_upgrade_ boolsupported 
- 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.
- databaseSoftware List<String>Image Included Patches 
- List of one-off patches for Database Homes.
- id String
- The provider-assigned unique ID for this managed resource.
- includedPatches StringSummary 
- The patches included in the image and the version of the image.
- isUpgrade BooleanSupported 
- 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) -> DatabaseSoftwareImagefunc 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)resources:  _:    type: oci:Database:DatabaseSoftwareImage    get:      id: ${id}- 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.
- CompartmentId string
- (Updatable) The OCID of the compartment the database software image belongs in.
- DatabaseSoftware List<string>Image Included Patches 
- List of one-off patches for Database Homes.
- DatabaseSoftware List<string>Image One Off Patches 
- List of one-off patches for Database Homes.
- DatabaseVersion string
- The database version with which the database software image is to be built.
- 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.
- 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"}
- ImageShape stringFamily 
- To what shape the image is meant for.
- ImageType string
- The type of software image. Can be grid or database.
- IncludedPatches stringSummary 
- The patches included in the image and the version of the image.
- IsUpgrade boolSupported 
- 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.
- SourceDb stringHome Id 
- 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.
- DatabaseSoftware []stringImage Included Patches 
- List of one-off patches for Database Homes.
- DatabaseSoftware []stringImage One Off Patches 
- List of one-off patches for Database Homes.
- DatabaseVersion string
- The database version with which the database software image is to be built.
- 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.
- 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"}
- ImageShape stringFamily 
- To what shape the image is meant for.
- ImageType string
- The type of software image. Can be grid or database.
- IncludedPatches stringSummary 
- The patches included in the image and the version of the image.
- IsUpgrade boolSupported 
- 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.
- SourceDb stringHome Id 
- 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.
- databaseSoftware List<String>Image Included Patches 
- List of one-off patches for Database Homes.
- databaseSoftware List<String>Image One Off Patches 
- List of one-off patches for Database Homes.
- databaseVersion String
- The database version with which the database software image is to be built.
- 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.
- 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"}
- imageShape StringFamily 
- To what shape the image is meant for.
- imageType String
- The type of software image. Can be grid or database.
- includedPatches StringSummary 
- The patches included in the image and the version of the image.
- isUpgrade BooleanSupported 
- 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.
- sourceDb StringHome Id 
- 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.
- databaseSoftware string[]Image Included Patches 
- List of one-off patches for Database Homes.
- databaseSoftware string[]Image One Off Patches 
- List of one-off patches for Database Homes.
- databaseVersion string
- The database version with which the database software image is to be built.
- {[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.
- {[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"}
- imageShape stringFamily 
- To what shape the image is meant for.
- imageType string
- The type of software image. Can be grid or database.
- includedPatches stringSummary 
- The patches included in the image and the version of the image.
- isUpgrade booleanSupported 
- 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.
- sourceDb stringHome Id 
- 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_ Sequence[str]image_ included_ patches 
- List of one-off patches for Database Homes.
- database_software_ Sequence[str]image_ one_ off_ patches 
- List of one-off patches for Database Homes.
- database_version str
- The database version with which the database software image is to be built.
- 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.
- 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_ strfamily 
- To what shape the image is meant for.
- image_type str
- The type of software image. Can be grid or database.
- included_patches_ strsummary 
- The patches included in the image and the version of the image.
- is_upgrade_ boolsupported 
- 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_ strhome_ id 
- 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.
- databaseSoftware List<String>Image Included Patches 
- List of one-off patches for Database Homes.
- databaseSoftware List<String>Image One Off Patches 
- List of one-off patches for Database Homes.
- databaseVersion String
- The database version with which the database software image is to be built.
- 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.
- 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"}
- imageShape StringFamily 
- To what shape the image is meant for.
- imageType String
- The type of software image. Can be grid or database.
- includedPatches StringSummary 
- The patches included in the image and the version of the image.
- isUpgrade BooleanSupported 
- 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.
- sourceDb StringHome Id 
- 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 ociTerraform Provider.