DelegationControlSummary

class oci.delegate_access_control.models.DelegationControlSummary(**kwargs)

Bases: object

Summary of the Delegation Control.

Attributes

RESOURCE_TYPE_CLOUDVMCLUSTER A constant which can be used with the resource_type property of a DelegationControlSummary.
RESOURCE_TYPE_VMCLUSTER A constant which can be used with the resource_type property of a DelegationControlSummary.
compartment_id [Required] Gets the compartment_id of this DelegationControlSummary.
defined_tags Gets the defined_tags of this DelegationControlSummary.
display_name [Required] Gets the display_name of this DelegationControlSummary.
freeform_tags Gets the freeform_tags of this DelegationControlSummary.
id [Required] Gets the id of this DelegationControlSummary.
lifecycle_state Gets the lifecycle_state of this DelegationControlSummary.
lifecycle_state_details Gets the lifecycle_state_details of this DelegationControlSummary.
resource_type [Required] Gets the resource_type of this DelegationControlSummary.
system_tags Gets the system_tags of this DelegationControlSummary.
time_created Gets the time_created of this DelegationControlSummary.
time_deleted Gets the time_deleted of this DelegationControlSummary.
time_updated Gets the time_updated of this DelegationControlSummary.

Methods

__init__(**kwargs) Initializes a new DelegationControlSummary object with values from keyword arguments.
RESOURCE_TYPE_CLOUDVMCLUSTER = 'CLOUDVMCLUSTER'

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

RESOURCE_TYPE_VMCLUSTER = 'VMCLUSTER'

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

__init__(**kwargs)

Initializes a new DelegationControlSummary 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 DelegationControlSummary.
  • display_name (str) – The value to assign to the display_name property of this DelegationControlSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this DelegationControlSummary.
  • resource_type (str) – The value to assign to the resource_type property of this DelegationControlSummary. Allowed values for this property are: “VMCLUSTER”, “CLOUDVMCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this DelegationControlSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this DelegationControlSummary.
  • time_deleted (datetime) – The value to assign to the time_deleted property of this DelegationControlSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DelegationControlSummary.
  • lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this DelegationControlSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DelegationControlSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DelegationControlSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DelegationControlSummary.
compartment_id

[Required] Gets the compartment_id of this DelegationControlSummary. The OCID of the compartment that contains the Delegation Control.

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

Gets the defined_tags of this DelegationControlSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this DelegationControlSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this DelegationControlSummary. Name of the Delegation Control. The name does not need to be unique.

Returns:The display_name of this DelegationControlSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this DelegationControlSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this DelegationControlSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this DelegationControlSummary. The OCID of the Delegation Control.

Returns:The id of this DelegationControlSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this DelegationControlSummary. The current lifecycle state of the Delegation Control.

Returns:The lifecycle_state of this DelegationControlSummary.
Return type:str
lifecycle_state_details

Gets the lifecycle_state_details of this DelegationControlSummary. Description of the current lifecycle state in more detail.

Returns:The lifecycle_state_details of this DelegationControlSummary.
Return type:str
resource_type

[Required] Gets the resource_type of this DelegationControlSummary. resourceType for which the Delegation Control is applicable

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

Returns:The resource_type of this DelegationControlSummary.
Return type:str
system_tags

Gets the system_tags of this DelegationControlSummary. System tags for this resource. Each key is predefined and scoped to a namespace.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this DelegationControlSummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this DelegationControlSummary. Time when the Delegation Control was created, expressed in RFC 3339] timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.

Returns:The time_created of this DelegationControlSummary.
Return type:datetime
time_deleted

Gets the time_deleted of this DelegationControlSummary. Time when the Delegation Control was deleted, expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.

Returns:The time_deleted of this DelegationControlSummary.
Return type:datetime
time_updated

Gets the time_updated of this DelegationControlSummary. Time when the Delegation Control was last modified, expressed in RFC 3339] timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.

Returns:The time_updated of this DelegationControlSummary.
Return type:datetime