Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getGiVersionMinorVersions
Explore with Pulumi AI
This data source provides the list of Gi Version Minor Versions in Oracle Cloud Infrastructure Database service.
Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testGiVersionMinorVersions = oci.Database.getGiVersionMinorVersions({
    version: giVersionMinorVersionVersion,
    availabilityDomain: giVersionMinorVersionAvailabilityDomain,
    compartmentId: compartmentId,
    isGiVersionForProvisioning: giVersionMinorVersionIsGiVersionForProvisioning,
    shape: giVersionMinorVersionShape,
    shapeFamily: giVersionMinorVersionShapeFamily,
});
import pulumi
import pulumi_oci as oci
test_gi_version_minor_versions = oci.Database.get_gi_version_minor_versions(version=gi_version_minor_version_version,
    availability_domain=gi_version_minor_version_availability_domain,
    compartment_id=compartment_id,
    is_gi_version_for_provisioning=gi_version_minor_version_is_gi_version_for_provisioning,
    shape=gi_version_minor_version_shape,
    shape_family=gi_version_minor_version_shape_family)
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.GetGiVersionMinorVersions(ctx, &database.GetGiVersionMinorVersionsArgs{
			Version:                    giVersionMinorVersionVersion,
			AvailabilityDomain:         pulumi.StringRef(giVersionMinorVersionAvailabilityDomain),
			CompartmentId:              pulumi.StringRef(compartmentId),
			IsGiVersionForProvisioning: pulumi.BoolRef(giVersionMinorVersionIsGiVersionForProvisioning),
			Shape:                      pulumi.StringRef(giVersionMinorVersionShape),
			ShapeFamily:                pulumi.StringRef(giVersionMinorVersionShapeFamily),
		}, 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 testGiVersionMinorVersions = Oci.Database.GetGiVersionMinorVersions.Invoke(new()
    {
        Version = giVersionMinorVersionVersion,
        AvailabilityDomain = giVersionMinorVersionAvailabilityDomain,
        CompartmentId = compartmentId,
        IsGiVersionForProvisioning = giVersionMinorVersionIsGiVersionForProvisioning,
        Shape = giVersionMinorVersionShape,
        ShapeFamily = giVersionMinorVersionShapeFamily,
    });
});
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.GetGiVersionMinorVersionsArgs;
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 testGiVersionMinorVersions = DatabaseFunctions.getGiVersionMinorVersions(GetGiVersionMinorVersionsArgs.builder()
            .version(giVersionMinorVersionVersion)
            .availabilityDomain(giVersionMinorVersionAvailabilityDomain)
            .compartmentId(compartmentId)
            .isGiVersionForProvisioning(giVersionMinorVersionIsGiVersionForProvisioning)
            .shape(giVersionMinorVersionShape)
            .shapeFamily(giVersionMinorVersionShapeFamily)
            .build());
    }
}
variables:
  testGiVersionMinorVersions:
    fn::invoke:
      function: oci:Database:getGiVersionMinorVersions
      arguments:
        version: ${giVersionMinorVersionVersion}
        availabilityDomain: ${giVersionMinorVersionAvailabilityDomain}
        compartmentId: ${compartmentId}
        isGiVersionForProvisioning: ${giVersionMinorVersionIsGiVersionForProvisioning}
        shape: ${giVersionMinorVersionShape}
        shapeFamily: ${giVersionMinorVersionShapeFamily}
