Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.Database.getSystemVersionMinorVersions
Start a Neo task
Explain and create an oci.Database.getSystemVersionMinorVersions resource
This data source provides the list of System Version Minor Versions in Oracle Cloud Infrastructure Database service.
Retrieves a list of supported minor versions for the specified Exadata System Software major version. You must provide either a shape or resourceId value.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSystemVersionMinorVersions = oci.Database.getSystemVersionMinorVersions({
compartmentId: compartmentId,
giVersion: systemVersionMinorVersionGiVersion,
majorVersion: systemVersionMinorVersionMajorVersion,
isLatest: systemVersionMinorVersionIsLatest,
resourceId: testResource.id,
shape: systemVersionMinorVersionShape,
});
import pulumi
import pulumi_oci as oci
test_system_version_minor_versions = oci.Database.get_system_version_minor_versions(compartment_id=compartment_id,
gi_version=system_version_minor_version_gi_version,
major_version=system_version_minor_version_major_version,
is_latest=system_version_minor_version_is_latest,
resource_id=test_resource["id"],
shape=system_version_minor_version_shape)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.GetSystemVersionMinorVersions(ctx, &database.GetSystemVersionMinorVersionsArgs{
CompartmentId: compartmentId,
GiVersion: systemVersionMinorVersionGiVersion,
MajorVersion: systemVersionMinorVersionMajorVersion,
IsLatest: pulumi.BoolRef(systemVersionMinorVersionIsLatest),
ResourceId: pulumi.StringRef(testResource.Id),
Shape: pulumi.StringRef(systemVersionMinorVersionShape),
}, 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 testSystemVersionMinorVersions = Oci.Database.GetSystemVersionMinorVersions.Invoke(new()
{
CompartmentId = compartmentId,
GiVersion = systemVersionMinorVersionGiVersion,
MajorVersion = systemVersionMinorVersionMajorVersion,
IsLatest = systemVersionMinorVersionIsLatest,
ResourceId = testResource.Id,
Shape = systemVersionMinorVersionShape,
});
});
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.GetSystemVersionMinorVersionsArgs;
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 testSystemVersionMinorVersions = DatabaseFunctions.getSystemVersionMinorVersions(GetSystemVersionMinorVersionsArgs.builder()
.compartmentId(compartmentId)
.giVersion(systemVersionMinorVersionGiVersion)
.majorVersion(systemVersionMinorVersionMajorVersion)
.isLatest(systemVersionMinorVersionIsLatest)
.resourceId(testResource.id())
.shape(systemVersionMinorVersionShape)
.build());
}
}
variables:
testSystemVersionMinorVersions:
fn::invoke:
function: oci:Database:getSystemVersionMinorVersions
arguments:
compartmentId: ${compartmentId}
giVersion: ${systemVersionMinorVersionGiVersion}
majorVersion: ${systemVersionMinorVersionMajorVersion}
isLatest: ${systemVersionMinorVersionIsLatest}
resourceId: ${testResource.id}
shape: ${systemVersionMinorVersionShape}
Using getSystemVersionMinorVersions
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 getSystemVersionMinorVersions(args: GetSystemVersionMinorVersionsArgs, opts?: InvokeOptions): Promise<GetSystemVersionMinorVersionsResult>
function getSystemVersionMinorVersionsOutput(args: GetSystemVersionMinorVersionsOutputArgs, opts?: InvokeOptions): Output<GetSystemVersionMinorVersionsResult>def get_system_version_minor_versions(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetSystemVersionMinorVersionsFilter]] = None,
gi_version: Optional[str] = None,
is_latest: Optional[bool] = None,
major_version: Optional[str] = None,
resource_id: Optional[str] = None,
shape: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSystemVersionMinorVersionsResult
def get_system_version_minor_versions_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSystemVersionMinorVersionsFilterArgs]]]] = None,
gi_version: Optional[pulumi.Input[str]] = None,
is_latest: Optional[pulumi.Input[bool]] = None,
major_version: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
shape: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSystemVersionMinorVersionsResult]func GetSystemVersionMinorVersions(ctx *Context, args *GetSystemVersionMinorVersionsArgs, opts ...InvokeOption) (*GetSystemVersionMinorVersionsResult, error)
func GetSystemVersionMinorVersionsOutput(ctx *Context, args *GetSystemVersionMinorVersionsOutputArgs, opts ...InvokeOption) GetSystemVersionMinorVersionsResultOutput> Note: This function is named GetSystemVersionMinorVersions in the Go SDK.
public static class GetSystemVersionMinorVersions
{
public static Task<GetSystemVersionMinorVersionsResult> InvokeAsync(GetSystemVersionMinorVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetSystemVersionMinorVersionsResult> Invoke(GetSystemVersionMinorVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSystemVersionMinorVersionsResult> getSystemVersionMinorVersions(GetSystemVersionMinorVersionsArgs args, InvokeOptions options)
public static Output<GetSystemVersionMinorVersionsResult> getSystemVersionMinorVersions(GetSystemVersionMinorVersionsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getSystemVersionMinorVersions:getSystemVersionMinorVersions
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The compartment OCID.
- Gi
Version string - Specifies gi version query parameter.
- Major
Version string - The System major version.
- Filters
List<Get
System Version Minor Versions Filter> - Is
Latest bool - If provided, return highest versions from each major version family.
- Resource
Id string - If provided, filters the results for the specified resource Id.
- Shape string
- If provided, filters the results for the given shape.
- Compartment
Id string - The compartment OCID.
- Gi
Version string - Specifies gi version query parameter.
- Major
Version string - The System major version.
- Filters
[]Get
System Version Minor Versions Filter - Is
Latest bool - If provided, return highest versions from each major version family.
- Resource
Id string - If provided, filters the results for the specified resource Id.
- Shape string
- If provided, filters the results for the given shape.
- compartment
Id String - The compartment OCID.
- gi
Version String - Specifies gi version query parameter.
- major
Version String - The System major version.
- filters
List<Get
System Version Minor Versions Filter> - is
Latest Boolean - If provided, return highest versions from each major version family.
- resource
Id String - If provided, filters the results for the specified resource Id.
- shape String
- If provided, filters the results for the given shape.
- compartment
Id string - The compartment OCID.
- gi
Version string - Specifies gi version query parameter.
- major
Version string - The System major version.
- filters
Get
System Version Minor Versions Filter[] - is
Latest boolean - If provided, return highest versions from each major version family.
- resource
Id string - If provided, filters the results for the specified resource Id.
- shape string
- If provided, filters the results for the given shape.
- compartment_
id str - The compartment OCID.
- gi_
version str - Specifies gi version query parameter.
- major_
version str - The System major version.
- filters
Sequence[Get
System Version Minor Versions Filter] - is_
latest bool - If provided, return highest versions from each major version family.
- resource_
id str - If provided, filters the results for the specified resource Id.
- shape str
- If provided, filters the results for the given shape.
- compartment
Id String - The compartment OCID.
- gi
Version String - Specifies gi version query parameter.
- major
Version String - The System major version.
- filters List<Property Map>
- is
Latest Boolean - If provided, return highest versions from each major version family.
- resource
Id String - If provided, filters the results for the specified resource Id.
- shape String
- If provided, filters the results for the given shape.
getSystemVersionMinorVersions Result
The following output properties are available:
- Compartment
Id string - Gi
Version string - Id string
- The provider-assigned unique ID for this managed resource.
- Major
Version string - System
Version List<GetMinor Version Collections System Version Minor Versions System Version Minor Version Collection> - The list of system_version_minor_version_collection.
- Filters
List<Get
System Version Minor Versions Filter> - Is
Latest bool - Resource
Id string - Shape string
- Compartment
Id string - Gi
Version string - Id string
- The provider-assigned unique ID for this managed resource.
- Major
Version string - System
Version []GetMinor Version Collections System Version Minor Versions System Version Minor Version Collection - The list of system_version_minor_version_collection.
- Filters
[]Get
System Version Minor Versions Filter - Is
Latest bool - Resource
Id string - Shape string
- compartment
Id String - gi
Version String - id String
- The provider-assigned unique ID for this managed resource.
- major
Version String - system
Version List<GetMinor Version Collections System Version Minor Versions System Version Minor Version Collection> - The list of system_version_minor_version_collection.
- filters
List<Get
System Version Minor Versions Filter> - is
Latest Boolean - resource
Id String - shape String
- compartment
Id string - gi
Version string - id string
- The provider-assigned unique ID for this managed resource.
- major
Version string - system
Version GetMinor Version Collections System Version Minor Versions System Version Minor Version Collection[] - The list of system_version_minor_version_collection.
- filters
Get
System Version Minor Versions Filter[] - is
Latest boolean - resource
Id string - shape string
- compartment_
id str - gi_
version str - id str
- The provider-assigned unique ID for this managed resource.
- major_
version str - system_
version_ Sequence[Getminor_ version_ collections System Version Minor Versions System Version Minor Version Collection] - The list of system_version_minor_version_collection.
- filters
Sequence[Get
System Version Minor Versions Filter] - is_
latest bool - resource_
id str - shape str
- compartment
Id String - gi
Version String - id String
- The provider-assigned unique ID for this managed resource.
- major
Version String - system
Version List<Property Map>Minor Version Collections - The list of system_version_minor_version_collection.
- filters List<Property Map>
- is
Latest Boolean - resource
Id String - shape String
Supporting Types
GetSystemVersionMinorVersionsFilter
GetSystemVersionMinorVersionsSystemVersionMinorVersionCollection
- Items
List<Get
System Version Minor Versions System Version Minor Version Collection Item> - List of System minor versions.
- Items
[]Get
System Version Minor Versions System Version Minor Version Collection Item - List of System minor versions.
- items
List<Get
System Version Minor Versions System Version Minor Version Collection Item> - List of System minor versions.
- items
Get
System Version Minor Versions System Version Minor Version Collection Item[] - List of System minor versions.
- items
Sequence[Get
System Version Minor Versions System Version Minor Version Collection Item] - List of System minor versions.
- items List<Property Map>
- List of System minor versions.
GetSystemVersionMinorVersionsSystemVersionMinorVersionCollectionItem
- Version string
- A valid system minor version.
- Version string
- A valid system minor version.
- version String
- A valid system minor version.
- version string
- A valid system minor version.
- version str
- A valid system minor version.
- version String
- A valid system minor version.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
