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
The DatabaseSoftwareImage resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment the database software image belongs in.
- Display
Name string - (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
- Database
Software List<string>Image One Off Patches - List of one-off patches for Database Homes.
- Database
Version 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"}
- Image
Shape stringFamily - To what shape the image is meant for.
- Image
Type string - The type of software image. Can be grid or database.
- Ls
Inventory string - The output from the OPatch lsInventory command, which is passed as a string.
- Patch
Set string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- Source
Db 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 string - (Updatable) The OCID of the compartment the database software image belongs in.
- Display
Name string - (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
- Database
Software []stringImage One Off Patches - List of one-off patches for Database Homes.
- Database
Version 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"}
- Image
Shape stringFamily - To what shape the image is meant for.
- Image
Type string - The type of software image. Can be grid or database.
- Ls
Inventory string - The output from the OPatch lsInventory command, which is passed as a string.
- Patch
Set string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- Source
Db 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 String - (Updatable) The OCID of the compartment the database software image belongs in.
- display
Name String - (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
- database
Software List<String>Image One Off Patches - List of one-off patches for Database Homes.
- database
Version 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"}
- image
Shape StringFamily - To what shape the image is meant for.
- image
Type String - The type of software image. Can be grid or database.
- ls
Inventory String - The output from the OPatch lsInventory command, which is passed as a string.
- patch
Set String - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- source
Db 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 string - (Updatable) The OCID of the compartment the database software image belongs in.
- display
Name string - (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
- database
Software string[]Image One Off Patches - List of one-off patches for Database Homes.
- database
Version 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"}
- image
Shape stringFamily - To what shape the image is meant for.
- image
Type string - The type of software image. Can be grid or database.
- ls
Inventory string - The output from the OPatch lsInventory command, which is passed as a string.
- patch
Set string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- source
Db 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
- compartment
Id String - (Updatable) The OCID of the compartment the database software image belongs in.
- display
Name String - (Updatable) The user-friendly name for the database software image. The name does not have to be unique.
- database
Software List<String>Image One Off Patches - List of one-off patches for Database Homes.
- database
Version 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"}
- image
Shape StringFamily - To what shape the image is meant for.
- image
Type String - The type of software image. Can be grid or database.
- ls
Inventory String - The output from the OPatch lsInventory command, which is passed as a string.
- patch
Set String - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- source
Db 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:
- Database
Software List<string>Image Included Patches - List of one-off patches for Database Homes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Included
Patches stringSummary - 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 string - Detailed message for the lifecycle state.
- State string
- The current state of the database software image.
- Time
Created string - The date and time the database software image was created.
- Database
Software []stringImage Included Patches - List of one-off patches for Database Homes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Included
Patches stringSummary - 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 string - Detailed message for the lifecycle state.
- State string
- The current state of the database software image.
- Time
Created string - The date and time the database software image was created.
- database
Software List<String>Image Included Patches - List of one-off patches for Database Homes.
- id String
- The provider-assigned unique ID for this managed resource.
- included
Patches StringSummary - The patches included in the image and the version of the image.
- is
Upgrade BooleanSupported - True if this Database software image is supported for Upgrade.
- lifecycle
Details String - Detailed message for the lifecycle state.
- state String
- The current state of the database software image.
- time
Created String - The date and time the database software image was created.
- database
Software string[]Image Included Patches - List of one-off patches for Database Homes.
- id string
- The provider-assigned unique ID for this managed resource.
- included
Patches stringSummary - The patches included in the image and the version of the image.
- is
Upgrade booleanSupported - True if this Database software image is supported for Upgrade.
- lifecycle
Details string - Detailed message for the lifecycle state.
- state string
- The current state of the database software image.
- time
Created 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.
- database
Software List<String>Image Included Patches - List of one-off patches for Database Homes.
- id String
- The provider-assigned unique ID for this managed resource.
- included
Patches StringSummary - The patches included in the image and the version of the image.
- is
Upgrade BooleanSupported - True if this Database software image is supported for Upgrade.
- lifecycle
Details String - Detailed message for the lifecycle state.
- state String
- The current state of the database software image.
- time
Created 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.
- Compartment
Id string - (Updatable) The OCID of the compartment the database software image belongs in.
- Database
Software List<string>Image Included Patches - List of one-off patches for Database Homes.
- Database
Software List<string>Image One Off Patches - List of one-off patches for Database Homes.
- Database
Version 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.
- Display
Name 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"}
- Image
Shape stringFamily - To what shape the image is meant for.
- Image
Type string - The type of software image. Can be grid or database.
- Included
Patches stringSummary - 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 string - Detailed message for the lifecycle state.
- Ls
Inventory string - The output from the OPatch lsInventory command, which is passed as a string.
- Patch
Set string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- Source
Db 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.
- Time
Created string - The date and time the database software image was created.
- Compartment
Id string - (Updatable) The OCID of the compartment the database software image belongs in.
- Database
Software []stringImage Included Patches - List of one-off patches for Database Homes.
- Database
Software []stringImage One Off Patches - List of one-off patches for Database Homes.
- Database
Version 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.
- Display
Name 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"}
- Image
Shape stringFamily - To what shape the image is meant for.
- Image
Type string - The type of software image. Can be grid or database.
- Included
Patches stringSummary - 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 string - Detailed message for the lifecycle state.
- Ls
Inventory string - The output from the OPatch lsInventory command, which is passed as a string.
- Patch
Set string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- Source
Db 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.
- Time
Created string - The date and time the database software image was created.
- compartment
Id String - (Updatable) The OCID of the compartment the database software image belongs in.
- database
Software List<String>Image Included Patches - List of one-off patches for Database Homes.
- database
Software List<String>Image One Off Patches - List of one-off patches for Database Homes.
- database
Version 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.
- display
Name 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"}
- image
Shape StringFamily - To what shape the image is meant for.
- image
Type String - The type of software image. Can be grid or database.
- included
Patches StringSummary - The patches included in the image and the version of the image.
- is
Upgrade BooleanSupported - True if this Database software image is supported for Upgrade.
- lifecycle
Details String - Detailed message for the lifecycle state.
- ls
Inventory String - The output from the OPatch lsInventory command, which is passed as a string.
- patch
Set String - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- source
Db 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.
- time
Created String - The date and time the database software image was created.
- compartment
Id string - (Updatable) The OCID of the compartment the database software image belongs in.
- database
Software string[]Image Included Patches - List of one-off patches for Database Homes.
- database
Software string[]Image One Off Patches - List of one-off patches for Database Homes.
- database
Version 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.
- display
Name 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"}
- image
Shape stringFamily - To what shape the image is meant for.
- image
Type string - The type of software image. Can be grid or database.
- included
Patches stringSummary - The patches included in the image and the version of the image.
- is
Upgrade booleanSupported - True if this Database software image is supported for Upgrade.
- lifecycle
Details string - Detailed message for the lifecycle state.
- ls
Inventory string - The output from the OPatch lsInventory command, which is passed as a string.
- patch
Set string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- source
Db 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.
- time
Created 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.
- compartment
Id String - (Updatable) The OCID of the compartment the database software image belongs in.
- database
Software List<String>Image Included Patches - List of one-off patches for Database Homes.
- database
Software List<String>Image One Off Patches - List of one-off patches for Database Homes.
- database
Version 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.
- display
Name 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"}
- image
Shape StringFamily - To what shape the image is meant for.
- image
Type String - The type of software image. Can be grid or database.
- included
Patches StringSummary - The patches included in the image and the version of the image.
- is
Upgrade BooleanSupported - True if this Database software image is supported for Upgrade.
- lifecycle
Details String - Detailed message for the lifecycle state.
- ls
Inventory String - The output from the OPatch lsInventory command, which is passed as a string.
- patch
Set String - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- source
Db 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.
- time
Created 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.