CreateOperatorControlAssignmentDetails

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

Bases: object

Details of the Operator Control assignment. An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified.

Attributes

RESOURCE_TYPE_AUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a CreateOperatorControlAssignmentDetails.
RESOURCE_TYPE_CCCINFRASTRUCTURE A constant which can be used with the resource_type property of a CreateOperatorControlAssignmentDetails.
RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a CreateOperatorControlAssignmentDetails.
RESOURCE_TYPE_EXACC A constant which can be used with the resource_type property of a CreateOperatorControlAssignmentDetails.
RESOURCE_TYPE_EXADATAINFRASTRUCTURE A constant which can be used with the resource_type property of a CreateOperatorControlAssignmentDetails.
comment Gets the comment of this CreateOperatorControlAssignmentDetails.
compartment_id [Required] Gets the compartment_id of this CreateOperatorControlAssignmentDetails.
defined_tags Gets the defined_tags of this CreateOperatorControlAssignmentDetails.
freeform_tags Gets the freeform_tags of this CreateOperatorControlAssignmentDetails.
is_auto_approve_during_maintenance Gets the is_auto_approve_during_maintenance of this CreateOperatorControlAssignmentDetails.
is_enforced_always [Required] Gets the is_enforced_always of this CreateOperatorControlAssignmentDetails.
is_hypervisor_log_forwarded Gets the is_hypervisor_log_forwarded of this CreateOperatorControlAssignmentDetails.
is_log_forwarded Gets the is_log_forwarded of this CreateOperatorControlAssignmentDetails.
operator_control_id [Required] Gets the operator_control_id of this CreateOperatorControlAssignmentDetails.
remote_syslog_server_address Gets the remote_syslog_server_address of this CreateOperatorControlAssignmentDetails.
remote_syslog_server_ca_cert Gets the remote_syslog_server_ca_cert of this CreateOperatorControlAssignmentDetails.
remote_syslog_server_port Gets the remote_syslog_server_port of this CreateOperatorControlAssignmentDetails.
resource_compartment_id [Required] Gets the resource_compartment_id of this CreateOperatorControlAssignmentDetails.
resource_id [Required] Gets the resource_id of this CreateOperatorControlAssignmentDetails.
resource_name [Required] Gets the resource_name of this CreateOperatorControlAssignmentDetails.
resource_type [Required] Gets the resource_type of this CreateOperatorControlAssignmentDetails.
time_assignment_from Gets the time_assignment_from of this CreateOperatorControlAssignmentDetails.
time_assignment_to Gets the time_assignment_to of this CreateOperatorControlAssignmentDetails.

Methods

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

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

RESOURCE_TYPE_CCCINFRASTRUCTURE = 'CCCINFRASTRUCTURE'

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

RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER = 'CLOUDAUTONOMOUSVMCLUSTER'

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

RESOURCE_TYPE_EXACC = 'EXACC'

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

RESOURCE_TYPE_EXADATAINFRASTRUCTURE = 'EXADATAINFRASTRUCTURE'

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

__init__(**kwargs)

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

Parameters:
  • operator_control_id (str) – The value to assign to the operator_control_id property of this CreateOperatorControlAssignmentDetails.
  • resource_id (str) – The value to assign to the resource_id property of this CreateOperatorControlAssignmentDetails.
  • resource_name (str) – The value to assign to the resource_name property of this CreateOperatorControlAssignmentDetails.
  • resource_type (str) – The value to assign to the resource_type property of this CreateOperatorControlAssignmentDetails. Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”
  • resource_compartment_id (str) – The value to assign to the resource_compartment_id property of this CreateOperatorControlAssignmentDetails.
  • time_assignment_from (datetime) – The value to assign to the time_assignment_from property of this CreateOperatorControlAssignmentDetails.
  • time_assignment_to (datetime) – The value to assign to the time_assignment_to property of this CreateOperatorControlAssignmentDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateOperatorControlAssignmentDetails.
  • is_enforced_always (bool) – The value to assign to the is_enforced_always property of this CreateOperatorControlAssignmentDetails.
  • comment (str) – The value to assign to the comment property of this CreateOperatorControlAssignmentDetails.
  • is_log_forwarded (bool) – The value to assign to the is_log_forwarded property of this CreateOperatorControlAssignmentDetails.
  • remote_syslog_server_address (str) – The value to assign to the remote_syslog_server_address property of this CreateOperatorControlAssignmentDetails.
  • remote_syslog_server_port (int) – The value to assign to the remote_syslog_server_port property of this CreateOperatorControlAssignmentDetails.
  • remote_syslog_server_ca_cert (str) – The value to assign to the remote_syslog_server_ca_cert property of this CreateOperatorControlAssignmentDetails.
  • is_hypervisor_log_forwarded (bool) – The value to assign to the is_hypervisor_log_forwarded property of this CreateOperatorControlAssignmentDetails.
  • is_auto_approve_during_maintenance (bool) – The value to assign to the is_auto_approve_during_maintenance property of this CreateOperatorControlAssignmentDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOperatorControlAssignmentDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOperatorControlAssignmentDetails.
