import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Discovery Job resource in Oracle Cloud Infrastructure Stack Monitoring service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/stack-monitoring/latest/DiscoveryJob
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/stack_monitoring
 *
 * API to create discovery Job and submit discovery Details to agent.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDiscoveryJob = new oci.stackmonitoring.DiscoveryJob("test_discovery_job", {
 *     compartmentId: compartmentId,
 *     discoveryDetails: {
 *         agentId: managementAgentId,
 *         properties: {
 *             propertiesMap: discoveryJobDiscoveryDetailsPropertiesPropertiesMap,
 *         },
 *         resourceName: discoveryJobDiscoveryDetailsResourceName,
 *         resourceType: discoveryJobDiscoveryDetailsResourceType,
 *         credentials: {
 *             items: [{
 *                 credentialName: discoveryJobDiscoveryDetailsCredentialsItemsCredentialName,
 *                 credentialType: discoveryJobDiscoveryDetailsCredentialsItemsCredentialType,
 *                 properties: {
 *                     propertiesMap: discoveryJobDiscoveryDetailsCredentialsItemsPropertiesPropertiesMap,
 *                 },
 *             }],
 *         },
 *         license: discoveryJobDiscoveryDetailsLicense,
 *         tags: {
 *             propertiesMap: discoveryJobDiscoveryDetailsTagsPropertiesMap,
 *         },
 *     },
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     discoveryClient: discoveryJobDiscoveryClient,
 *     discoveryType: discoveryJobDiscoveryType,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     shouldPropagateTagsToDiscoveredResources: discoveryJobShouldPropagateTagsToDiscoveredResources === "true",
 * });
 * ```
 *
 * ## Import
 *
 * DiscoveryJobs can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:StackMonitoring/discoveryJob:DiscoveryJob test_discovery_job "id"
 * ```
 */
export declare class DiscoveryJob extends pulumi.CustomResource {
    /**
     * Get an existing DiscoveryJob 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?: DiscoveryJobState, opts?: pulumi.CustomResourceOptions): DiscoveryJob;
    /**
     * Returns true if the given object is an instance of DiscoveryJob.  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 DiscoveryJob;
    /**
     * The OCID of Compartment
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * 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;
    }>;
    /**
     * Client who submits discovery job.
     */
    readonly discoveryClient: pulumi.Output<string>;
    /**
     * The request of DiscoveryJob Resource details.
     */
    readonly discoveryDetails: pulumi.Output<outputs.StackMonitoring.DiscoveryJobDiscoveryDetails>;
    /**
     * Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources.
     */
    readonly discoveryType: pulumi.Output<string | undefined>;
    /**
     * 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;
    }>;
    /**
     * If this parameter set to true, the specified tags will be applied  to all resources discovered in the current request.  Default is true.
     *
     *
     * ** 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 shouldPropagateTagsToDiscoveredResources: pulumi.Output<boolean>;
    /**
     * The current state of the DiscoveryJob Resource.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Specifies the status of the discovery job
     */
    readonly status: pulumi.Output<string>;
    /**
     * The short summary of the status of the discovery job
     */
    readonly statusMessage: pulumi.Output<string>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The OCID of Tenant
     */
    readonly tenantId: pulumi.Output<string>;
    /**
     * The time the discovery Job was updated.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The OCID of user in which the job is submitted
     */
    readonly userId: pulumi.Output<string>;
    /**
     * Create a DiscoveryJob 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: DiscoveryJobArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DiscoveryJob resources.
 */
export interface DiscoveryJobState {
    /**
     * The OCID of Compartment
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * 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>;
    /**
     * Client who submits discovery job.
     */
    discoveryClient?: pulumi.Input<string | undefined>;
    /**
     * The request of DiscoveryJob Resource details.
     */
    discoveryDetails?: pulumi.Input<inputs.StackMonitoring.DiscoveryJobDiscoveryDetails | undefined>;
    /**
     * Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources.
     */
    discoveryType?: pulumi.Input<string | undefined>;
    /**
     * 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>;
    /**
     * If this parameter set to true, the specified tags will be applied  to all resources discovered in the current request.  Default is true.
     *
     *
     * ** 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
     */
    shouldPropagateTagsToDiscoveredResources?: pulumi.Input<boolean | undefined>;
    /**
     * The current state of the DiscoveryJob Resource.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Specifies the status of the discovery job
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * The short summary of the status of the discovery job
     */
    statusMessage?: pulumi.Input<string | undefined>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The OCID of Tenant
     */
    tenantId?: pulumi.Input<string | undefined>;
    /**
     * The time the discovery Job was updated.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The OCID of user in which the job is submitted
     */
    userId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a DiscoveryJob resource.
 */
export interface DiscoveryJobArgs {
    /**
     * The OCID of Compartment
     */
    compartmentId: pulumi.Input<string>;
    /**
     * 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>;
    /**
     * Client who submits discovery job.
     */
    discoveryClient?: pulumi.Input<string | undefined>;
    /**
     * The request of DiscoveryJob Resource details.
     */
    discoveryDetails: pulumi.Input<inputs.StackMonitoring.DiscoveryJobDiscoveryDetails>;
    /**
     * Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources.
     */
    discoveryType?: pulumi.Input<string | undefined>;
    /**
     * 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>;
    /**
     * If this parameter set to true, the specified tags will be applied  to all resources discovered in the current request.  Default is true.
     *
     *
     * ** 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
     */
    shouldPropagateTagsToDiscoveredResources?: pulumi.Input<boolean | undefined>;
}
//# sourceMappingURL=discoveryJob.d.ts.map