import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Privileged Api Request resource in Oracle Cloud Infrastructure Apiaccesscontrol service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/oracle-api-access-control/latest/PrivilegedApiRequest
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/apiaccesscontrol
 *
 * Creates a PrivilegedApiRequest.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testPrivilegedApiRequest = new oci.oci.ApiaccesscontrolPrivilegedApiRequest("test_privileged_api_request", {
 *     privilegedOperationLists: [{
 *         apiName: testApi.name,
 *         attributeNames: privilegedApiRequestPrivilegedOperationListAttributeNames,
 *     }],
 *     reasonSummary: privilegedApiRequestReasonSummary,
 *     resourceId: testResource.id,
 *     compartmentId: compartmentId,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     durationInHrs: Number(privilegedApiRequestDurationInHrs),
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     notificationTopicId: testNotificationTopic.id,
 *     reasonDetail: privilegedApiRequestReasonDetail,
 *     severity: privilegedApiRequestSeverity,
 *     subResourceNameLists: privilegedApiRequestSubResourceNameList,
 *     ticketNumbers: privilegedApiRequestTicketNumbers,
 *     timeRequestedForFutureAccess: privilegedApiRequestTimeRequestedForFutureAccess,
 * });
 * ```
 *
 * ## Import
 *
 * PrivilegedApiRequests can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:oci/apiaccesscontrolPrivilegedApiRequest:ApiaccesscontrolPrivilegedApiRequest test_privileged_api_request "id"
 * ```
 */
export declare class ApiaccesscontrolPrivilegedApiRequest extends pulumi.CustomResource {
    /**
     * Get an existing ApiaccesscontrolPrivilegedApiRequest 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?: ApiaccesscontrolPrivilegedApiRequestState, opts?: pulumi.CustomResourceOptions): ApiaccesscontrolPrivilegedApiRequest;
    /**
     * Returns true if the given object is an instance of ApiaccesscontrolPrivilegedApiRequest.  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 ApiaccesscontrolPrivilegedApiRequest;
    /**
     * Contains the approver details who have approved the privilegedApi Request during the initial request.
     */
    readonly approverDetails: pulumi.Output<outputs.oci.ApiaccesscontrolPrivilegedApiRequestApproverDetail[]>;
    /**
     * The comment entered by the operator while closing the request.
     */
    readonly closureComment: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Name of the privilegedApi control. The name must be unique.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * Duration in hours for which access is sought on the target resource.
     */
    readonly durationInHrs: pulumi.Output<number>;
    /**
     * entityType of resource for which the AccessRequest is applicable
     */
    readonly entityType: pulumi.Output<string>;
    /**
     * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * more in detail about the lifeCycleState.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
     */
    readonly notificationTopicId: pulumi.Output<string>;
    /**
     * Number of approvers required to approve an privilegedApi request.
     */
    readonly numberOfApproversRequired: pulumi.Output<number>;
    /**
     * The OCID of the privilegedApi control governing the target resource.
     */
    readonly privilegedApiControlId: pulumi.Output<string>;
    /**
     * Name of the privilegedApi control governing the target resource.
     */
    readonly privilegedApiControlName: pulumi.Output<string>;
    /**
     * List of api names, attributes for which approval is sought by the user.
     */
    readonly privilegedOperationLists: pulumi.Output<outputs.oci.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList[]>;
    /**
     * Reason in detail for which the operator is requesting access on the target resource.
     */
    readonly reasonDetail: pulumi.Output<string>;
    /**
     * Summary comment by the operator creating the access request.
     */
    readonly reasonSummary: pulumi.Output<string>;
    /**
     * This is an automatic identifier generated by the system which is easier for human comprehension.
     */
    readonly requestId: pulumi.Output<string>;
    /**
     * List of Users who has created this privilegedApiRequest.
     */
    readonly requestedBies: pulumi.Output<string[]>;
    /**
     * The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
     */
    readonly resourceId: pulumi.Output<string>;
    /**
     * resourceName for which the PrivilegedApiRequest is applicable
     */
    readonly resourceName: pulumi.Output<string>;
    /**
     * resourceType for which the AccessRequest is applicable
     */
    readonly resourceType: pulumi.Output<string>;
    /**
     * Priority assigned to the access request by the operator
     */
    readonly severity: pulumi.Output<string>;
    /**
     * The current state of the PrivilegedApiRequest.
     */
    readonly state: pulumi.Output<string>;
    /**
     * A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
     */
    readonly stateDetails: pulumi.Output<string>;
    /**
     * The subresource names requested for approval.
     */
    readonly subResourceNameLists: 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;
    }>;
    /**
     * A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
     */
    readonly ticketNumbers: pulumi.Output<string[]>;
    /**
     * Time when the privilegedApi request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * Time in future when the user for the privilegedApi request needs to be created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
     *
     *
     * ** 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 timeRequestedForFutureAccess: pulumi.Output<string>;
    /**
     * Time when the privilegedApi request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a ApiaccesscontrolPrivilegedApiRequest 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: ApiaccesscontrolPrivilegedApiRequestArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ApiaccesscontrolPrivilegedApiRequest resources.
 */
