Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Database.getAutonomousDatabaseSoftwareImages
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Autonomous Database Software Images in Oracle Cloud Infrastructure Database service.
Gets a list of the Autonomous Database Software Images in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousDatabaseSoftwareImages = oci.Database.getAutonomousDatabaseSoftwareImages({
compartmentId: compartmentId,
imageShapeFamily: autonomousDatabaseSoftwareImageImageShapeFamily,
displayName: autonomousDatabaseSoftwareImageDisplayName,
state: autonomousDatabaseSoftwareImageState,
});
import pulumi
import pulumi_oci as oci
test_autonomous_database_software_images = oci.Database.get_autonomous_database_software_images(compartment_id=compartment_id,
image_shape_family=autonomous_database_software_image_image_shape_family,
display_name=autonomous_database_software_image_display_name,
state=autonomous_database_software_image_state)
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.GetAutonomousDatabaseSoftwareImages(ctx, &database.GetAutonomousDatabaseSoftwareImagesArgs{
CompartmentId: compartmentId,
ImageShapeFamily: autonomousDatabaseSoftwareImageImageShapeFamily,
DisplayName: pulumi.StringRef(autonomousDatabaseSoftwareImageDisplayName),
State: pulumi.StringRef(autonomousDatabaseSoftwareImageState),
}, 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 testAutonomousDatabaseSoftwareImages = Oci.Database.GetAutonomousDatabaseSoftwareImages.Invoke(new()
{
CompartmentId = compartmentId,
ImageShapeFamily = autonomousDatabaseSoftwareImageImageShapeFamily,
DisplayName = autonomousDatabaseSoftwareImageDisplayName,
State = autonomousDatabaseSoftwareImageState,
});
});
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.GetAutonomousDatabaseSoftwareImagesArgs;
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 testAutonomousDatabaseSoftwareImages = DatabaseFunctions.getAutonomousDatabaseSoftwareImages(GetAutonomousDatabaseSoftwareImagesArgs.builder()
.compartmentId(compartmentId)
.imageShapeFamily(autonomousDatabaseSoftwareImageImageShapeFamily)
.displayName(autonomousDatabaseSoftwareImageDisplayName)
.state(autonomousDatabaseSoftwareImageState)
.build());
}
}
variables:
testAutonomousDatabaseSoftwareImages:
fn::invoke:
Function: oci:Database:getAutonomousDatabaseSoftwareImages
Arguments:
compartmentId: ${compartmentId}
imageShapeFamily: ${autonomousDatabaseSoftwareImageImageShapeFamily}
displayName: ${autonomousDatabaseSoftwareImageDisplayName}
state: ${autonomousDatabaseSoftwareImageState}
Using getAutonomousDatabaseSoftwareImages
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 getAutonomousDatabaseSoftwareImages(args: GetAutonomousDatabaseSoftwareImagesArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseSoftwareImagesResult>
function getAutonomousDatabaseSoftwareImagesOutput(args: GetAutonomousDatabaseSoftwareImagesOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseSoftwareImagesResult>
def get_autonomous_database_software_images(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_database.GetAutonomousDatabaseSoftwareImagesFilter]] = None,
image_shape_family: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseSoftwareImagesResult
def get_autonomous_database_software_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetAutonomousDatabaseSoftwareImagesFilterArgs]]]] = None,
image_shape_family: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseSoftwareImagesResult]
func GetAutonomousDatabaseSoftwareImages(ctx *Context, args *GetAutonomousDatabaseSoftwareImagesArgs, opts ...InvokeOption) (*GetAutonomousDatabaseSoftwareImagesResult, error)
func GetAutonomousDatabaseSoftwareImagesOutput(ctx *Context, args *GetAutonomousDatabaseSoftwareImagesOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseSoftwareImagesResultOutput
> Note: This function is named GetAutonomousDatabaseSoftwareImages
in the Go SDK.
public static class GetAutonomousDatabaseSoftwareImages
{
public static Task<GetAutonomousDatabaseSoftwareImagesResult> InvokeAsync(GetAutonomousDatabaseSoftwareImagesArgs args, InvokeOptions? opts = null)
public static Output<GetAutonomousDatabaseSoftwareImagesResult> Invoke(GetAutonomousDatabaseSoftwareImagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousDatabaseSoftwareImagesResult> getAutonomousDatabaseSoftwareImages(GetAutonomousDatabaseSoftwareImagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getAutonomousDatabaseSoftwareImages:getAutonomousDatabaseSoftwareImages
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The compartment OCID.
- Image
Shape stringFamily - A filter to return only resources that match the given image shape family exactly.
- Display
Name string - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- Filters
List<Get
Autonomous Database Software Images Filter> - State string
- A filter to return only resources that match the given lifecycle state exactly.
- Compartment
Id string - The compartment OCID.
- Image
Shape stringFamily - A filter to return only resources that match the given image shape family exactly.
- Display
Name string - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- Filters
[]Get
Autonomous Database Software Images Filter - State string
- A filter to return only resources that match the given lifecycle state exactly.
- compartment
Id String - The compartment OCID.
- image
Shape StringFamily - A filter to return only resources that match the given image shape family exactly.
- display
Name String - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters
List<Get
Autonomous Software Images Filter> - state String
- A filter to return only resources that match the given lifecycle state exactly.
- compartment
Id string - The compartment OCID.
- image
Shape stringFamily - A filter to return only resources that match the given image shape family exactly.
- display
Name string - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters
Get
Autonomous Database Software Images Filter[] - state string
- A filter to return only resources that match the given lifecycle state exactly.
- compartment_
id str - The compartment OCID.
- image_
shape_ strfamily - A filter to return only resources that match the given image shape family exactly.
- display_
name str - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters
Sequence[database.
Get Autonomous Database Software Images Filter] - state str
- A filter to return only resources that match the given lifecycle state exactly.
- compartment
Id String - The compartment OCID.
- image
Shape StringFamily - A filter to return only resources that match the given image shape family exactly.
- display
Name String - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- filters List<Property Map>
- state String
- A filter to return only resources that match the given lifecycle state exactly.
getAutonomousDatabaseSoftwareImages Result
The following output properties are available:
- Autonomous
Database List<GetSoftware Image Collections Autonomous Database Software Images Autonomous Database Software Image Collection> - The list of autonomous_database_software_image_collection.
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Shape stringFamily - To what shape the image is meant for.
- Display
Name string - The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- Filters
List<Get
Autonomous Database Software Images Filter> - State string
- The current state of the Autonomous Database Software Image.
- Autonomous
Database []GetSoftware Image Collections Autonomous Database Software Images Autonomous Database Software Image Collection - The list of autonomous_database_software_image_collection.
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Shape stringFamily - To what shape the image is meant for.
- Display
Name string - The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- Filters
[]Get
Autonomous Database Software Images Filter - State string
- The current state of the Autonomous Database Software Image.
- autonomous
Database List<GetSoftware Image Collections Autonomous Software Images Autonomous Software Image Collection> - The list of autonomous_database_software_image_collection.
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Shape StringFamily - To what shape the image is meant for.
- display
Name String - The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters
List<Get
Autonomous Software Images Filter> - state String
- The current state of the Autonomous Database Software Image.
- autonomous
Database GetSoftware Image Collections Autonomous Database Software Images Autonomous Database Software Image Collection[] - The list of autonomous_database_software_image_collection.
- compartment
Id string - The OCID of the compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- image
Shape stringFamily - To what shape the image is meant for.
- display
Name string - The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters
Get
Autonomous Database Software Images Filter[] - state string
- The current state of the Autonomous Database Software Image.
- autonomous_
database_ Sequence[database.software_ image_ collections Get Autonomous Database Software Images Autonomous Database Software Image Collection] - The list of autonomous_database_software_image_collection.
- compartment_
id str - The OCID of the compartment.
- id str
- The provider-assigned unique ID for this managed resource.
- image_
shape_ strfamily - To what shape the image is meant for.
- display_
name str - The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters
Sequence[database.
Get Autonomous Database Software Images Filter] - state str
- The current state of the Autonomous Database Software Image.
- autonomous
Database List<Property Map>Software Image Collections - The list of autonomous_database_software_image_collection.
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Shape StringFamily - To what shape the image is meant for.
- display
Name String - The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
- filters List<Property Map>
- state String
- The current state of the Autonomous Database Software Image.
Supporting Types
GetAutonomousDatabaseSoftwareImagesAutonomousDatabaseSoftwareImageCollection
GetAutonomousDatabaseSoftwareImagesAutonomousDatabaseSoftwareImageCollectionItem
- Autonomous
Dsi List<string>One Off Patches - One-off patches included in the Autonomous Database Software Image
- Compartment
Id string - The compartment OCID.
- Database
Version string - The database version with which the Autonomous 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 - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- Image
Shape stringFamily - A filter to return only resources that match the given image shape family exactly.
- Lifecycle
Details string - Detailed message for the lifecycle state.
- Release
Update string - The Release Updates.
- Source
Cdb stringId - State string
- A filter to return only resources that match the given lifecycle state exactly.
- Time
Created string - The date and time the Autonomous Database Software Image was created.
- Autonomous
Dsi []stringOne Off Patches - One-off patches included in the Autonomous Database Software Image
- Compartment
Id string - The compartment OCID.
- Database
Version string - The database version with which the Autonomous 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 - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- Image
Shape stringFamily - A filter to return only resources that match the given image shape family exactly.
- Lifecycle
Details string - Detailed message for the lifecycle state.
- Release
Update string - The Release Updates.
- Source
Cdb stringId - State string
- A filter to return only resources that match the given lifecycle state exactly.
- Time
Created string - The date and time the Autonomous Database Software Image was created.
- autonomous
Dsi List<String>One Off Patches - One-off patches included in the Autonomous Database Software Image
- compartment
Id String - The compartment OCID.
- database
Version String - The database version with which the Autonomous 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 - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- image
Shape StringFamily - A filter to return only resources that match the given image shape family exactly.
- lifecycle
Details String - Detailed message for the lifecycle state.
- release
Update String - The Release Updates.
- source
Cdb StringId - state String
- A filter to return only resources that match the given lifecycle state exactly.
- time
Created String - The date and time the Autonomous Database Software Image was created.
- autonomous
Dsi string[]One Off Patches - One-off patches included in the Autonomous Database Software Image
- compartment
Id string - The compartment OCID.
- database
Version string - The database version with which the Autonomous 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 - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- {[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 Autonomous Database Software Image.
- image
Shape stringFamily - A filter to return only resources that match the given image shape family exactly.
- lifecycle
Details string - Detailed message for the lifecycle state.
- release
Update string - The Release Updates.
- source
Cdb stringId - state string
- A filter to return only resources that match the given lifecycle state exactly.
- time
Created string - The date and time the Autonomous Database Software Image was created.
- autonomous_
dsi_ Sequence[str]one_ off_ patches - One-off patches included in the Autonomous Database Software Image
- compartment_
id str - The compartment OCID.
- database_
version str - The database version with which the Autonomous 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 - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- image_
shape_ strfamily - A filter to return only resources that match the given image shape family exactly.
- lifecycle_
details str - Detailed message for the lifecycle state.
- release_
update str - The Release Updates.
- source_
cdb_ strid - state str
- A filter to return only resources that match the given lifecycle state exactly.
- time_
created str - The date and time the Autonomous Database Software Image was created.
- autonomous
Dsi List<String>One Off Patches - One-off patches included in the Autonomous Database Software Image
- compartment
Id String - The compartment OCID.
- database
Version String - The database version with which the Autonomous 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 - A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Autonomous Database Software Image.
- image
Shape StringFamily - A filter to return only resources that match the given image shape family exactly.
- lifecycle
Details String - Detailed message for the lifecycle state.
- release
Update String - The Release Updates.
- source
Cdb StringId - state String
- A filter to return only resources that match the given lifecycle state exactly.
- time
Created String - The date and time the Autonomous Database Software Image was created.
GetAutonomousDatabaseSoftwareImagesFilter
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