Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Database.getDatabaseSoftwareImage
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Database Software Image resource in Oracle Cloud Infrastructure Database service.
Gets information about the specified database software image.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseSoftwareImage = oci.Database.getDatabaseSoftwareImage({
databaseSoftwareImageId: testDatabaseSoftwareImageOciDatabaseDatabaseSoftwareImage.id,
});
import pulumi
import pulumi_oci as oci
test_database_software_image = oci.Database.get_database_software_image(database_software_image_id=test_database_software_image_oci_database_database_software_image["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Database.GetDatabaseSoftwareImage(ctx, &database.GetDatabaseSoftwareImageArgs{
DatabaseSoftwareImageId: testDatabaseSoftwareImageOciDatabaseDatabaseSoftwareImage.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDatabaseSoftwareImage = Oci.Database.GetDatabaseSoftwareImage.Invoke(new()
{
DatabaseSoftwareImageId = testDatabaseSoftwareImageOciDatabaseDatabaseSoftwareImage.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetDatabaseSoftwareImageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testDatabaseSoftwareImage = DatabaseFunctions.getDatabaseSoftwareImage(GetDatabaseSoftwareImageArgs.builder()
.databaseSoftwareImageId(testDatabaseSoftwareImageOciDatabaseDatabaseSoftwareImage.id())
.build());
}
}
variables:
testDatabaseSoftwareImage:
fn::invoke:
Function: oci:Database:getDatabaseSoftwareImage
Arguments:
databaseSoftwareImageId: ${testDatabaseSoftwareImageOciDatabaseDatabaseSoftwareImage.id}
Using getDatabaseSoftwareImage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabaseSoftwareImage(args: GetDatabaseSoftwareImageArgs, opts?: InvokeOptions): Promise<GetDatabaseSoftwareImageResult>
function getDatabaseSoftwareImageOutput(args: GetDatabaseSoftwareImageOutputArgs, opts?: InvokeOptions): Output<GetDatabaseSoftwareImageResult>
def get_database_software_image(database_software_image_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseSoftwareImageResult
def get_database_software_image_output(database_software_image_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseSoftwareImageResult]
func GetDatabaseSoftwareImage(ctx *Context, args *GetDatabaseSoftwareImageArgs, opts ...InvokeOption) (*GetDatabaseSoftwareImageResult, error)
func GetDatabaseSoftwareImageOutput(ctx *Context, args *GetDatabaseSoftwareImageOutputArgs, opts ...InvokeOption) GetDatabaseSoftwareImageResultOutput
> Note: This function is named GetDatabaseSoftwareImage
in the Go SDK.
public static class GetDatabaseSoftwareImage
{
public static Task<GetDatabaseSoftwareImageResult> InvokeAsync(GetDatabaseSoftwareImageArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseSoftwareImageResult> Invoke(GetDatabaseSoftwareImageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseSoftwareImageResult> getDatabaseSoftwareImage(GetDatabaseSoftwareImageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getDatabaseSoftwareImage:getDatabaseSoftwareImage
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Software stringImage Id - The DB system OCID.
- Database
Software stringImage Id - The DB system OCID.
- database
Software StringImage Id - The DB system OCID.
- database
Software stringImage Id - The DB system OCID.
- database_
software_ strimage_ id - The DB system OCID.
- database
Software StringImage Id - The DB system OCID.
getDatabaseSoftwareImage Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Database
Software stringImage Id - 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, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-friendly name for the database software image. The name does not have to be unique.
- Dictionary<string, object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the database software image.
- 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 - 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 - The OCID of the compartment.
- Database
Software stringImage Id - 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]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-friendly name for the database software image. The name does not have to be unique.
- map[string]interface{}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the database software image.
- 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 - 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 - The OCID of the compartment.
- database
Software StringImage Id - 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,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-friendly name for the database software image. The name does not have to be unique.
- Map<String,Object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the database software image.
- 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 - 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 - The OCID of the compartment.
- database
Software stringImage Id - 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]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name string - The user-friendly name for the database software image. The name does not have to be unique.
- {[key: string]: any}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id string
- The OCID of the database software image.
- 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 - 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 - The OCID of the compartment.
- database_
software_ strimage_ id - 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, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_
name str - The user-friendly name for the database software image. The name does not have to be unique.
- Mapping[str, Any]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id str
- The OCID of the database software image.
- 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 - 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 - The OCID of the compartment.
- database
Software StringImage Id - 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<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-friendly name for the database software image. The name does not have to be unique.
- Map<Any>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the database software image.
- 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 - state String
- The current state of the database software image.
- time
Created String - The date and time the database software image was created.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi