Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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[_database.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[_database.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getGiVersionMinorVersions:getGiVersionMinorVersions
arguments:
# arguments dictionary
The following arguments are supported:
- Version string
- The Oracle Grid Infrastructure major version.
- Availability
Domain string - The target availability domain. Only passed if the limit is AD-specific.
- Compartment
Id string - The compartment OCID.
- Filters
List<Get
Gi 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 string
- If provided, filters the results for the given shape.
- Shape
Family 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.
- Availability
Domain string - The target availability domain. Only passed if the limit is AD-specific.
- Compartment
Id string - The compartment OCID.
- Filters
[]Get
Gi 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 string
- If provided, filters the results for the given shape.
- Shape
Family 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.
- availability
Domain String - The target availability domain. Only passed if the limit is AD-specific.
- compartment
Id String - The compartment OCID.
- filters
List<Get
Gi Version Minor Versions Filter> - is
Gi 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.
- shape
Family 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.
- availability
Domain string - The target availability domain. Only passed if the limit is AD-specific.
- compartment
Id string - The compartment OCID.
- filters
Get
Gi Version Minor Versions Filter[] - is
Gi 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.
- shape
Family 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[database.
Get Gi 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.
- availability
Domain String - The target availability domain. Only passed if the limit is AD-specific.
- compartment
Id String - The compartment OCID.
- filters List<Property Map>
- is
Gi 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.
- shape
Family 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:
- Gi
Minor 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.
- Availability
Domain string - Compartment
Id string - Filters
List<Get
Gi Version Minor Versions Filter> - Is
Gi boolVersion For Provisioning - Shape string
- Shape
Family string
- Gi
Minor []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.
- Availability
Domain string - Compartment
Id string - Filters
[]Get
Gi Version Minor Versions Filter - Is
Gi boolVersion For Provisioning - Shape string
- Shape
Family string
- gi
Minor 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.
- availability
Domain String - compartment
Id String - filters
List<Get
Gi Version Minor Versions Filter> - is
Gi BooleanVersion For Provisioning - shape String
- shape
Family String
- gi
Minor 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.
- availability
Domain string - compartment
Id string - filters
Get
Gi Version Minor Versions Filter[] - is
Gi booleanVersion For Provisioning - shape string
- shape
Family string
- gi_
minor_ Sequence[database.versions Get 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[database.
Get Gi Version Minor Versions Filter] - is_
gi_ boolversion_ for_ provisioning - shape str
- shape_
family str
- gi
Minor 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.
- availability
Domain String - compartment
Id String - filters List<Property Map>
- is
Gi BooleanVersion For Provisioning - shape String
- shape
Family String
Supporting Types
GetGiVersionMinorVersionsFilter
GetGiVersionMinorVersionsGiMinorVersion
- Grid
Image stringId - Grid Infrastructure Image Id
- Version string
- The Oracle Grid Infrastructure major version.
- Grid
Image stringId - Grid Infrastructure Image Id
- Version string
- The Oracle Grid Infrastructure major version.
- grid
Image StringId - Grid Infrastructure Image Id
- version String
- The Oracle Grid Infrastructure major version.
- grid
Image 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.
- grid
Image 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
oci
Terraform Provider.