import * as pulumi from "@pulumi/pulumi"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousPatch = oci.database.getAutonomousPatch({ * autonomousPatchId: testAutonomousPatchOciDatabaseAutonomousPatch.id, * }); * ``` */ export declare function getAutonomousPatch(args: GetAutonomousPatchArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAutonomousPatch. */ export interface GetAutonomousPatchArgs { /** * The autonomous patch [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousPatchId: string; } /** * A collection of values returned by getAutonomousPatch. */ export interface GetAutonomousPatchResult { readonly autonomousPatchId: string; /** * Maintenance run type, either "QUARTERLY" or "TIMEZONE". */ readonly autonomousPatchType: string; /** * The text describing this patch package. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A descriptive text associated with the lifecycleState. Typically can contain additional displayable text. */ readonly lifecycleDetails: string; /** * Database patching model preference. See [My Oracle Support note 2285040.1](https://support.oracle.com/rs?type=doc&id=2285040.1) for information on the Release Update (RU) and Release Update Revision (RUR) patching models. */ readonly patchModel: string; /** * First month of the quarter in which the patch was released. */ readonly quarter: string; /** * The current state of the patch as a result of lastAction. */ readonly state: string; /** * The date and time that the patch was released. */ readonly timeReleased: string; /** * The type of patch. BUNDLE is one example. */ readonly type: string; /** * The version of this patch package. */ readonly version: string; /** * Year in which the patch was released. */ readonly year: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousPatch = oci.database.getAutonomousPatch({ * autonomousPatchId: testAutonomousPatchOciDatabaseAutonomousPatch.id, * }); * ``` */ export declare function getAutonomousPatchOutput(args: GetAutonomousPatchOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAutonomousPatch. */ export interface GetAutonomousPatchOutputArgs { /** * The autonomous patch [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousPatchId: pulumi.Input; } //# sourceMappingURL=getAutonomousPatch.d.ts.map