OperatorControlAssignmentSummary

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

Bases: object

Details of the operator control assignment.

Attributes

LIFECYCLE_STATE_APPLIED A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
LIFECYCLE_STATE_APPLYFAILED A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
LIFECYCLE_STATE_CREATED A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
LIFECYCLE_STATE_DELETIONFAILED A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
LIFECYCLE_STATE_UPDATEFAILED A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary.
RESOURCE_TYPE_AUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a OperatorControlAssignmentSummary.
RESOURCE_TYPE_CCCINFRASTRUCTURE A constant which can be used with the resource_type property of a OperatorControlAssignmentSummary.
RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a OperatorControlAssignmentSummary.
RESOURCE_TYPE_EXACC A constant which can be used with the resource_type property of a OperatorControlAssignmentSummary.
RESOURCE_TYPE_EXADATAINFRASTRUCTURE A constant which can be used with the resource_type property of a OperatorControlAssignmentSummary.
compartment_id [Required] Gets the compartment_id of this OperatorControlAssignmentSummary.
defined_tags Gets the defined_tags of this OperatorControlAssignmentSummary.
error_code Gets the error_code of this OperatorControlAssignmentSummary.
error_message Gets the error_message of this OperatorControlAssignmentSummary.
freeform_tags Gets the freeform_tags of this OperatorControlAssignmentSummary.
id [Required] Gets the id of this OperatorControlAssignmentSummary.
is_enforced_always Gets the is_enforced_always of this OperatorControlAssignmentSummary.
is_hypervisor_log_forwarded Gets the is_hypervisor_log_forwarded of this OperatorControlAssignmentSummary.
is_log_forwarded Gets the is_log_forwarded of this OperatorControlAssignmentSummary.
lifecycle_details Gets the lifecycle_details of this OperatorControlAssignmentSummary.
lifecycle_state Gets the lifecycle_state of this OperatorControlAssignmentSummary.
op_control_name Gets the op_control_name of this OperatorControlAssignmentSummary.
operator_control_id [Required] Gets the operator_control_id of this OperatorControlAssignmentSummary.
remote_syslog_server_address Gets the remote_syslog_server_address of this OperatorControlAssignmentSummary.
remote_syslog_server_port Gets the remote_syslog_server_port of this OperatorControlAssignmentSummary.
resource_id [Required] Gets the resource_id of this OperatorControlAssignmentSummary.
resource_name Gets the resource_name of this OperatorControlAssignmentSummary.
resource_type Gets the resource_type of this OperatorControlAssignmentSummary.
time_assignment_from Gets the time_assignment_from of this OperatorControlAssignmentSummary.
time_assignment_to Gets the time_assignment_to of this OperatorControlAssignmentSummary.
time_of_assignment Gets the time_of_assignment of this OperatorControlAssignmentSummary.

Methods

__init__(**kwargs) Initializes a new OperatorControlAssignmentSummary object with values from keyword arguments.
LIFECYCLE_STATE_APPLIED = 'APPLIED'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “APPLIED”

LIFECYCLE_STATE_APPLYFAILED = 'APPLYFAILED'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “APPLYFAILED”

LIFECYCLE_STATE_CREATED = 'CREATED'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “CREATED”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_DELETIONFAILED = 'DELETIONFAILED'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “DELETIONFAILED”

LIFECYCLE_STATE_UPDATEFAILED = 'UPDATEFAILED'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “UPDATEFAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a OperatorControlAssignmentSummary. This constant has a value of “UPDATING”

RESOURCE_TYPE_AUTONOMOUSVMCLUSTER = 'AUTONOMOUSVMCLUSTER'

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

RESOURCE_TYPE_CCCINFRASTRUCTURE = 'CCCINFRASTRUCTURE'

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

RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER = 'CLOUDAUTONOMOUSVMCLUSTER'

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

RESOURCE_TYPE_EXACC = 'EXACC'

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

RESOURCE_TYPE_EXADATAINFRASTRUCTURE = 'EXADATAINFRASTRUCTURE'

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

__init__(**kwargs)

