TenancyAttachmentSummary¶
-
class
oci.governance_rules_control_plane.models.
TenancyAttachmentSummary
(**kwargs)¶ Bases:
object
Summary of the tenancy attachment.
Methods
__init__
(**kwargs)Initializes a new TenancyAttachmentSummary object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this TenancyAttachmentSummary. governance_rule_id
[Required] Gets the governance_rule_id of this TenancyAttachmentSummary. id
[Required] Gets the id of this TenancyAttachmentSummary. lifecycle_state
[Required] Gets the lifecycle_state of this TenancyAttachmentSummary. tenancy_id
[Required] Gets the tenancy_id of this TenancyAttachmentSummary. time_created
[Required] Gets the time_created of this TenancyAttachmentSummary. time_last_attempted
Gets the time_last_attempted of this TenancyAttachmentSummary. time_updated
[Required] Gets the time_updated of this TenancyAttachmentSummary. -
__init__
(**kwargs)¶ Initializes a new TenancyAttachmentSummary 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 TenancyAttachmentSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this TenancyAttachmentSummary.
- governance_rule_id (str) – The value to assign to the governance_rule_id property of this TenancyAttachmentSummary.
- tenancy_id (str) – The value to assign to the tenancy_id property of this TenancyAttachmentSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this TenancyAttachmentSummary.
- time_created (datetime) – The value to assign to the time_created property of this TenancyAttachmentSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this TenancyAttachmentSummary.
- time_last_attempted (datetime) – The value to assign to the time_last_attempted property of this TenancyAttachmentSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this TenancyAttachmentSummary. The Oracle ID (OCID) of the root compartment containing the tenancy attachment.
Returns: The compartment_id of this TenancyAttachmentSummary. Return type: str
-
governance_rule_id
¶ [Required] Gets the governance_rule_id of this TenancyAttachmentSummary. The Oracle ID (OCID) of the governance rule. Every tenancy attachment is associated with a governance rule.
Returns: The governance_rule_id of this TenancyAttachmentSummary. Return type: str
-
id
¶ [Required] Gets the id of this TenancyAttachmentSummary. The Oracle ID (OCID) of the tenancy attachment.
Returns: The id of this TenancyAttachmentSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this TenancyAttachmentSummary. The current state of the tenancy attachment.
Returns: The lifecycle_state of this TenancyAttachmentSummary. Return type: str
-
tenancy_id
¶ [Required] Gets the tenancy_id of this TenancyAttachmentSummary. The Oracle ID (OCID) of the tenancy to which the governance rule is attached.
Returns: The tenancy_id of this TenancyAttachmentSummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this TenancyAttachmentSummary. Date and time the tenancy attachment was created. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this TenancyAttachmentSummary. Return type: datetime
-
time_last_attempted
¶ Gets the time_last_attempted of this TenancyAttachmentSummary. Date and time the tenancy attachment was last attempted. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_last_attempted of this TenancyAttachmentSummary. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this TenancyAttachmentSummary. Date and time the tenancy attachment was updated. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_updated of this TenancyAttachmentSummary. Return type: datetime
-