OperatorControlSummary

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

Bases: object

Summary of the OperatorControl.

Attributes

LIFECYCLE_STATE_ASSIGNED A constant which can be used with the lifecycle_state property of a OperatorControlSummary.
LIFECYCLE_STATE_CREATED A constant which can be used with the lifecycle_state property of a OperatorControlSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a OperatorControlSummary.
LIFECYCLE_STATE_UNASSIGNED A constant which can be used with the lifecycle_state property of a OperatorControlSummary.
RESOURCE_TYPE_AUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a OperatorControlSummary.
RESOURCE_TYPE_CCCINFRASTRUCTURE A constant which can be used with the resource_type property of a OperatorControlSummary.
RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a OperatorControlSummary.
RESOURCE_TYPE_EXACC A constant which can be used with the resource_type property of a OperatorControlSummary.
RESOURCE_TYPE_EXADATAINFRASTRUCTURE A constant which can be used with the resource_type property of a OperatorControlSummary.
compartment_id Gets the compartment_id of this OperatorControlSummary.
defined_tags Gets the defined_tags of this OperatorControlSummary.
freeform_tags Gets the freeform_tags of this OperatorControlSummary.
id [Required] Gets the id of this OperatorControlSummary.
is_fully_pre_approved Gets the is_fully_pre_approved of this OperatorControlSummary.
lifecycle_state Gets the lifecycle_state of this OperatorControlSummary.
number_of_approvers Gets the number_of_approvers of this OperatorControlSummary.
operator_control_name [Required] Gets the operator_control_name of this OperatorControlSummary.
resource_type Gets the resource_type of this OperatorControlSummary.
time_of_creation Gets the time_of_creation of this OperatorControlSummary.
time_of_deletion Gets the time_of_deletion of this OperatorControlSummary.
time_of_modification Gets the time_of_modification of this OperatorControlSummary.

Methods

__init__(**kwargs) Initializes a new OperatorControlSummary object with values from keyword arguments.
LIFECYCLE_STATE_ASSIGNED = 'ASSIGNED'

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

LIFECYCLE_STATE_CREATED = 'CREATED'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_UNASSIGNED = 'UNASSIGNED'

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

RESOURCE_TYPE_AUTONOMOUSVMCLUSTER = 'AUTONOMOUSVMCLUSTER'

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

RESOURCE_TYPE_CCCINFRASTRUCTURE = 'CCCINFRASTRUCTURE'

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

RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER = 'CLOUDAUTONOMOUSVMCLUSTER'

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

RESOURCE_TYPE_EXACC = 'EXACC'

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

RESOURCE_TYPE_EXADATAINFRASTRUCTURE = 'EXADATAINFRASTRUCTURE'

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

__init__(**kwargs)

Initializes a new OperatorControlSummary 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 OperatorControlSummary.
  • operator_control_name (str) – The value to assign to the operator_control_name property of this OperatorControlSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this OperatorControlSummary.
  • is_fully_pre_approved (bool) – The value to assign to the is_fully_pre_approved property of this OperatorControlSummary.
  • resource_type (str) – The value to assign to the resource_type property of this OperatorControlSummary. 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’.
  • number_of_approvers (int) – The value to assign to the number_of_approvers property of this OperatorControlSummary.
  • time_of_creation (datetime) – The value to assign to the time_of_creation property of this OperatorControlSummary.
  • time_of_modification (datetime) – The value to assign to the time_of_modification property of this OperatorControlSummary.
  • time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this OperatorControlSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OperatorControlSummary. Allowed values for this property are: “CREATED”, “ASSIGNED”, “UNASSIGNED”, “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 OperatorControlSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OperatorControlSummary.
compartment_id

Gets the compartment_id of this OperatorControlSummary. The OCID of the compartment that contains the operator control.

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

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

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

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

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

Returns:The id of this OperatorControlSummary.
Return type:str
is_fully_pre_approved

Gets the is_fully_pre_approved of this OperatorControlSummary. Whether all operator actions are pre-approved. If yes, an access request associated with a resource governed by the operator control will be automatically approved by the system.

Returns:The is_fully_pre_approved of this OperatorControlSummary.
Return type:bool
lifecycle_state

Gets the lifecycle_state of this OperatorControlSummary. The current lifecycle state of the operator control.

Allowed values for this property are: “CREATED”, “ASSIGNED”, “UNASSIGNED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this OperatorControlSummary.
Return type:str
number_of_approvers

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

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

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

Returns:The operator_control_name of this OperatorControlSummary.
Return type:str
resource_type

Gets the resource_type of this OperatorControlSummary. resourceType for which the OperatorControl 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 OperatorControlSummary.
Return type:str
time_of_creation

Gets the time_of_creation of this OperatorControlSummary. Time when the operator control was created, expressed in RFC 3339] timestamp format. Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_of_creation of this OperatorControlSummary.
Return type:datetime
time_of_deletion

Gets the time_of_deletion of this OperatorControlSummary. Time when the operator control was deleted, expressed in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_of_deletion of this OperatorControlSummary.
Return type:datetime
time_of_modification

Gets the time_of_modification of this OperatorControlSummary. Time when the operator control was last modified, expressed in RFC 3339] timestamp format. Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_of_modification of this OperatorControlSummary.
Return type:datetime