import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Oneoff Patch resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified one-off patch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOneoffPatch = oci.database.getOneoffPatch({ * oneoffPatchId: testOneoffPatchOciDatabaseOneoffPatch.id, * }); * ``` */ export declare function getOneoffPatch(args: GetOneoffPatchArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOneoffPatch. */ export interface GetOneoffPatchArgs { /** * The one-off patch [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ oneoffPatchId: string; } /** * A collection of values returned by getOneoffPatch. */ export interface GetOneoffPatchResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * A valid Oracle Database version. To get a list of supported versions, use the [ListDbVersions](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbVersionSummary/ListDbVersions) operation. */ readonly dbVersion: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: { [key: string]: string; }; /** * One-off patch name. */ readonly displayName: string; readonly downloadOneoffPatchTrigger: number; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the one-off patch. */ readonly id: string; /** * Detailed message for the lifecycle state. */ readonly lifecycleDetails: string; /** * List of one-off patches for Database Homes. */ readonly oneOffPatches: string[]; readonly oneoffPatchId: string; /** * The PSU or PBP or Release Updates. To get a list of supported versions, use the [ListDbVersions](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbVersionSummary/ListDbVersions) operation. */ readonly releaseUpdate: string; /** * SHA-256 checksum of the one-off patch. */ readonly sha256sum: string; /** * The size of one-off patch in kilobytes. */ readonly sizeInKbs: number; /** * The current state of the one-off patch. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: { [key: string]: string; }; /** * The date and time one-off patch was created. */ readonly timeCreated: string; /** * The date and time until which the one-off patch will be available for download. */ readonly timeOfExpiration: string; /** * The date and time one-off patch was updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Oneoff Patch resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified one-off patch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOneoffPatch = oci.database.getOneoffPatch({ * oneoffPatchId: testOneoffPatchOciDatabaseOneoffPatch.id, * }); * ``` */ export declare function getOneoffPatchOutput(args: GetOneoffPatchOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOneoffPatch. */ export interface GetOneoffPatchOutputArgs { /** * The one-off patch [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ oneoffPatchId: pulumi.Input; } //# sourceMappingURL=getOneoffPatch.d.ts.map