import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Database Software Image resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/DatabaseSoftwareImage * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * create database software image in the specified compartment. * * ## Example Usage * * ```typescript * 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 * * DatabaseSoftwareImages can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/databaseSoftwareImage:DatabaseSoftwareImage test_database_software_image "id" * ``` */ export declare class DatabaseSoftwareImage extends pulumi.CustomResource { /** * Get an existing DatabaseSoftwareImage resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DatabaseSoftwareImageState, opts?: pulumi.CustomResourceOptions): DatabaseSoftwareImage; /** * Returns true if the given object is an instance of DatabaseSoftwareImage. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DatabaseSoftwareImage; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the database software image belongs in. */ readonly compartmentId: pulumi.Output; /** * List of one-off patches for Database Homes. */ readonly databaseSoftwareImageIncludedPatches: pulumi.Output; /** * List of one-off patches for Database Homes. */ readonly databaseSoftwareImageOneOffPatches: pulumi.Output; /** * The database version with which the database software image is to be built. */ readonly databaseVersion: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The user-friendly name for the database software image. The name does not have to be unique. */ readonly displayName: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * To what shape the image is meant for. */ readonly imageShapeFamily: pulumi.Output; /** * The type of software image. Can be grid or database. */ readonly imageType: pulumi.Output; /** * The patches included in the image and the version of the image. */ readonly includedPatchesSummary: pulumi.Output; /** * True if this Database software image is supported for Upgrade. */ readonly isUpgradeSupported: pulumi.Output; /** * Detailed message for the lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The output from the OPatch lsInventory command, which is passed as a string. */ readonly lsInventory: pulumi.Output; /** * The PSU or PBP or Release Updates. To get a list of supported versions, use the [ListDbVersions](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbVersionSummary/ListDbVersions) operation. */ readonly patchSet: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 */ readonly sourceDbHomeId: pulumi.Output; /** * The current state of the database software image. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the database software image was created. */ readonly timeCreated: pulumi.Output; /** * Create a DatabaseSoftwareImage resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DatabaseSoftwareImageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatabaseSoftwareImage resources. */ export interface DatabaseSoftwareImageState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the database software image belongs in. */ compartmentId?: pulumi.Input; /** * List of one-off patches for Database Homes. */ databaseSoftwareImageIncludedPatches?: pulumi.Input[] | undefined>; /** * List of one-off patches for Database Homes. */ databaseSoftwareImageOneOffPatches?: pulumi.Input[] | undefined>; /** * The database version with which the database software image is to be built. */ databaseVersion?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The user-friendly name for the database software image. The name does not have to be unique. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * To what shape the image is meant for. */ imageShapeFamily?: pulumi.Input; /** * The type of software image. Can be grid or database. */ imageType?: pulumi.Input; /** * The patches included in the image and the version of the image. */ includedPatchesSummary?: pulumi.Input; /** * True if this Database software image is supported for Upgrade. */ isUpgradeSupported?: pulumi.Input; /** * Detailed message for the lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The output from the OPatch lsInventory command, which is passed as a string. */ lsInventory?: pulumi.Input; /** * The PSU or PBP or Release Updates. To get a list of supported versions, use the [ListDbVersions](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbVersionSummary/ListDbVersions) operation. */ patchSet?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 */ sourceDbHomeId?: pulumi.Input; /** * The current state of the database software image. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the database software image was created. */ timeCreated?: pulumi.Input; } /** * The set of arguments for constructing a DatabaseSoftwareImage resource. */ export interface DatabaseSoftwareImageArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the database software image belongs in. */ compartmentId: pulumi.Input; /** * List of one-off patches for Database Homes. */ databaseSoftwareImageOneOffPatches?: pulumi.Input[] | undefined>; /** * The database version with which the database software image is to be built. */ databaseVersion?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The user-friendly name for the database software image. The name does not have to be unique. */ displayName: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * To what shape the image is meant for. */ imageShapeFamily?: pulumi.Input; /** * The type of software image. Can be grid or database. */ imageType?: pulumi.Input; /** * The output from the OPatch lsInventory command, which is passed as a string. */ lsInventory?: pulumi.Input; /** * The PSU or PBP or Release Updates. To get a list of supported versions, use the [ListDbVersions](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbVersionSummary/ListDbVersions) operation. */ patchSet?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 */ sourceDbHomeId?: pulumi.Input; } //# sourceMappingURL=databaseSoftwareImage.d.ts.map