Initializes a new OperatorControlAssignmentSummary 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 OperatorControlAssignmentSummary.
  • operator_control_id (str) – The value to assign to the operator_control_id property of this OperatorControlAssignmentSummary.
  • resource_id (str) – The value to assign to the resource_id property of this OperatorControlAssignmentSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this OperatorControlAssignmentSummary.
  • resource_type (str) – The value to assign to the resource_type property of this OperatorControlAssignmentSummary. Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • resource_name (str) – The value to assign to the resource_name property of this OperatorControlAssignmentSummary.
  • op_control_name (str) – The value to assign to the op_control_name property of this OperatorControlAssignmentSummary.
  • time_assignment_from (datetime) – The value to assign to the time_assignment_from property of this OperatorControlAssignmentSummary.
  • time_assignment_to (datetime) – The value to assign to the time_assignment_to property of this OperatorControlAssignmentSummary.
  • is_enforced_always (bool) – The value to assign to the is_enforced_always property of this OperatorControlAssignmentSummary.
  • time_of_assignment (datetime) – The value to assign to the time_of_assignment property of this OperatorControlAssignmentSummary.
  • error_code (int) – The value to assign to the error_code property of this OperatorControlAssignmentSummary.
  • error_message (str) – The value to assign to the error_message property of this OperatorControlAssignmentSummary.
  • is_log_forwarded (bool) – The value to assign to the is_log_forwarded property of this OperatorControlAssignmentSummary.
  • remote_syslog_server_address (str) – The value to assign to the remote_syslog_server_address property of this OperatorControlAssignmentSummary.
  • remote_syslog_server_port (int) – The value to assign to the remote_syslog_server_port property of this OperatorControlAssignmentSummary.
  • is_hypervisor_log_forwarded (bool) – The value to assign to the is_hypervisor_log_forwarded property of this OperatorControlAssignmentSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OperatorControlAssignmentSummary. Allowed values for this property are: “CREATED”, “APPLIED”, “APPLYFAILED”, “UPDATING”, “UPDATEFAILED”, “DELETING”, “DELETED”, “DELETIONFAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this OperatorControlAssignmentSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OperatorControlAssignmentSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OperatorControlAssignmentSummary.
compartment_id

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

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

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

Returns:The defined_tags of this OperatorControlAssignmentSummary.
Return type:dict(str, dict(str, object))
error_code

Gets the error_code of this OperatorControlAssignmentSummary. The code identifying the error occurred during Assignment operation.

Returns:The error_code of this OperatorControlAssignmentSummary.
Return type:int
error_message

Gets the error_message of this OperatorControlAssignmentSummary. The message describing the error occurred during Assignment operation.

Returns:The error_message of this OperatorControlAssignmentSummary.
Return type:str
freeform_tags

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

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

Returns:The id of this OperatorControlAssignmentSummary.
Return type:str
is_enforced_always

Gets the is_enforced_always of this OperatorControlAssignmentSummary. If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom.

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

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

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

Gets the is_log_forwarded of this OperatorControlAssignmentSummary. If set, then the audit logs are being forwarded to the relevant remote logging server

Returns:The is_log_forwarded of this OperatorControlAssignmentSummary.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this OperatorControlAssignmentSummary. More in detail about the lifeCycleState.

Returns:The lifecycle_details of this OperatorControlAssignmentSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this OperatorControlAssignmentSummary. The current lifcycle state of the OperatorControl.

Allowed values for this property are: “CREATED”, “APPLIED”, “APPLYFAILED”, “UPDATING”, “UPDATEFAILED”, “DELETING”, “DELETED”, “DELETIONFAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this OperatorControlAssignmentSummary.
Return type:str
op_control_name

Gets the op_control_name of this OperatorControlAssignmentSummary. Name of the operator control name associated.

Returns:The op_control_name of this OperatorControlAssignmentSummary.
Return type:str
operator_control_id

[Required] Gets the operator_control_id of this OperatorControlAssignmentSummary. The OCID of the operator control.

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

Gets the remote_syslog_server_address of this OperatorControlAssignmentSummary. The address of the remote syslog server where the audit logs are being forwarded to. Address in host or IP format.

Returns:The remote_syslog_server_address of this OperatorControlAssignmentSummary.
Return type:str
remote_syslog_server_port

Gets the remote_syslog_server_port of this OperatorControlAssignmentSummary. The listening port of the remote syslog server. The port range is 0 - 65535.

Returns:The remote_syslog_server_port of this OperatorControlAssignmentSummary.
Return type:int
resource_id

[Required] Gets the resource_id of this OperatorControlAssignmentSummary. The OCID of the target resource being governed by the operator control.

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

Gets the resource_name of this OperatorControlAssignmentSummary. Name of the target resource.

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

Gets the resource_type of this OperatorControlAssignmentSummary. resourceType for which the OperatorControlAssignment is applicable

Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

Gets the time_assignment_from of this OperatorControlAssignmentSummary. 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 OperatorControlAssignmentSummary.
Return type:datetime
time_assignment_to

Gets the time_assignment_to of this OperatorControlAssignmentSummary. 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 OperatorControlAssignmentSummary.
Return type:datetime
time_of_assignment

Gets the time_of_assignment of this OperatorControlAssignmentSummary. Time when the operator control assignment is created in `RFC 3339`__ timestamp format. Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_of_assignment of this OperatorControlAssignmentSummary.
Return type:datetime