import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Software Source Replace Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/os-management/latest/SoftwareSourceReplacePackagesManagement
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
 *
 * Replaces packages in a software source with the provided list of packages. This operation can only be done for custom software sources that are not created using filters.
 * Packages can be of the format:
 *  * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
 *  * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
 *  * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSoftwareSourceReplacePackagesManagement = new oci.osmanagementhub.SoftwareSourceReplacePackagesManagement("test_software_source_replace_packages_management", {
 *     packages: softwareSourceReplacePackagesManagementPackages,
 *     softwareSourceId: testSoftwareSource.id,
 * });
 * ```
 *
 * ## Import
 *
 * SoftwareSourceReplacePackagesManagement can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:OsManagementHub/softwareSourceReplacePackagesManagement:SoftwareSourceReplacePackagesManagement test_software_source_replace_packages_management "id"
 * ```
 */
export declare class SoftwareSourceReplacePackagesManagement extends pulumi.CustomResource {
    /**
     * Get an existing SoftwareSourceReplacePackagesManagement 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?: SoftwareSourceReplacePackagesManagementState, opts?: pulumi.CustomResourceOptions): SoftwareSourceReplacePackagesManagement;
    /**
     * Returns true if the given object is an instance of SoftwareSourceReplacePackagesManagement.  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 SoftwareSourceReplacePackagesManagement;
    /**
     * List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
     */
    readonly packages: pulumi.Output<string[]>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
     *
     *
     * ** 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 softwareSourceId: pulumi.Output<string>;
    /**
     * Create a SoftwareSourceReplacePackagesManagement 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: SoftwareSourceReplacePackagesManagementArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SoftwareSourceReplacePackagesManagement resources.
 */
export interface SoftwareSourceReplacePackagesManagementState {
    /**
     * List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
     */
    packages?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
     *
     *
     * ** 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
     */
    softwareSourceId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SoftwareSourceReplacePackagesManagement resource.
 */
export interface SoftwareSourceReplacePackagesManagementArgs {
    /**
     * List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
     */
    packages: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
     *
     *
     * ** 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
     */
    softwareSourceId: pulumi.Input<string>;
}
//# sourceMappingURL=softwareSourceReplacePackagesManagement.d.ts.map