CreateOperatorControlDetails¶
- class oci.operator_access_control.models.CreateOperatorControlDetails(**kwargs)¶
Bases:
objectWhile 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:
A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
A constant which can be used with the resource_type property of a CreateOperatorControlDetails.
[Required] Gets the approver_groups_list of this CreateOperatorControlDetails.
Gets the approvers_list of this CreateOperatorControlDetails.
[Required] Gets the compartment_id of this CreateOperatorControlDetails.
Gets the defined_tags of this CreateOperatorControlDetails.
Gets the description of this CreateOperatorControlDetails.
Gets the email_id_list of this CreateOperatorControlDetails.
Gets the freeform_tags of this CreateOperatorControlDetails.
[Required] Gets the is_fully_pre_approved of this CreateOperatorControlDetails.
Gets the notification_topic_id of this CreateOperatorControlDetails.
Gets the number_of_approvers of this CreateOperatorControlDetails.
[Required] Gets the operator_control_name of this CreateOperatorControlDetails.
Gets the pre_approved_op_action_list of this CreateOperatorControlDetails.
[Required] Gets the resource_type of this CreateOperatorControlDetails.
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_CLOUDEXADATAINFRASTRUCTURE = 'CLOUDEXADATAINFRASTRUCTURE'¶
A constant which can be used with the resource_type property of a CreateOperatorControlDetails. This constant has a value of “CLOUDEXADATAINFRASTRUCTURE”
- 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”, “CLOUDEXADATAINFRASTRUCTURE”
number_of_approvers (int) – The value to assign to the number_of_approvers property of this CreateOperatorControlDetails.
notification_topic_id (str) – The value to assign to the notification_topic_id 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.
- property 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]
- property 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]
- property 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
- property 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))
- property description¶
Gets the description of this CreateOperatorControlDetails. Description of the operator control.
- Returns
The description of this CreateOperatorControlDetails.
- Return type
str
- property 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]
- property 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)
- property 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
- property notification_topic_id¶
Gets the notification_topic_id of this CreateOperatorControlDetails. The OCID of the OCI Notification topic to publish messages related to this operator control.
- Returns
The notification_topic_id of this CreateOperatorControlDetails.
- Return type
str
- property 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
- property 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
- property 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]
- property 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”, “CLOUDEXADATAINFRASTRUCTURE”
- Returns
The resource_type of this CreateOperatorControlDetails.
- Return type
str
- property 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