OperatorControl¶
- class oci.operator_access_control.models.OperatorControl(**kwargs)¶
Bases:
objectOperator Access Control enables you to grant, audit, or revoke the access Oracle has to your Exadata Cloud@Customer infrastructure, and obtain audit reports of all actions taken by a human operator, in a near real-time manner.
Attributes:
A constant which can be used with the lifecycle_state property of a OperatorControl.
A constant which can be used with the lifecycle_state property of a OperatorControl.
A constant which can be used with the lifecycle_state property of a OperatorControl.
A constant which can be used with the lifecycle_state property of a OperatorControl.
A constant which can be used with the resource_type property of a OperatorControl.
A constant which can be used with the resource_type property of a OperatorControl.
A constant which can be used with the resource_type property of a OperatorControl.
A constant which can be used with the resource_type property of a OperatorControl.
A constant which can be used with the resource_type property of a OperatorControl.
A constant which can be used with the resource_type property of a OperatorControl.
Gets the approval_required_op_action_list of this OperatorControl.
Gets the approver_groups_list of this OperatorControl.
Gets the approvers_list of this OperatorControl.
[Required] Gets the compartment_id of this OperatorControl.
Gets the defined_tags of this OperatorControl.
Gets the description of this OperatorControl.
Gets the email_id_list of this OperatorControl.
Gets the freeform_tags of this OperatorControl.
[Required] Gets the id of this OperatorControl.
Gets the is_default_operator_control of this OperatorControl.
Gets the is_fully_pre_approved of this OperatorControl.
Gets the last_modified_info of this OperatorControl.
Gets the lifecycle_state of this OperatorControl.
Gets the notification_topic_id of this OperatorControl.
Gets the number_of_approvers of this OperatorControl.
[Required] Gets the operator_control_name of this OperatorControl.
Gets the pre_approved_op_action_list of this OperatorControl.
Gets the resource_type of this OperatorControl.
Gets the system_message of this OperatorControl.
Gets the time_of_creation of this OperatorControl.
Gets the time_of_deletion of this OperatorControl. Time when deleted expressed in `RFC 3339`__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.
Gets the time_of_modification of this OperatorControl.
Methods:
__init__(**kwargs)Initializes a new OperatorControl object with values from keyword arguments.
- LIFECYCLE_STATE_ASSIGNED = 'ASSIGNED'¶
A constant which can be used with the lifecycle_state property of a OperatorControl. This constant has a value of “ASSIGNED”
- LIFECYCLE_STATE_CREATED = 'CREATED'¶
A constant which can be used with the lifecycle_state property of a OperatorControl. This constant has a value of “CREATED”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a OperatorControl. This constant has a value of “DELETED”
- LIFECYCLE_STATE_UNASSIGNED = 'UNASSIGNED'¶
A constant which can be used with the lifecycle_state property of a OperatorControl. This constant has a value of “UNASSIGNED”
- RESOURCE_TYPE_AUTONOMOUSVMCLUSTER = 'AUTONOMOUSVMCLUSTER'¶
A constant which can be used with the resource_type property of a OperatorControl. This constant has a value of “AUTONOMOUSVMCLUSTER”
- RESOURCE_TYPE_CCCINFRASTRUCTURE = 'CCCINFRASTRUCTURE'¶
A constant which can be used with the resource_type property of a OperatorControl. This constant has a value of “CCCINFRASTRUCTURE”
- RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER = 'CLOUDAUTONOMOUSVMCLUSTER'¶
A constant which can be used with the resource_type property of a OperatorControl. This constant has a value of “CLOUDAUTONOMOUSVMCLUSTER”
- RESOURCE_TYPE_CLOUDEXADATAINFRASTRUCTURE = 'CLOUDEXADATAINFRASTRUCTURE'¶
A constant which can be used with the resource_type property of a OperatorControl. This constant has a value of “CLOUDEXADATAINFRASTRUCTURE”
- RESOURCE_TYPE_EXACC = 'EXACC'¶
A constant which can be used with the resource_type property of a OperatorControl. This constant has a value of “EXACC”
- RESOURCE_TYPE_EXADATAINFRASTRUCTURE = 'EXADATAINFRASTRUCTURE'¶
A constant which can be used with the resource_type property of a OperatorControl. This constant has a value of “EXADATAINFRASTRUCTURE”
- __init__(**kwargs)¶
Initializes a new OperatorControl object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this OperatorControl.
operator_control_name (str) – The value to assign to the operator_control_name property of this OperatorControl.
description (str) – The value to assign to the description property of this OperatorControl.
approvers_list (list[str]) – The value to assign to the approvers_list property of this OperatorControl.
approver_groups_list (list[str]) – The value to assign to the approver_groups_list property of this OperatorControl.
pre_approved_op_action_list (list[str]) – The value to assign to the pre_approved_op_action_list property of this OperatorControl.
approval_required_op_action_list (list[str]) – The value to assign to the approval_required_op_action_list property of this OperatorControl.
is_fully_pre_approved (bool) – The value to assign to the is_fully_pre_approved property of this OperatorControl.
notification_topic_id (str) – The value to assign to the notification_topic_id property of this OperatorControl.
email_id_list (list[str]) – The value to assign to the email_id_list property of this OperatorControl.
resource_type (str) – The value to assign to the resource_type property of this OperatorControl. Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”, “CLOUDEXADATAINFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
system_message (str) – The value to assign to the system_message property of this OperatorControl.
compartment_id (str) – The value to assign to the compartment_id property of this OperatorControl.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this OperatorControl. Allowed values for this property are: “CREATED”, “ASSIGNED”, “UNASSIGNED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_of_creation (datetime) – The value to assign to the time_of_creation property of this OperatorControl.
time_of_modification (datetime) – The value to assign to the time_of_modification property of this OperatorControl.
number_of_approvers (int) – The value to assign to the number_of_approvers property of this OperatorControl.
is_default_operator_control (bool) – The value to assign to the is_default_operator_control property of this OperatorControl.
time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this OperatorControl.
last_modified_info (str) – The value to assign to the last_modified_info property of this OperatorControl.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OperatorControl.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OperatorControl.
- property approval_required_op_action_list¶
Gets the approval_required_op_action_list of this 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.
- Returns
The approval_required_op_action_list of this OperatorControl.
- Return type
list[str]
- property approver_groups_list¶
Gets the approver_groups_list of this OperatorControl. List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
- Returns
The approver_groups_list of this OperatorControl.
- Return type
list[str]
- property approvers_list¶
Gets the approvers_list of this OperatorControl. List of users who can approve an access request associated with a target resource under the governance of this operator control.
- Returns
The approvers_list of this OperatorControl.
- Return type
list[str]
- property compartment_id¶
[Required] Gets the compartment_id of this OperatorControl. The OCID of the compartment that contains the operator control.
- Returns
The compartment_id of this OperatorControl.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this OperatorControl. Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Returns
The defined_tags of this OperatorControl.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this OperatorControl. Description of operator control.
- Returns
The description of this OperatorControl.
- Return type
str
- property email_id_list¶
Gets the email_id_list of this OperatorControl. List of emailId.
- Returns
The email_id_list of this OperatorControl.
- Return type
list[str]
- property freeform_tags¶
Gets the freeform_tags of this OperatorControl. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Returns
The freeform_tags of this OperatorControl.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this OperatorControl. The OCID of the operator control.
- Returns
The id of this OperatorControl.
- Return type
str
- property is_default_operator_control¶
Gets the is_default_operator_control of this OperatorControl. Whether the operator control is a default Operator Control.
- Returns
The is_default_operator_control of this OperatorControl.
- Return type
bool
- property is_fully_pre_approved¶
Gets the is_fully_pre_approved of this OperatorControl. 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.
- Returns
The is_fully_pre_approved of this OperatorControl.
- Return type
bool
- property last_modified_info¶
Gets the last_modified_info of this OperatorControl. Description associated with the latest modification of the operator control.
- Returns
The last_modified_info of this OperatorControl.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this OperatorControl. The current lifecycle state of the operator control.
Allowed values for this property are: “CREATED”, “ASSIGNED”, “UNASSIGNED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this OperatorControl.
- Return type
str
- property notification_topic_id¶
Gets the notification_topic_id of this OperatorControl. The OCID of the OCI Notification topic to publish messages related to this operator control.
- Returns
The notification_topic_id of this OperatorControl.
- Return type
str
- property number_of_approvers¶
Gets the number_of_approvers of this OperatorControl. Number of approvers required to approve an access request.
- Returns
The number_of_approvers of this OperatorControl.
- Return type
int
- property operator_control_name¶
[Required] Gets the operator_control_name of this OperatorControl. Name of the operator control. The name must be unique.
- Returns
The operator_control_name of this OperatorControl.
- Return type
str
- property pre_approved_op_action_list¶
Gets the pre_approved_op_action_list of this OperatorControl. List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
- Returns
The pre_approved_op_action_list of this OperatorControl.
- Return type
list[str]
- property resource_type¶
Gets the resource_type of this OperatorControl. resourceType for which the OperatorControl is applicable
Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”, “CLOUDEXADATAINFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The resource_type of this OperatorControl.
- Return type
str
- property system_message¶
Gets the system_message of this OperatorControl. System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
- Returns
The system_message of this OperatorControl.
- Return type
str
- property time_of_creation¶
Gets the time_of_creation of this OperatorControl. Time when the operator control was created expressed in `RFC 3339`__ timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
- Returns
The time_of_creation of this OperatorControl.
- Return type
datetime
- property time_of_deletion¶
Gets the time_of_deletion of this OperatorControl. Time when deleted expressed in `RFC 3339`__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.
- Returns
The time_of_deletion of this OperatorControl.
- Return type
datetime
- property time_of_modification¶
Gets the time_of_modification of this OperatorControl. Time when the operator control was last modified expressed in `RFC 3339`__ timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
- Returns
The time_of_modification of this OperatorControl.
- Return type
datetime