Oracle Cloud Infrastructure
getAutonomousContainerPatches
This data source provides the list of Autonomous Container Patches in Oracle Cloud Infrastructure Database service.
Lists the patches applicable to the requested container database.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testAutonomousContainerPatches = Output.Create(Oci.Database.GetAutonomousContainerPatches.InvokeAsync(new Oci.Database.GetAutonomousContainerPatchesArgs
{
AutonomousContainerDatabaseId = oci_database_autonomous_container_database.Test_autonomous_container_database.Id,
CompartmentId = @var.Compartment_id,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Database.GetAutonomousContainerPatches(ctx, &database.GetAutonomousContainerPatchesArgs{
AutonomousContainerDatabaseId: oci_database_autonomous_container_database.Test_autonomous_container_database.Id,
CompartmentId: _var.Compartment_id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_autonomous_container_patches = oci.Database.get_autonomous_container_patches(autonomous_container_database_id=oci_database_autonomous_container_database["test_autonomous_container_database"]["id"],
compartment_id=var["compartment_id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousContainerPatches = oci.Database.getAutonomousContainerPatches({
autonomousContainerDatabaseId: oci_database_autonomous_container_database.test_autonomous_container_database.id,
compartmentId: _var.compartment_id,
});
Coming soon!
Using getAutonomousContainerPatches
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 getAutonomousContainerPatches(args: GetAutonomousContainerPatchesArgs, opts?: InvokeOptions): Promise<GetAutonomousContainerPatchesResult>
function getAutonomousContainerPatchesOutput(args: GetAutonomousContainerPatchesOutputArgs, opts?: InvokeOptions): Output<GetAutonomousContainerPatchesResult>
def get_autonomous_container_patches(autonomous_container_database_id: Optional[str] = None,
compartment_id: Optional[str] = None,
filters: Optional[Sequence[_database.GetAutonomousContainerPatchesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetAutonomousContainerPatchesResult
def get_autonomous_container_patches_output(autonomous_container_database_id: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetAutonomousContainerPatchesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousContainerPatchesResult]
func GetAutonomousContainerPatches(ctx *Context, args *GetAutonomousContainerPatchesArgs, opts ...InvokeOption) (*GetAutonomousContainerPatchesResult, error)
func GetAutonomousContainerPatchesOutput(ctx *Context, args *GetAutonomousContainerPatchesOutputArgs, opts ...InvokeOption) GetAutonomousContainerPatchesResultOutput
> Note: This function is named GetAutonomousContainerPatches
in the Go SDK.
public static class GetAutonomousContainerPatches
{
public static Task<GetAutonomousContainerPatchesResult> InvokeAsync(GetAutonomousContainerPatchesArgs args, InvokeOptions? opts = null)
public static Output<GetAutonomousContainerPatchesResult> Invoke(GetAutonomousContainerPatchesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousContainerPatchesResult> getAutonomousContainerPatches(GetAutonomousContainerPatchesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:Database/getAutonomousContainerPatches:getAutonomousContainerPatches
Arguments:
# Arguments dictionary
The following arguments are supported:
- Autonomous
Container stringDatabase Id The Autonomous Container Database OCID.
- Compartment
Id string The compartment OCID.
- Filters
List<Get
Autonomous Container Patches Filter>
- Autonomous
Container stringDatabase Id The Autonomous Container Database OCID.
- Compartment
Id string The compartment OCID.
- Filters
[]Get
Autonomous Container Patches Filter
- autonomous
Container StringDatabase Id The Autonomous Container Database OCID.
- compartment
Id String The compartment OCID.
- filters
List<Get
Autonomous Container Patches Filter>
- autonomous
Container stringDatabase Id The Autonomous Container Database OCID.
- compartment
Id string The compartment OCID.
- filters
Get
Autonomous Container Patches Filter[]
- autonomous_
container_ strdatabase_ id The Autonomous Container Database OCID.
- compartment_
id str The compartment OCID.
- filters
Get
Autonomous Container Patches Filter]
- autonomous
Container StringDatabase Id The Autonomous Container Database OCID.
- compartment
Id String The compartment OCID.
- filters List<Property Map>
getAutonomousContainerPatches Result
The following output properties are available:
- Autonomous
Container stringDatabase Id - Autonomous
Patches List<GetAutonomous Container Patches Autonomous Patch> The list of autonomous_patches.
- Compartment
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Autonomous Container Patches Filter>
- Autonomous
Container stringDatabase Id - Autonomous
Patches []GetAutonomous Container Patches Autonomous Patch The list of autonomous_patches.
- Compartment
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Autonomous Container Patches Filter
- autonomous
Container StringDatabase Id - autonomous
Patches List<GetAutonomous Container Patches Autonomous Patch> The list of autonomous_patches.
- compartment
Id String - id String
The provider-assigned unique ID for this managed resource.
- filters
List<Get
Autonomous Container Patches Filter>
- autonomous
Container stringDatabase Id - autonomous
Patches GetAutonomous Container Patches Autonomous Patch[] The list of autonomous_patches.
- compartment
Id string - id string
The provider-assigned unique ID for this managed resource.
- filters
Get
Autonomous Container Patches Filter[]
- autonomous_
container_ strdatabase_ id - autonomous_
patches GetAutonomous Container Patches Autonomous Patch] The list of autonomous_patches.
- compartment_
id str - id str
The provider-assigned unique ID for this managed resource.
- filters
Get
Autonomous Container Patches Filter]
- autonomous
Container StringDatabase Id - autonomous
Patches List<Property Map> The list of autonomous_patches.
- compartment
Id String - id String
The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetAutonomousContainerPatchesAutonomousPatch
- Description string
The text describing this patch package.
- Id string
The OCID of the patch.
- Lifecycle
Details string A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- Patch
Model string Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.
- Quarter string
First month of the quarter in which the patch was released.
- State string
The current state of the patch as a result of lastAction.
- Time
Released string The date and time that the patch was released.
- Type string
The type of patch. BUNDLE is one example.
- Version string
The version of this patch package.
- Year string
Year in which the patch was released.
- Description string
The text describing this patch package.
- Id string
The OCID of the patch.
- Lifecycle
Details string A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- Patch
Model string Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.
- Quarter string
First month of the quarter in which the patch was released.
- State string
The current state of the patch as a result of lastAction.
- Time
Released string The date and time that the patch was released.
- Type string
The type of patch. BUNDLE is one example.
- Version string
The version of this patch package.
- Year string
Year in which the patch was released.
- description String
The text describing this patch package.
- id String
The OCID of the patch.
- lifecycle
Details String A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- patch
Model String Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.
- quarter String
First month of the quarter in which the patch was released.
- state String
The current state of the patch as a result of lastAction.
- time
Released String The date and time that the patch was released.
- type String
The type of patch. BUNDLE is one example.
- version String
The version of this patch package.
- year String
Year in which the patch was released.
- description string
The text describing this patch package.
- id string
The OCID of the patch.
- lifecycle
Details string A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- patch
Model string Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.
- quarter string
First month of the quarter in which the patch was released.
- state string
The current state of the patch as a result of lastAction.
- time
Released string The date and time that the patch was released.
- type string
The type of patch. BUNDLE is one example.
- version string
The version of this patch package.
- year string
Year in which the patch was released.
- description str
The text describing this patch package.
- id str
The OCID of the patch.
- lifecycle_
details str A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- patch_
model str Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.
- quarter str
First month of the quarter in which the patch was released.
- state str
The current state of the patch as a result of lastAction.
- time_
released str The date and time that the patch was released.
- type str
The type of patch. BUNDLE is one example.
- version str
The version of this patch package.
- year str
Year in which the patch was released.
- description String
The text describing this patch package.
- id String
The OCID of the patch.
- lifecycle
Details String A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- patch
Model String Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.
- quarter String
First month of the quarter in which the patch was released.
- state String
The current state of the patch as a result of lastAction.
- time
Released String The date and time that the patch was released.
- type String
The type of patch. BUNDLE is one example.
- version String
The version of this patch package.
- year String
Year in which the patch was released.
GetAutonomousContainerPatchesFilter
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.