import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Profile Detach Software Sources 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/ProfileDetachSoftwareSourcesManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Detaches the specified software sources from a profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProfileDetachSoftwareSourcesManagement = new oci.osmanagementhub.ProfileDetachSoftwareSourcesManagement("test_profile_detach_software_sources_management", { * profileId: testProfile.id, * softwareSources: profileDetachSoftwareSourcesManagementSoftwareSources, * }); * ``` * * ## Import * * ProfileDetachSoftwareSourcesManagement can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/profileDetachSoftwareSourcesManagement:ProfileDetachSoftwareSourcesManagement test_profile_detach_software_sources_management "id" * ``` */ export declare class ProfileDetachSoftwareSourcesManagement extends pulumi.CustomResource { /** * Get an existing ProfileDetachSoftwareSourcesManagement 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, state?: ProfileDetachSoftwareSourcesManagementState, opts?: pulumi.CustomResourceOptions): ProfileDetachSoftwareSourcesManagement; /** * Returns true if the given object is an instance of ProfileDetachSoftwareSourcesManagement. 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 ProfileDetachSoftwareSourcesManagement; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile. */ readonly profileId: pulumi.Output; /** * List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile. * * ** 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 softwareSources: pulumi.Output; /** * Create a ProfileDetachSoftwareSourcesManagement 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: ProfileDetachSoftwareSourcesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProfileDetachSoftwareSourcesManagement resources. */ export interface ProfileDetachSoftwareSourcesManagementState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile. */ profileId?: pulumi.Input; /** * List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile. * * ** 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 */ softwareSources?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a ProfileDetachSoftwareSourcesManagement resource. */ export interface ProfileDetachSoftwareSourcesManagementArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile. */ profileId: pulumi.Input; /** * List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile. * * ** 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 */ softwareSources: pulumi.Input[]>; } //# sourceMappingURL=profileDetachSoftwareSourcesManagement.d.ts.map