Using getGiVersionMinorVersions
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 getGiVersionMinorVersions(args: GetGiVersionMinorVersionsArgs, opts?: InvokeOptions): Promise<GetGiVersionMinorVersionsResult>
function getGiVersionMinorVersionsOutput(args: GetGiVersionMinorVersionsOutputArgs, opts?: InvokeOptions): Output<GetGiVersionMinorVersionsResult>def get_gi_version_minor_versions(availability_domain: Optional[str] = None,
                                  compartment_id: Optional[str] = None,
                                  filters: Optional[Sequence[GetGiVersionMinorVersionsFilter]] = None,
                                  is_gi_version_for_provisioning: Optional[bool] = None,
                                  shape: Optional[str] = None,
                                  shape_family: Optional[str] = None,
                                  version: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetGiVersionMinorVersionsResult
def get_gi_version_minor_versions_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                  compartment_id: Optional[pulumi.Input[str]] = None,
                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGiVersionMinorVersionsFilterArgs]]]] = None,
                                  is_gi_version_for_provisioning: Optional[pulumi.Input[bool]] = None,
                                  shape: Optional[pulumi.Input[str]] = None,
                                  shape_family: Optional[pulumi.Input[str]] = None,
                                  version: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetGiVersionMinorVersionsResult]func GetGiVersionMinorVersions(ctx *Context, args *GetGiVersionMinorVersionsArgs, opts ...InvokeOption) (*GetGiVersionMinorVersionsResult, error)
