import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Operator Control resource in Oracle Cloud Infrastructure Operator Access Control service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/latest/OperatorControl * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/operator_access_control * * Creates an Operator Control. * * ## Import * * OperatorControls can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OperatorAccessControl/operatorControl:OperatorControl test_operator_control "id" * ``` */ export declare class OperatorControl extends pulumi.CustomResource { /** * Get an existing OperatorControl 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?: OperatorControlState, opts?: pulumi.CustomResourceOptions): OperatorControl; /** * Returns true if the given object is an instance of OperatorControl. 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 OperatorControl; /** * List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list. */ readonly approvalRequiredOpActionLists: pulumi.Output; /** * (Updatable) List of user groups who can approve an access request associated with a resource governed by this operator control. */ readonly approverGroupsLists: pulumi.Output; /** * (Updatable) List of users who can approve an access request associated with a resource governed by this operator control. */ readonly approversLists: pulumi.Output; /** * (Updatable) The OCID of the compartment that contains this operator control. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Description of the operator control. */ readonly description: pulumi.Output; /** * (Updatable) List of emailId. */ readonly emailIdLists: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Whether the operator control is a default Operator Control. */ readonly isDefaultOperatorControl: pulumi.Output; /** * (Updatable) Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved. */ readonly isFullyPreApproved: pulumi.Output; /** * Description associated with the latest modification of the operator control. */ readonly lastModifiedInfo: pulumi.Output; /** * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this operator control. */ readonly notificationTopicId: pulumi.Output; /** * (Updatable) Number of approvers required to approve an access request. */ readonly numberOfApprovers: pulumi.Output; /** * (Updatable) Name of the operator control. */ readonly operatorControlName: pulumi.Output; /** * (Updatable) List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be auto-approved if the access request only contain operator actions in the pre-approved list. */ readonly preApprovedOpActionLists: pulumi.Output; /** * resourceType for which the OperatorControl is applicable */ readonly resourceType: pulumi.Output; /** * The current lifecycle state of the operator control. */ readonly state: pulumi.Output; /** * (Updatable) This is the message that will be displayed to the operator users while accessing the system. * * ** 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 systemMessage: pulumi.Output; /** * Time when the operator control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' */ readonly timeOfCreation: pulumi.Output; /** * Time when deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control. */ readonly timeOfDeletion: pulumi.Output; /** * Time when the operator control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' */ readonly timeOfModification: pulumi.Output; /** * Create a OperatorControl 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: OperatorControlArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OperatorControl resources. */ export interface OperatorControlState { /** * List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list. */ approvalRequiredOpActionLists?: pulumi.Input[] | undefined>; /** * (Updatable) List of user groups who can approve an access request associated with a resource governed by this operator control. */ approverGroupsLists?: pulumi.Input[] | undefined>; /** * (Updatable) List of users who can approve an access request associated with a resource governed by this operator control. */ approversLists?: pulumi.Input[] | undefined>; /** * (Updatable) The OCID of the compartment that contains this operator control. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Description of the operator control. */ description?: pulumi.Input; /** * (Updatable) List of emailId. */ emailIdLists?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Whether the operator control is a default Operator Control. */ isDefaultOperatorControl?: pulumi.Input; /** * (Updatable) Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved. */ isFullyPreApproved?: pulumi.Input; /** * Description associated with the latest modification of the operator control. */ lastModifiedInfo?: pulumi.Input; /** * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this operator control. */ notificationTopicId?: pulumi.Input; /** * (Updatable) Number of approvers required to approve an access request. */ numberOfApprovers?: pulumi.Input; /** * (Updatable) Name of the operator control. */ operatorControlName?: pulumi.Input; /** * (Updatable) List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be auto-approved if the access request only contain operator actions in the pre-approved list. */ preApprovedOpActionLists?: pulumi.Input[] | undefined>; /** * resourceType for which the OperatorControl is applicable */ resourceType?: pulumi.Input; /** * The current lifecycle state of the operator control. */ state?: pulumi.Input; /** * (Updatable) This is the message that will be displayed to the operator users while accessing the system. * * ** 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 */ systemMessage?: pulumi.Input; /** * Time when the operator control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' */ timeOfCreation?: pulumi.Input; /** * Time when deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control. */ timeOfDeletion?: pulumi.Input; /** * Time when the operator control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' */ timeOfModification?: pulumi.Input; } /** * The set of arguments for constructing a OperatorControl resource. */ export interface OperatorControlArgs { /** * (Updatable) List of user groups who can approve an access request associated with a resource governed by this operator control. */ approverGroupsLists: pulumi.Input[]>; /** * (Updatable) List of users who can approve an access request associated with a resource governed by this operator control. */ approversLists?: pulumi.Input[] | undefined>; /** * (Updatable) The OCID of the compartment that contains this operator control. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Description of the operator control. */ description?: pulumi.Input; /** * (Updatable) List of emailId. */ emailIdLists?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved. */ isFullyPreApproved: pulumi.Input; /** * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this operator control. */ notificationTopicId?: pulumi.Input; /** * (Updatable) Number of approvers required to approve an access request. */ numberOfApprovers?: pulumi.Input; /** * (Updatable) Name of the operator control. */ operatorControlName: pulumi.Input; /** * (Updatable) List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be auto-approved if the access request only contain operator actions in the pre-approved list. */ preApprovedOpActionLists?: pulumi.Input[] | undefined>; /** * resourceType for which the OperatorControl is applicable */ resourceType: pulumi.Input; /** * (Updatable) This is the message that will be displayed to the operator users while accessing the system. * * ** 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 */ systemMessage?: pulumi.Input; } //# sourceMappingURL=operatorControl.d.ts.map