import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/fleet-management/latest/Patch
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fleet_apps_management
 *
 * Creates a new Patch.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testPatch = new oci.fleetappsmanagement.Patch("test_patch", {
 *     artifactDetails: {
 *         category: patchArtifactDetailsCategory,
 *         artifact: {
 *             content: {
 *                 bucket: patchArtifactDetailsArtifactContentBucket,
 *                 checksum: patchArtifactDetailsArtifactContentChecksum,
 *                 namespace: patchArtifactDetailsArtifactContentNamespace,
 *                 object: patchArtifactDetailsArtifactContentObject,
 *                 sourceType: patchArtifactDetailsArtifactContentSourceType,
 *             },
 *         },
 *         artifacts: [{
 *             architecture: patchArtifactDetailsArtifactsArchitecture,
 *             content: {
 *                 bucket: patchArtifactDetailsArtifactsContentBucket,
 *                 checksum: patchArtifactDetailsArtifactsContentChecksum,
 *                 namespace: patchArtifactDetailsArtifactsContentNamespace,
 *                 object: patchArtifactDetailsArtifactsContentObject,
 *                 sourceType: patchArtifactDetailsArtifactsContentSourceType,
 *             },
 *             osType: patchArtifactDetailsArtifactsOsType,
 *         }],
 *     },
 *     compartmentId: compartmentId,
 *     name: patchName,
 *     patchType: {
 *         platformConfigurationId: testPlatformConfiguration.id,
 *     },
 *     product: {
 *         platformConfigurationId: testPlatformConfiguration.id,
 *         version: patchProductVersion,
 *     },
 *     severity: patchSeverity,
 *     timeReleased: patchTimeReleased,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     dependentPatches: [{
 *         id: patchDependentPatchesId,
 *     }],
 *     description: patchDescription,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * Patches can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:FleetAppsManagement/patch:Patch test_patch "id"
 * ```
 */
export declare class Patch extends pulumi.CustomResource {
    /**
     * Get an existing Patch resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PatchState, opts?: pulumi.CustomResourceOptions): Patch;
    /**
     * Returns true if the given object is an instance of Patch.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is Patch;
    /**
     * (Updatable) Patch artifact description and content details.
     */
    readonly artifactDetails: pulumi.Output<outputs.FleetAppsManagement.PatchArtifactDetails>;
    /**
     * (Updatable)
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Dependent Patches for this patch.
     */
    readonly dependentPatches: pulumi.Output<outputs.FleetAppsManagement.PatchDependentPatch[]>;
    /**
     * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: 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: pulumi.Output<string>;
    /**
     * A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation.  Avoid entering confidential information.
     */
    readonly name: pulumi.Output<string>;
    /**
     * (Updatable) Patch Type
     */
    readonly patchType: pulumi.Output<outputs.FleetAppsManagement.PatchPatchType>;
    /**
     * (Updatable) Product
     */
    readonly product: pulumi.Output<outputs.FleetAppsManagement.PatchProduct>;
    /**
     * Associated region
     */
    readonly resourceRegion: pulumi.Output<string>;
    /**
     * (Updatable) Patch Severity.
     */
    readonly severity: pulumi.Output<string>;
    /**
     * The current state of the Patch.
     */
    readonly state: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The time this resource was created. An RFC3339 formatted datetime string.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * (Updatable) Date when the patch was released.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly timeReleased: pulumi.Output<string>;
    /**
     * The time this resource was last updated. An RFC3339 formatted datetime string.
     */
    readonly timeUpdated: pulumi.Output<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: pulumi.Output<string>;
    /**
     * Create a Patch resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: PatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Patch resources.
 */
export interface PatchState {
    /**
     * (Updatable) Patch artifact description and content details.
     */
    artifactDetails?: pulumi.Input<inputs.FleetAppsManagement.PatchArtifactDetails | undefined>;
    /**
     * (Updatable)
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Dependent Patches for this patch.
     */
    dependentPatches?: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.PatchDependentPatch>[] | undefined>;
    /**
     * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation.  Avoid entering confidential information.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Patch Type
     */
    patchType?: pulumi.Input<inputs.FleetAppsManagement.PatchPatchType | undefined>;
    /**
     * (Updatable) Product
     */
    product?: pulumi.Input<inputs.FleetAppsManagement.PatchProduct | undefined>;
    /**
     * Associated region
     */
    resourceRegion?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Patch Severity.
     */
    severity?: pulumi.Input<string | undefined>;
    /**
     * The current state of the Patch.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The time this resource was created. An RFC3339 formatted datetime string.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Date when the patch was released.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    timeReleased?: pulumi.Input<string | undefined>;
    /**
     * The time this resource was last updated. An RFC3339 formatted datetime string.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * 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
     */
    type?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Patch resource.
 */
export interface PatchArgs {
    /**
     * (Updatable) Patch artifact description and content details.
     */
    artifactDetails: pulumi.Input<inputs.FleetAppsManagement.PatchArtifactDetails>;
    /**
     * (Updatable)
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Dependent Patches for this patch.
     */
    dependentPatches?: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.PatchDependentPatch>[] | undefined>;
    /**
     * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation.  Avoid entering confidential information.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Patch Type
     */
    patchType: pulumi.Input<inputs.FleetAppsManagement.PatchPatchType>;
    /**
     * (Updatable) Product
     */
    product: pulumi.Input<inputs.FleetAppsManagement.PatchProduct>;
    /**
     * (Updatable) Patch Severity.
     */
    severity: pulumi.Input<string>;
    /**
     * (Updatable) Date when the patch was released.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    timeReleased: pulumi.Input<string>;
}
//# sourceMappingURL=patch.d.ts.map