comment

Gets the comment of this CreateOperatorControlAssignmentDetails. Comment about the assignment of the operator control to this target resource.

Returns:The comment of this CreateOperatorControlAssignmentDetails.
Return type:str
compartment_id

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

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

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

Returns:The defined_tags of this CreateOperatorControlAssignmentDetails.
Return type:dict(str, dict(str, object))
freeform_tags

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

Gets the is_auto_approve_during_maintenance of this CreateOperatorControlAssignmentDetails. The boolean if true would autoApprove during maintenance.

Returns:The is_auto_approve_during_maintenance of this CreateOperatorControlAssignmentDetails.
Return type:bool
is_enforced_always

[Required] Gets the is_enforced_always of this CreateOperatorControlAssignmentDetails. If set, then the target resource is always governed by the operator control.

Returns:The is_enforced_always of this CreateOperatorControlAssignmentDetails.
Return type:bool
is_hypervisor_log_forwarded

Gets the is_hypervisor_log_forwarded of this CreateOperatorControlAssignmentDetails. If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server

Returns:The is_hypervisor_log_forwarded of this CreateOperatorControlAssignmentDetails.
Return type:bool
is_log_forwarded

Gets the is_log_forwarded of this CreateOperatorControlAssignmentDetails. If set, then the audit logs will be forwarded to the relevant remote logging server

Returns:The is_log_forwarded of this CreateOperatorControlAssignmentDetails.
Return type:bool
operator_control_id

[Required] Gets the operator_control_id of this CreateOperatorControlAssignmentDetails. The OCID of the operator control that is being assigned to a target resource.

Returns:The operator_control_id of this CreateOperatorControlAssignmentDetails.
Return type:str
remote_syslog_server_address

Gets the remote_syslog_server_address of this CreateOperatorControlAssignmentDetails. The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.

Returns:The remote_syslog_server_address of this CreateOperatorControlAssignmentDetails.
Return type:str
remote_syslog_server_ca_cert

Gets the remote_syslog_server_ca_cert of this CreateOperatorControlAssignmentDetails. The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.

Returns:The remote_syslog_server_ca_cert of this CreateOperatorControlAssignmentDetails.
Return type:str
remote_syslog_server_port

Gets the remote_syslog_server_port of this CreateOperatorControlAssignmentDetails. The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.

Returns:The remote_syslog_server_port of this CreateOperatorControlAssignmentDetails.
Return type:int
resource_compartment_id

[Required] Gets the resource_compartment_id of this CreateOperatorControlAssignmentDetails. The OCID of the compartment that contains the target resource.

Returns:The resource_compartment_id of this CreateOperatorControlAssignmentDetails.
Return type:str
resource_id

[Required] Gets the resource_id of this CreateOperatorControlAssignmentDetails. The OCID of the target resource being brought under the governance of the operator control.

Returns:The resource_id of this CreateOperatorControlAssignmentDetails.
Return type:str
resource_name

[Required] Gets the resource_name of this CreateOperatorControlAssignmentDetails. Name of the target resource.

Returns:The resource_name of this CreateOperatorControlAssignmentDetails.
Return type:str
resource_type

[Required] Gets the resource_type of this CreateOperatorControlAssignmentDetails. Type of the target resource.

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

Returns:The resource_type of this CreateOperatorControlAssignmentDetails.
Return type:str
time_assignment_from

Gets the time_assignment_from of this CreateOperatorControlAssignmentDetails. The time at which the target resource will be brought under the governance of the operator control in `RFC 3339`__ timestamp format. Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_assignment_from of this CreateOperatorControlAssignmentDetails.
Return type:datetime
time_assignment_to

Gets the time_assignment_to of this CreateOperatorControlAssignmentDetails. The time at which the target resource will leave the governance of the operator control in `RFC 3339`__timestamp format.Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_assignment_to of this CreateOperatorControlAssignmentDetails.
Return type:datetime