OperatorControl

class oci.operator_access_control.models.OperatorControl(**kwargs)

Bases: object

Operator 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

LIFECYCLE_STATE_ASSIGNED A constant which can be used with the lifecycle_state property of a OperatorControl.
LIFECYCLE_STATE_CREATED A constant which can be used with the lifecycle_state property of a OperatorControl.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a OperatorControl.
LIFECYCLE_STATE_UNASSIGNED A constant which can be used with the lifecycle_state property of a OperatorControl.
RESOURCE_TYPE_AUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a OperatorControl.
RESOURCE_TYPE_EXACC A constant which can be used with the resource_type property of a OperatorControl.
RESOURCE_TYPE_EXADATAINFRASTRUCTURE A constant which can be used with the resource_type property of a OperatorControl.
approval_required_op_action_list Gets the approval_required_op_action_list of this OperatorControl.
approver_groups_list Gets the approver_groups_list of this OperatorControl.
approvers_list Gets the approvers_list of this OperatorControl.
compartment_id [Required] Gets the compartment_id of this OperatorControl.
defined_tags Gets the defined_tags of this OperatorControl.
description Gets the description of this OperatorControl.
email_id_list Gets the email_id_list of this OperatorControl.
freeform_tags Gets the freeform_tags of this OperatorControl.
id [Required] Gets the id of this OperatorControl.
is_fully_pre_approved Gets the is_fully_pre_approved of this OperatorControl.
last_modified_info Gets the last_modified_info of this OperatorControl.
lifecycle_state Gets the lifecycle_state of this OperatorControl.
operator_control_name [Required] Gets the operator_control_name of this OperatorControl.
pre_approved_op_action_list Gets the pre_approved_op_action_list of this OperatorControl.
resource_type Gets the resource_type of this OperatorControl.
system_message Gets the system_message of this OperatorControl.
time_of_creation Gets the time_of_creation of this OperatorControl.
time_of_deletion Gets the time_of_deletion of this OperatorControl.
time_of_modification 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_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.
  • 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”, ‘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.
  • 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.
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]
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]
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]
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
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))
description

Gets the description of this OperatorControl. Description of operator control.

Returns:The description of this OperatorControl.
Return type:str
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]
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)
id

[Required] Gets the id of this OperatorControl. The OCID of the operator control.

Returns:The id of this OperatorControl.
Return type:str
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
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
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
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
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]
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”, ‘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
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
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
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
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