Oracle Cloud Infrastructure
getAutonomousPatch
This data source provides details about a specific Autonomous Patch resource in Oracle Cloud Infrastructure Database service.
Gets information about a specific autonomous patch.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testAutonomousPatch = Output.Create(Oci.Database.GetAutonomousPatch.InvokeAsync(new Oci.Database.GetAutonomousPatchArgs
{
AutonomousPatchId = oci_database_autonomous_patch.Test_autonomous_patch.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.GetAutonomousPatch(ctx, &database.GetAutonomousPatchArgs{
AutonomousPatchId: oci_database_autonomous_patch.Test_autonomous_patch.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_autonomous_patch = oci.Database.get_autonomous_patch(autonomous_patch_id=oci_database_autonomous_patch["test_autonomous_patch"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousPatch = oci.Database.getAutonomousPatch({
autonomousPatchId: oci_database_autonomous_patch.test_autonomous_patch.id,
});
Coming soon!
Using getAutonomousPatch
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 getAutonomousPatch(args: GetAutonomousPatchArgs, opts?: InvokeOptions): Promise<GetAutonomousPatchResult>
function getAutonomousPatchOutput(args: GetAutonomousPatchOutputArgs, opts?: InvokeOptions): Output<GetAutonomousPatchResult>
def get_autonomous_patch(autonomous_patch_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAutonomousPatchResult
def get_autonomous_patch_output(autonomous_patch_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousPatchResult]
func GetAutonomousPatch(ctx *Context, args *GetAutonomousPatchArgs, opts ...InvokeOption) (*GetAutonomousPatchResult, error)
func GetAutonomousPatchOutput(ctx *Context, args *GetAutonomousPatchOutputArgs, opts ...InvokeOption) GetAutonomousPatchResultOutput
> Note: This function is named GetAutonomousPatch
in the Go SDK.
public static class GetAutonomousPatch
{
public static Task<GetAutonomousPatchResult> InvokeAsync(GetAutonomousPatchArgs args, InvokeOptions? opts = null)
public static Output<GetAutonomousPatchResult> Invoke(GetAutonomousPatchInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousPatchResult> getAutonomousPatch(GetAutonomousPatchArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:Database/getAutonomousPatch:getAutonomousPatch
Arguments:
# Arguments dictionary
The following arguments are supported:
- Autonomous
Patch stringId The autonomous patch OCID.
- Autonomous
Patch stringId The autonomous patch OCID.
- autonomous
Patch StringId The autonomous patch OCID.
- autonomous
Patch stringId The autonomous patch OCID.
- autonomous_
patch_ strid The autonomous patch OCID.
- autonomous
Patch StringId The autonomous patch OCID.
getAutonomousPatch Result
The following output properties are available:
- Autonomous
Patch stringId - Description string
The text describing this patch package.
- Id string
The provider-assigned unique ID for this managed resource.
- 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.
- Autonomous
Patch stringId - Description string
The text describing this patch package.
- Id string
The provider-assigned unique ID for this managed resource.
- 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.
- autonomous
Patch StringId - description String
The text describing this patch package.
- id String
The provider-assigned unique ID for this managed resource.
- 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.
- autonomous
Patch stringId - description string
The text describing this patch package.
- id string
The provider-assigned unique ID for this managed resource.
- 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.
- autonomous_
patch_ strid - description str
The text describing this patch package.
- id str
The provider-assigned unique ID for this managed resource.
- 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.
- autonomous
Patch StringId - description String
The text describing this patch package.
- id String
The provider-assigned unique ID for this managed resource.
- 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.