Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

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:

AutonomousPatchId string

The autonomous patch OCID.

AutonomousPatchId string

The autonomous patch OCID.

autonomousPatchId String

The autonomous patch OCID.

autonomousPatchId string

The autonomous patch OCID.

autonomous_patch_id str

The autonomous patch OCID.

autonomousPatchId String

The autonomous patch OCID.

getAutonomousPatch Result

The following output properties are available:

AutonomousPatchId string
Description string

The text describing this patch package.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.

PatchModel 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.

TimeReleased 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.

AutonomousPatchId string
Description string

The text describing this patch package.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.

PatchModel 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.

TimeReleased 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.

autonomousPatchId String
description String

The text describing this patch package.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.

patchModel 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.

timeReleased 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.

autonomousPatchId string
description string

The text describing this patch package.

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.

patchModel 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.

timeReleased 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_id str
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.

autonomousPatchId String
description String

The text describing this patch package.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.

patchModel 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.

timeReleased 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.