func GetGiVersionMinorVersionsOutput(ctx *Context, args *GetGiVersionMinorVersionsOutputArgs, opts ...InvokeOption) GetGiVersionMinorVersionsResultOutput> Note: This function is named GetGiVersionMinorVersions in the Go SDK.
public static class GetGiVersionMinorVersions 
{
    public static Task<GetGiVersionMinorVersionsResult> InvokeAsync(GetGiVersionMinorVersionsArgs args, InvokeOptions? opts = null)
    public static Output<GetGiVersionMinorVersionsResult> Invoke(GetGiVersionMinorVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGiVersionMinorVersionsResult> getGiVersionMinorVersions(GetGiVersionMinorVersionsArgs args, InvokeOptions options)
public static Output<GetGiVersionMinorVersionsResult> getGiVersionMinorVersions(GetGiVersionMinorVersionsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getGiVersionMinorVersions:getGiVersionMinorVersions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Version string
- The Oracle Grid Infrastructure major version.
- AvailabilityDomain string
- The target availability domain. Only passed if the limit is AD-specific.
- CompartmentId string
- The compartment OCID.
- Filters
List<GetGi Version Minor Versions Filter> 
- IsGi boolVersion For Provisioning 
- If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
- Shape string
- If provided, filters the results for the given shape.
- ShapeFamily string
- If provided, filters the results to the set of database versions which are supported for the given shape family.
- Version string
- The Oracle Grid Infrastructure major version.
- AvailabilityDomain string
- The target availability domain. Only passed if the limit is AD-specific.
- CompartmentId string
- The compartment OCID.
- Filters
[]GetGi Version Minor Versions Filter 
- IsGi boolVersion For Provisioning 
- If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
- Shape string
- If provided, filters the results for the given shape.
- ShapeFamily string
- If provided, filters the results to the set of database versions which are supported for the given shape family.
- version String
- The Oracle Grid Infrastructure major version.
- availabilityDomain String
- The target availability domain. Only passed if the limit is AD-specific.
- compartmentId String
- The compartment OCID.
- filters
List<GetGi Version Minor Versions Filter> 
- isGi BooleanVersion For Provisioning 
- If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
- shape String
- If provided, filters the results for the given shape.
- shapeFamily String
- If provided, filters the results to the set of database versions which are supported for the given shape family.
- version string
- The Oracle Grid Infrastructure major version.
- availabilityDomain string
- The target availability domain. Only passed if the limit is AD-specific.
- compartmentId string
- The compartment OCID.
- filters
GetGi Version Minor Versions Filter[] 
- isGi booleanVersion For Provisioning 
- If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
- shape string
- If provided, filters the results for the given shape.
- shapeFamily string
- If provided, filters the results to the set of database versions which are supported for the given shape family.
- version str
- The Oracle Grid Infrastructure major version.
- availability_domain str
- The target availability domain. Only passed if the limit is AD-specific.
- compartment_id str
- The compartment OCID.
- filters
Sequence[GetGi Version Minor Versions Filter] 
- is_gi_ boolversion_ for_ provisioning 
- If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
- shape str
- If provided, filters the results for the given shape.
- shape_family str
- If provided, filters the results to the set of database versions which are supported for the given shape family.
- version String
- The Oracle Grid Infrastructure major version.
- availabilityDomain String
- The target availability domain. Only passed if the limit is AD-specific.
- compartmentId String
- The compartment OCID.
- filters List<Property Map>
- isGi BooleanVersion For Provisioning 
- If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
- shape String
- If provided, filters the results for the given shape.
- shapeFamily String
- If provided, filters the results to the set of database versions which are supported for the given shape family.
getGiVersionMinorVersions Result
The following output properties are available:
- GiMinor List<GetVersions Gi Version Minor Versions Gi Minor Version> 
- The list of gi_minor_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version string
- A valid Oracle Grid Infrastructure (GI) software version.
- AvailabilityDomain string
- CompartmentId string
- Filters
List<GetGi Version Minor Versions Filter> 
- IsGi boolVersion For Provisioning 
- Shape string
- ShapeFamily string
- GiMinor []GetVersions Gi Version Minor Versions Gi Minor Version 
- The list of gi_minor_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version string
- A valid Oracle Grid Infrastructure (GI) software version.
- AvailabilityDomain string
- CompartmentId string
- Filters
[]GetGi Version Minor Versions Filter 
- IsGi boolVersion For Provisioning 
- Shape string
- ShapeFamily string
- giMinor List<GetVersions Gi Version Minor Versions Gi Minor Version> 
- The list of gi_minor_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- version String
- A valid Oracle Grid Infrastructure (GI) software version.
- availabilityDomain String
- compartmentId String
- filters
List<GetGi Version Minor Versions Filter> 
- isGi BooleanVersion For Provisioning 
- shape String
- shapeFamily String
- giMinor GetVersions Gi Version Minor Versions Gi Minor Version[] 
- The list of gi_minor_versions.
- id string
- The provider-assigned unique ID for this managed resource.
- version string
- A valid Oracle Grid Infrastructure (GI) software version.
- availabilityDomain string
- compartmentId string
- filters
GetGi Version Minor Versions Filter[] 
- isGi booleanVersion For Provisioning 
- shape string
- shapeFamily string
- gi_minor_ Sequence[Getversions Gi Version Minor Versions Gi Minor Version] 
- The list of gi_minor_versions.
- id str
- The provider-assigned unique ID for this managed resource.
- version str
- A valid Oracle Grid Infrastructure (GI) software version.
- availability_domain str
- compartment_id str
- filters
Sequence[GetGi Version Minor Versions Filter] 
- is_gi_ boolversion_ for_ provisioning 
- shape str
- shape_family str
- giMinor List<Property Map>Versions 
- The list of gi_minor_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- version String
- A valid Oracle Grid Infrastructure (GI) software version.
- availabilityDomain String
- compartmentId String
- filters List<Property Map>
- isGi BooleanVersion For Provisioning 
- shape String
- shapeFamily String
Supporting Types
GetGiVersionMinorVersionsFilter     
GetGiVersionMinorVersionsGiMinorVersion       
- GridImage stringId 
- Grid Infrastructure Image Id
- Version string
- The Oracle Grid Infrastructure major version.
- GridImage stringId 
- Grid Infrastructure Image Id
- Version string
- The Oracle Grid Infrastructure major version.
- gridImage StringId 
- Grid Infrastructure Image Id
- version String
- The Oracle Grid Infrastructure major version.
- gridImage stringId 
- Grid Infrastructure Image Id
- version string
- The Oracle Grid Infrastructure major version.
- grid_image_ strid 
- Grid Infrastructure Image Id
- version str
- The Oracle Grid Infrastructure major version.
- gridImage StringId 
- Grid Infrastructure Image Id
- version String
- The Oracle Grid Infrastructure major version.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.