Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Database.getAutonomousContainerDatabaseVersions
Explore with Pulumi AI
This data source provides the list of Autonomous Container Database Versions in Oracle Cloud Infrastructure Database service.
Gets a list of supported Autonomous Container Database versions.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousContainerDatabaseVersions = oci.Database.getAutonomousContainerDatabaseVersions({
compartmentId: compartmentId,
serviceComponent: autonomousContainerDatabaseVersionServiceComponent,
});
import pulumi
import pulumi_oci as oci
test_autonomous_container_database_versions = oci.Database.get_autonomous_container_database_versions(compartment_id=compartment_id,
service_component=autonomous_container_database_version_service_component)
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.GetAutonomousContainerDatabaseVersions(ctx, &database.GetAutonomousContainerDatabaseVersionsArgs{
CompartmentId: compartmentId,
ServiceComponent: autonomousContainerDatabaseVersionServiceComponent,
}, 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 testAutonomousContainerDatabaseVersions = Oci.Database.GetAutonomousContainerDatabaseVersions.Invoke(new()
{
CompartmentId = compartmentId,
ServiceComponent = autonomousContainerDatabaseVersionServiceComponent,
});
});
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.GetAutonomousContainerDatabaseVersionsArgs;
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 testAutonomousContainerDatabaseVersions = DatabaseFunctions.getAutonomousContainerDatabaseVersions(GetAutonomousContainerDatabaseVersionsArgs.builder()
.compartmentId(compartmentId)
.serviceComponent(autonomousContainerDatabaseVersionServiceComponent)
.build());
}
}
variables:
testAutonomousContainerDatabaseVersions:
fn::invoke:
Function: oci:Database:getAutonomousContainerDatabaseVersions
Arguments:
compartmentId: ${compartmentId}
serviceComponent: ${autonomousContainerDatabaseVersionServiceComponent}
Using getAutonomousContainerDatabaseVersions
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 getAutonomousContainerDatabaseVersions(args: GetAutonomousContainerDatabaseVersionsArgs, opts?: InvokeOptions): Promise<GetAutonomousContainerDatabaseVersionsResult>
function getAutonomousContainerDatabaseVersionsOutput(args: GetAutonomousContainerDatabaseVersionsOutputArgs, opts?: InvokeOptions): Output<GetAutonomousContainerDatabaseVersionsResult>
def get_autonomous_container_database_versions(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_database.GetAutonomousContainerDatabaseVersionsFilter]] = None,
service_component: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAutonomousContainerDatabaseVersionsResult
def get_autonomous_container_database_versions_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetAutonomousContainerDatabaseVersionsFilterArgs]]]] = None,
service_component: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousContainerDatabaseVersionsResult]
func GetAutonomousContainerDatabaseVersions(ctx *Context, args *GetAutonomousContainerDatabaseVersionsArgs, opts ...InvokeOption) (*GetAutonomousContainerDatabaseVersionsResult, error)
func GetAutonomousContainerDatabaseVersionsOutput(ctx *Context, args *GetAutonomousContainerDatabaseVersionsOutputArgs, opts ...InvokeOption) GetAutonomousContainerDatabaseVersionsResultOutput
> Note: This function is named GetAutonomousContainerDatabaseVersions
in the Go SDK.
public static class GetAutonomousContainerDatabaseVersions
{
public static Task<GetAutonomousContainerDatabaseVersionsResult> InvokeAsync(GetAutonomousContainerDatabaseVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetAutonomousContainerDatabaseVersionsResult> Invoke(GetAutonomousContainerDatabaseVersionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousContainerDatabaseVersionsResult> getAutonomousContainerDatabaseVersions(GetAutonomousContainerDatabaseVersionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getAutonomousContainerDatabaseVersions:getAutonomousContainerDatabaseVersions
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The compartment OCID.
- Service
Component string - The service component to use, either ADBD or EXACC.
- Filters
List<Get
Autonomous Container Database Versions Filter>
- Compartment
Id string - The compartment OCID.
- Service
Component string - The service component to use, either ADBD or EXACC.
- Filters
[]Get
Autonomous Container Database Versions Filter
- compartment
Id String - The compartment OCID.
- service
Component String - The service component to use, either ADBD or EXACC.
- filters
List<Get
Autonomous Container Versions Filter>
- compartment
Id string - The compartment OCID.
- service
Component string - The service component to use, either ADBD or EXACC.
- filters
Get
Autonomous Container Database Versions Filter[]
- compartment_
id str - The compartment OCID.
- service_
component str - The service component to use, either ADBD or EXACC.
- filters
Sequence[database.
Get Autonomous Container Database Versions Filter]
- compartment
Id String - The compartment OCID.
- service
Component String - The service component to use, either ADBD or EXACC.
- filters List<Property Map>
getAutonomousContainerDatabaseVersions Result
The following output properties are available:
- Autonomous
Container List<GetDatabase Versions Autonomous Container Database Versions Autonomous Container Database Version> - The list of autonomous_container_database_versions.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Component string - Filters
List<Get
Autonomous Container Database Versions Filter>
- Autonomous
Container []GetDatabase Versions Autonomous Container Database Versions Autonomous Container Database Version - The list of autonomous_container_database_versions.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Component string - Filters
[]Get
Autonomous Container Database Versions Filter
- autonomous
Container List<GetDatabase Versions Autonomous Container Versions Autonomous Container Version> - The list of autonomous_container_database_versions.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Component String - filters
List<Get
Autonomous Container Versions Filter>
- autonomous
Container GetDatabase Versions Autonomous Container Database Versions Autonomous Container Database Version[] - The list of autonomous_container_database_versions.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- service
Component string - filters
Get
Autonomous Container Database Versions Filter[]
- autonomous_
container_ Sequence[database.database_ versions Get Autonomous Container Database Versions Autonomous Container Database Version] - The list of autonomous_container_database_versions.
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- service_
component str - filters
Sequence[database.
Get Autonomous Container Database Versions Filter]
- autonomous
Container List<Property Map>Database Versions - The list of autonomous_container_database_versions.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Component String - filters List<Property Map>
Supporting Types
GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersion
- Details string
- A URL that points to a detailed description of the Autonomous Container Database version.
- Supported
Apps List<GetAutonomous Container Database Versions Autonomous Container Database Version Supported App> - The list of applications supported for the given version.
- Version string
- A valid Oracle Database version for provisioning an Autonomous Container Database.
- Details string
- A URL that points to a detailed description of the Autonomous Container Database version.
- Supported
Apps []GetAutonomous Container Database Versions Autonomous Container Database Version Supported App - The list of applications supported for the given version.
- Version string
- A valid Oracle Database version for provisioning an Autonomous Container Database.
- details String
- A URL that points to a detailed description of the Autonomous Container Database version.
- supported
Apps List<GetAutonomous Container Versions Autonomous Container Version Supported App> - The list of applications supported for the given version.
- version String
- A valid Oracle Database version for provisioning an Autonomous Container Database.
- details string
- A URL that points to a detailed description of the Autonomous Container Database version.
- supported
Apps GetAutonomous Container Database Versions Autonomous Container Database Version Supported App[] - The list of applications supported for the given version.
- version string
- A valid Oracle Database version for provisioning an Autonomous Container Database.
- details str
- A URL that points to a detailed description of the Autonomous Container Database version.
- supported_
apps Sequence[database.Get Autonomous Container Database Versions Autonomous Container Database Version Supported App] - The list of applications supported for the given version.
- version str
- A valid Oracle Database version for provisioning an Autonomous Container Database.
- details String
- A URL that points to a detailed description of the Autonomous Container Database version.
- supported
Apps List<Property Map> - The list of applications supported for the given version.
- version String
- A valid Oracle Database version for provisioning an Autonomous Container Database.
GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedApp
- End
Of stringSupport - The Autonomous Container Database version end of support date.
- Is
Certified bool - Indicates if the image is certified.
- Release
Date string - The Autonomous Container Database version release date.
- Supported
App stringName - The name of the supported application.
- End
Of stringSupport - The Autonomous Container Database version end of support date.
- Is
Certified bool - Indicates if the image is certified.
- Release
Date string - The Autonomous Container Database version release date.
- Supported
App stringName - The name of the supported application.
- end
Of StringSupport - The Autonomous Container Database version end of support date.
- is
Certified Boolean - Indicates if the image is certified.
- release
Date String - The Autonomous Container Database version release date.
- supported
App StringName - The name of the supported application.
- end
Of stringSupport - The Autonomous Container Database version end of support date.
- is
Certified boolean - Indicates if the image is certified.
- release
Date string - The Autonomous Container Database version release date.
- supported
App stringName - The name of the supported application.
- end_
of_ strsupport - The Autonomous Container Database version end of support date.
- is_
certified bool - Indicates if the image is certified.
- release_
date str - The Autonomous Container Database version release date.
- supported_
app_ strname - The name of the supported application.
- end
Of StringSupport - The Autonomous Container Database version end of support date.
- is
Certified Boolean - Indicates if the image is certified.
- release
Date String - The Autonomous Container Database version release date.
- supported
App StringName - The name of the supported application.
GetAutonomousContainerDatabaseVersionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.