export interface ApiaccesscontrolPrivilegedApiRequestState {
    /**
     * Contains the approver details who have approved the privilegedApi Request during the initial request.
     */
    approverDetails?: pulumi.Input<pulumi.Input<inputs.oci.ApiaccesscontrolPrivilegedApiRequestApproverDetail>[] | undefined>;
    /**
     * The comment entered by the operator while closing the request.
     */
    closureComment?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Name of the privilegedApi control. The name must be unique.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * Duration in hours for which access is sought on the target resource.
     */
    durationInHrs?: pulumi.Input<number | undefined>;
    /**
     * entityType of resource for which the AccessRequest is applicable
     */
    entityType?: pulumi.Input<string | undefined>;
    /**
     * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * more in detail about the lifeCycleState.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
     */
    notificationTopicId?: pulumi.Input<string | undefined>;
    /**
     * Number of approvers required to approve an privilegedApi request.
     */
    numberOfApproversRequired?: pulumi.Input<number | undefined>;
    /**
     * The OCID of the privilegedApi control governing the target resource.
     */
    privilegedApiControlId?: pulumi.Input<string | undefined>;
    /**
     * Name of the privilegedApi control governing the target resource.
     */
    privilegedApiControlName?: pulumi.Input<string | undefined>;
    /**
     * List of api names, attributes for which approval is sought by the user.
     */
    privilegedOperationLists?: pulumi.Input<pulumi.Input<inputs.oci.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList>[] | undefined>;
    /**
     * Reason in detail for which the operator is requesting access on the target resource.
     */
    reasonDetail?: pulumi.Input<string | undefined>;
    /**
     * Summary comment by the operator creating the access request.
     */
    reasonSummary?: pulumi.Input<string | undefined>;
    /**
     * This is an automatic identifier generated by the system which is easier for human comprehension.
     */
    requestId?: pulumi.Input<string | undefined>;
    /**
     * List of Users who has created this privilegedApiRequest.
     */
    requestedBies?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
     */
    resourceId?: pulumi.Input<string | undefined>;
    /**
     * resourceName for which the PrivilegedApiRequest is applicable
     */
    resourceName?: pulumi.Input<string | undefined>;
    /**
     * resourceType for which the AccessRequest is applicable
     */
    resourceType?: pulumi.Input<string | undefined>;
    /**
     * Priority assigned to the access request by the operator
     */
    severity?: pulumi.Input<string | undefined>;
    /**
     * The current state of the PrivilegedApiRequest.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
     */
    stateDetails?: pulumi.Input<string | undefined>;
    /**
     * The subresource names requested for approval.
     */
    subResourceNameLists?: pulumi.Input<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>;
    /**
     * A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
     */
    ticketNumbers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Time when the privilegedApi request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * Time in future when the user for the privilegedApi request needs to be created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
     *
     *
     * ** 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
     */
    timeRequestedForFutureAccess?: pulumi.Input<string | undefined>;
    /**
     * Time when the privilegedApi request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ApiaccesscontrolPrivilegedApiRequest resource.
 */
export interface ApiaccesscontrolPrivilegedApiRequestArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Duration in hours for which access is sought on the target resource.
     */
    durationInHrs?: pulumi.Input<number | undefined>;
    /**
     * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
     */
    notificationTopicId?: pulumi.Input<string | undefined>;
    /**
     * List of api names, attributes for which approval is sought by the user.
     */
    privilegedOperationLists: pulumi.Input<pulumi.Input<inputs.oci.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList>[]>;
    /**
     * Reason in detail for which the operator is requesting access on the target resource.
     */
    reasonDetail?: pulumi.Input<string | undefined>;
    /**
     * Summary comment by the operator creating the access request.
     */
    reasonSummary: pulumi.Input<string>;
    /**
     * The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
     */
    resourceId: pulumi.Input<string>;
    /**
     * Priority assigned to the access request by the operator
     */
    severity?: pulumi.Input<string | undefined>;
    /**
     * The subresource names requested for approval.
     */
    subResourceNameLists?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
     */
    ticketNumbers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Time in future when the user for the privilegedApi request needs to be created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
     *
     *
     * ** 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
     */
    timeRequestedForFutureAccess?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=apiaccesscontrolPrivilegedApiRequest.d.ts.map