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.
compartment_id [Required] Gets the compartment_id of this OperatorControlAssignmentSummary.
defined_tags Gets the defined_tags 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.
lifecycle_state Gets the lifecycle_state of this OperatorControlAssignmentSummary.
operator_control_id [Required] Gets the operator_control_id of this OperatorControlAssignmentSummary.
resource_id [Required] Gets the resource_id 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”

__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.
  • resource_type (str) – The value to assign to the resource_type property of this OperatorControlAssignmentSummary.
  • compartment_id (str) – The value to assign to the compartment_id 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.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OperatorControlAssignmentSummary. Allowed values for this property are: “CREATED”, “APPLIED”, “APPLYFAILED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • 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))
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
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”, “DELETED”, ‘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
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
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_type

Gets the resource_type of this OperatorControlAssignmentSummary. Type of the target resource being governed by the operator control.

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