LinkSummary¶
-
class
oci.tenant_manager_control_plane.models.
LinkSummary
(**kwargs)¶ Bases:
object
The summary of a link between a parent tenancy and a child tenancy.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a LinkSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a LinkSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a LinkSummary. LIFECYCLE_STATE_INACTIVE
A constant which can be used with the lifecycle_state property of a LinkSummary. LIFECYCLE_STATE_TERMINATED
A constant which can be used with the lifecycle_state property of a LinkSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a LinkSummary. child_tenancy_id
[Required] Gets the child_tenancy_id of this LinkSummary. id
[Required] Gets the id of this LinkSummary. lifecycle_state
Gets the lifecycle_state of this LinkSummary. parent_tenancy_id
[Required] Gets the parent_tenancy_id of this LinkSummary. time_created
[Required] Gets the time_created of this LinkSummary. time_terminated
Gets the time_terminated of this LinkSummary. time_updated
Gets the time_updated of this LinkSummary. Methods
__init__
(**kwargs)Initializes a new LinkSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a LinkSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a LinkSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a LinkSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a LinkSummary. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_TERMINATED
= 'TERMINATED'¶ A constant which can be used with the lifecycle_state property of a LinkSummary. This constant has a value of “TERMINATED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a LinkSummary. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new LinkSummary 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 LinkSummary.
- parent_tenancy_id (str) – The value to assign to the parent_tenancy_id property of this LinkSummary.
- child_tenancy_id (str) – The value to assign to the child_tenancy_id property of this LinkSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this LinkSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “FAILED”, “TERMINATED”, ‘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 LinkSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this LinkSummary.
- time_terminated (datetime) – The value to assign to the time_terminated property of this LinkSummary.
-
child_tenancy_id
¶ [Required] Gets the child_tenancy_id of this LinkSummary. OCID of the child tenancy.
Returns: The child_tenancy_id of this LinkSummary. Return type: str
-
id
¶ [Required] Gets the id of this LinkSummary. OCID of the link.
Returns: The id of this LinkSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this LinkSummary. Lifecycle state of the link.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “FAILED”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this LinkSummary. Return type: str
-
parent_tenancy_id
¶ [Required] Gets the parent_tenancy_id of this LinkSummary. OCID of the parent tenancy.
Returns: The parent_tenancy_id of this LinkSummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this LinkSummary. Date-time when this link was created
Returns: The time_created of this LinkSummary. Return type: datetime
-
time_terminated
¶ Gets the time_terminated of this LinkSummary. Date-time when this link was terminated.
Returns: The time_terminated of this LinkSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this LinkSummary. Date-time when this link was last updated.
Returns: The time_updated of this LinkSummary. Return type: datetime
-