import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a Patch by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPatch = oci.fleetappsmanagement.getPatch({ * patchId: testPatchOciFleetAppsManagementPatch.id, * }); * ``` */ export declare function getPatch(args: GetPatchArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPatch. */ export interface GetPatchArgs { /** * Unique Patch identifier. */ patchId: string; } /** * A collection of values returned by getPatch. */ export interface GetPatchResult { /** * Patch artifact description and content details. */ readonly artifactDetails: outputs.FleetAppsManagement.GetPatchArtifactDetail[]; readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Dependent Patches for this patch. */ readonly dependentPatches: outputs.FleetAppsManagement.GetPatchDependentPatch[]; /** * A user-friendly description. To provide some insight about the resource. Avoid entering confidential information. */ readonly description: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the resource. */ readonly id: string; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; /** * A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information. */ readonly name: string; readonly patchId: string; /** * Patch Type */ readonly patchTypes: outputs.FleetAppsManagement.GetPatchPatchType[]; /** * Product */ readonly products: outputs.FleetAppsManagement.GetPatchProduct[]; /** * Associated region */ readonly resourceRegion: string; /** * Patch Severity. */ readonly severity: string; /** * The current state of the Patch. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time this resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * Date when the patch was released. */ readonly timeReleased: string; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; /** * Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED */ readonly type: string; } /** * This data source provides details about a specific Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a Patch by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPatch = oci.fleetappsmanagement.getPatch({ * patchId: testPatchOciFleetAppsManagementPatch.id, * }); * ``` */ export declare function getPatchOutput(args: GetPatchOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPatch. */ export interface GetPatchOutputArgs { /** * Unique Patch identifier. */ patchId: pulumi.Input; } //# sourceMappingURL=getPatch.d.ts.map