import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Management Agent Install Key resource in Oracle Cloud Infrastructure Management Agent service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/management-agent/latest/ManagementAgentInstallKey
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/management_agent
 *
 * User creates a new install key as part of this API.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagementAgentInstallKey = new oci.managementagent.ManagementAgentInstallKey("test_management_agent_install_key", {
 *     compartmentId: compartmentId,
 *     displayName: managementAgentInstallKeyDisplayName,
 *     allowedKeyInstallCount: Number(managementAgentInstallKeyAllowedKeyInstallCount),
 *     isUnlimited: managementAgentInstallKeyIsUnlimited === "true",
 *     timeExpires: managementAgentInstallKeyTimeExpires,
 * });
 * ```
 *
 * ## Import
 *
 * ManagementAgentInstallKeys can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:ManagementAgent/managementAgentInstallKey:ManagementAgentInstallKey test_management_agent_install_key "id"
 * ```
 */
export declare class ManagementAgentInstallKey extends pulumi.CustomResource {
    /**
     * Get an existing ManagementAgentInstallKey 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?: ManagementAgentInstallKeyState, opts?: pulumi.CustomResourceOptions): ManagementAgentInstallKey;
    /**
     * Returns true if the given object is an instance of ManagementAgentInstallKey.  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 ManagementAgentInstallKey;
    /**
     * Total number of install for this keys
     */
    readonly allowedKeyInstallCount: pulumi.Output<number>;
    /**
     * Compartment Identifier
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * Principal id of user who created the Agent Install key
     */
    readonly createdByPrincipalId: pulumi.Output<string>;
    /**
     * Total number of install for this keys
     */
    readonly currentKeyInstallCount: pulumi.Output<number>;
    /**
     * 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) Management Agent install Key Name
     */
    readonly displayName: pulumi.Output<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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * If set to true, the install key has no expiration date or usage limit. Defaults to false
     */
    readonly isUnlimited: pulumi.Output<boolean>;
    /**
     * Management Agent Install Key
     */
    readonly key: pulumi.Output<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>;
    /**
     * Status of Key
     */
    readonly state: 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 time when Management Agent install Key was created. An RFC3339 formatted date time string
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * date after which key would expire after creation
     *
     *
     * ** 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 timeExpires: pulumi.Output<string>;
    /**
     * The time when Management Agent install Key was updated. An RFC3339 formatted date time string
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a ManagementAgentInstallKey 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: ManagementAgentInstallKeyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ManagementAgentInstallKey resources.
 */
export interface ManagementAgentInstallKeyState {
    /**
     * Total number of install for this keys
     */
    allowedKeyInstallCount?: pulumi.Input<number | undefined>;
    /**
     * Compartment Identifier
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Principal id of user who created the Agent Install key
     */
    createdByPrincipalId?: pulumi.Input<string | undefined>;
    /**
     * Total number of install for this keys
     */
    currentKeyInstallCount?: pulumi.Input<number | 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>;
    /**
     * (Updatable) Management Agent install Key Name
     */
    displayName?: 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 set to true, the install key has no expiration date or usage limit. Defaults to false
     */
    isUnlimited?: pulumi.Input<boolean | undefined>;
    /**
     * Management Agent Install Key
     */
    key?: 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>;
    /**
     * Status of Key
     */
    state?: 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 time when Management Agent install Key was created. An RFC3339 formatted date time string
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * date after which key would expire after creation
     *
     *
     * ** 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
     */
    timeExpires?: pulumi.Input<string | undefined>;
    /**
     * The time when Management Agent install Key was updated. An RFC3339 formatted date time string
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ManagementAgentInstallKey resource.
 */
export interface ManagementAgentInstallKeyArgs {
    /**
     * Total number of install for this keys
     */
    allowedKeyInstallCount?: pulumi.Input<number | undefined>;
    /**
     * Compartment Identifier
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Management Agent install Key Name
     */
    displayName: pulumi.Input<string>;
    /**
     * If set to true, the install key has no expiration date or usage limit. Defaults to false
     */
    isUnlimited?: pulumi.Input<boolean | undefined>;
    /**
     * date after which key would expire after creation
     *
     *
     * ** 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
     */
    timeExpires?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=managementAgentInstallKey.d.ts.map