import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Gi Versions in Oracle Cloud Infrastructure Database service. * * Gets a list of supported GI versions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testGiVersions = oci.database.getGiVersions({ * compartmentId: compartmentId, * availabilityDomain: giVersionAvailabilityDomain, * resourceId: testResource.id, * shape: giVersionShape, * shapeAttribute: giVersionShapeAttribute, * }); * ``` */ export declare function getGiVersions(args: GetGiVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGiVersions. */ export interface GetGiVersionsArgs { /** * The target availability domain. Only passed if the limit is AD-specific. */ availabilityDomain?: string; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; filters?: inputs.Database.GetGiVersionsFilter[]; /** * If provided, filters the results for the specified resource Id. */ resourceId?: string; /** * If provided, filters the results for the given shape. */ shape?: string; /** * If provided and applicable, return the results based on the shapeAttribute provided */ shapeAttribute?: string; } /** * A collection of values returned by getGiVersions. */ export interface GetGiVersionsResult { readonly availabilityDomain?: string; readonly compartmentId: string; readonly filters?: outputs.Database.GetGiVersionsFilter[]; /** * The list of gi_versions. */ readonly giVersions: outputs.Database.GetGiVersionsGiVersion[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly resourceId?: string; readonly shape?: string; readonly shapeAttribute?: string; } /** * This data source provides the list of Gi Versions in Oracle Cloud Infrastructure Database service. * * Gets a list of supported GI versions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testGiVersions = oci.database.getGiVersions({ * compartmentId: compartmentId, * availabilityDomain: giVersionAvailabilityDomain, * resourceId: testResource.id, * shape: giVersionShape, * shapeAttribute: giVersionShapeAttribute, * }); * ``` */ export declare function getGiVersionsOutput(args: GetGiVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGiVersions. */ export interface GetGiVersionsOutputArgs { /** * The target availability domain. Only passed if the limit is AD-specific. */ availabilityDomain?: pulumi.Input; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * If provided, filters the results for the specified resource Id. */ resourceId?: pulumi.Input; /** * If provided, filters the results for the given shape. */ shape?: pulumi.Input; /** * If provided and applicable, return the results based on the shapeAttribute provided */ shapeAttribute?: pulumi.Input; } //# sourceMappingURL=getGiVersions.d.ts.map