CreateOperatorControlDetails

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

Bases: object

While creating the operator control, specify how operator actions are approved and the users who have the privilege of approving the operator actions associated with the Operator Control.

You must specify which operator actions must be pre-approved. The rest of the operator actions associated with the Operator Control will require an explicit approval from the users selected either through the approver groups or individually.

You must name your Operator Control appropriately so it reflects the resources that will be governed by the Operator Control. Neither the Operator Controls nor their assignments to resources are visible to the Oracle operators.

Attributes

RESOURCE_TYPE_AUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
RESOURCE_TYPE_CCCINFRASTRUCTURE A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
RESOURCE_TYPE_EXACC A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
RESOURCE_TYPE_EXADATAINFRASTRUCTURE A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
approver_groups_list [Required] Gets the approver_groups_list of this CreateOperatorControlDetails.
approvers_list Gets the approvers_list of this CreateOperatorControlDetails.
compartment_id [Required] Gets the compartment_id of this CreateOperatorControlDetails.
defined_tags Gets the defined_tags of this CreateOperatorControlDetails.
description Gets the description of this CreateOperatorControlDetails.
email_id_list Gets the email_id_list of this CreateOperatorControlDetails.
freeform_tags Gets the freeform_tags of this CreateOperatorControlDetails.
is_fully_pre_approved [Required] Gets the is_fully_pre_approved of this CreateOperatorControlDetails.
number_of_approvers Gets the number_of_approvers of this CreateOperatorControlDetails.
operator_control_name [Required] Gets the operator_control_name of this CreateOperatorControlDetails.
pre_approved_op_action_list Gets the pre_approved_op_action_list of this CreateOperatorControlDetails.
resource_type [Required] Gets the resource_type of this CreateOperatorControlDetails.
system_message Gets the system_message of this CreateOperatorControlDetails.

Methods

__init__(**kwargs) Initializes a new CreateOperatorControlDetails object with values from keyword arguments.
RESOURCE_TYPE_AUTONOMOUSVMCLUSTER = 'AUTONOMOUSVMCLUSTER'

A constant which can be used with the resource_type property of a CreateOperatorControlDetails. This constant has a value of “AUTONOMOUSVMCLUSTER”

RESOURCE_TYPE_CCCINFRASTRUCTURE = 'CCCINFRASTRUCTURE'

A constant which can be used with the resource_type property of a CreateOperatorControlDetails. This constant has a value of “CCCINFRASTRUCTURE”

RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER = 'CLOUDAUTONOMOUSVMCLUSTER'

A constant which can be used with the resource_type property of a CreateOperatorControlDetails. This constant has a value of “CLOUDAUTONOMOUSVMCLUSTER”

RESOURCE_TYPE_EXACC = 'EXACC'

A constant which can be used with the resource_type property of a CreateOperatorControlDetails. This constant has a value of “EXACC”

RESOURCE_TYPE_EXADATAINFRASTRUCTURE = 'EXADATAINFRASTRUCTURE'

A constant which can be used with the resource_type property of a CreateOperatorControlDetails. This constant has a value of “EXADATAINFRASTRUCTURE”

__init__(**kwargs)

Initializes a new CreateOperatorControlDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • operator_control_name (str) – The value to assign to the operator_control_name property of this CreateOperatorControlDetails.
  • description (str) – The value to assign to the description property of this CreateOperatorControlDetails.
  • approvers_list (list[str]) – The value to assign to the approvers_list property of this CreateOperatorControlDetails.
  • approver_groups_list (list[str]) – The value to assign to the approver_groups_list property of this CreateOperatorControlDetails.
  • pre_approved_op_action_list (list[str]) – The value to assign to the pre_approved_op_action_list property of this CreateOperatorControlDetails.
  • is_fully_pre_approved (bool) – The value to assign to the is_fully_pre_approved property of this CreateOperatorControlDetails.
  • resource_type (str) – The value to assign to the resource_type property of this CreateOperatorControlDetails. Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”
  • number_of_approvers (int) – The value to assign to the number_of_approvers property of this CreateOperatorControlDetails.
  • email_id_list (list[str]) – The value to assign to the email_id_list property of this CreateOperatorControlDetails.
  • system_message (str) – The value to assign to the system_message property of this CreateOperatorControlDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateOperatorControlDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOperatorControlDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOperatorControlDetails.
approver_groups_list

[Required] Gets the approver_groups_list of this CreateOperatorControlDetails. List of user groups who can approve an access request associated with a resource governed by this operator control.

Returns:The approver_groups_list of this CreateOperatorControlDetails.
Return type:list[str]
approvers_list

Gets the approvers_list of this CreateOperatorControlDetails. List of users who can approve an access request associated with a resource governed by this operator control.

Returns:The approvers_list of this CreateOperatorControlDetails.
Return type:list[str]
compartment_id

[Required] Gets the compartment_id of this CreateOperatorControlDetails. The OCID of the compartment that contains this operator control.

Returns:The compartment_id of this CreateOperatorControlDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateOperatorControlDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace.

Returns:The defined_tags of this CreateOperatorControlDetails.
Return type:dict(str, dict(str, object))
description

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

Returns:The description of this CreateOperatorControlDetails.
Return type:str
email_id_list

Gets the email_id_list of this CreateOperatorControlDetails. List of emailId.

Returns:The email_id_list of this CreateOperatorControlDetails.
Return type:list[str]
freeform_tags

Gets the freeform_tags of this CreateOperatorControlDetails. 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 CreateOperatorControlDetails.
Return type:dict(str, str)
is_fully_pre_approved

[Required] Gets the is_fully_pre_approved of this CreateOperatorControlDetails. 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 CreateOperatorControlDetails.
Return type:bool
number_of_approvers

Gets the number_of_approvers of this CreateOperatorControlDetails. Number of approvers required to approve an access request.

Returns:The number_of_approvers of this CreateOperatorControlDetails.
Return type:int
operator_control_name

[Required] Gets the operator_control_name of this CreateOperatorControlDetails. Name of the operator control.

Returns:The operator_control_name of this CreateOperatorControlDetails.
Return type:str
pre_approved_op_action_list

Gets the pre_approved_op_action_list of this CreateOperatorControlDetails. 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.

Returns:The pre_approved_op_action_list of this CreateOperatorControlDetails.
Return type:list[str]
resource_type

[Required] Gets the resource_type of this CreateOperatorControlDetails. resourceType for which the OperatorControl is applicable

Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”

Returns:The resource_type of this CreateOperatorControlDetails.
Return type:str
system_message

Gets the system_message of this CreateOperatorControlDetails. This is the message that will be displayed to the operator users while accessing the system.

Returns:The system_message of this CreateOperatorControlDetails.
Return type:str