LinkWithTenancyNames

class oci.tenant_manager_control_plane.models.LinkWithTenancyNames(**kwargs)

Bases: object

A link between a parent tenancy and a child tenancy, including the parent and child tenancy names.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a LinkWithTenancyNames.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a LinkWithTenancyNames.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a LinkWithTenancyNames.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a LinkWithTenancyNames.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a LinkWithTenancyNames.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a LinkWithTenancyNames.
child_tenancy_id [Required] Gets the child_tenancy_id of this LinkWithTenancyNames.
child_tenancy_name [Required] Gets the child_tenancy_name of this LinkWithTenancyNames.
feature Gets the feature of this LinkWithTenancyNames.
id [Required] Gets the id of this LinkWithTenancyNames.
lifecycle_state Gets the lifecycle_state of this LinkWithTenancyNames.
parent_tenancy_id [Required] Gets the parent_tenancy_id of this LinkWithTenancyNames.
parent_tenancy_name [Required] Gets the parent_tenancy_name of this LinkWithTenancyNames.
time_created [Required] Gets the time_created of this LinkWithTenancyNames.
time_terminated Gets the time_terminated of this LinkWithTenancyNames.
time_updated Gets the time_updated of this LinkWithTenancyNames.

Methods

__init__(**kwargs) Initializes a new LinkWithTenancyNames object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

Initializes a new LinkWithTenancyNames object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • parent_tenancy_name (str) – The value to assign to the parent_tenancy_name property of this LinkWithTenancyNames.
  • child_tenancy_name (str) – The value to assign to the child_tenancy_name property of this LinkWithTenancyNames.
  • id (str) – The value to assign to the id property of this LinkWithTenancyNames.
  • parent_tenancy_id (str) – The value to assign to the parent_tenancy_id property of this LinkWithTenancyNames.
  • child_tenancy_id (str) – The value to assign to the child_tenancy_id property of this LinkWithTenancyNames.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this LinkWithTenancyNames. 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 LinkWithTenancyNames.
  • time_updated (datetime) – The value to assign to the time_updated property of this LinkWithTenancyNames.
  • time_terminated (datetime) – The value to assign to the time_terminated property of this LinkWithTenancyNames.
  • feature (str) – The value to assign to the feature property of this LinkWithTenancyNames.
child_tenancy_id

[Required] Gets the child_tenancy_id of this LinkWithTenancyNames. OCID of the child tenancy.

Returns:The child_tenancy_id of this LinkWithTenancyNames.
Return type:str
child_tenancy_name

[Required] Gets the child_tenancy_name of this LinkWithTenancyNames. Name of the child tenancy.

Returns:The child_tenancy_name of this LinkWithTenancyNames.
Return type:str
feature

Gets the feature of this LinkWithTenancyNames. The feature associated with this link. Default value is CORE.

Returns:The feature of this LinkWithTenancyNames.
Return type:str
id

[Required] Gets the id of this LinkWithTenancyNames. OCID of the link.

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

Gets the lifecycle_state of this LinkWithTenancyNames. 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 LinkWithTenancyNames.
Return type:str
parent_tenancy_id

[Required] Gets the parent_tenancy_id of this LinkWithTenancyNames. OCID of the parent tenancy.

Returns:The parent_tenancy_id of this LinkWithTenancyNames.
Return type:str
parent_tenancy_name

[Required] Gets the parent_tenancy_name of this LinkWithTenancyNames. Name of the parent tenancy.

Returns:The parent_tenancy_name of this LinkWithTenancyNames.
Return type:str
time_created

[Required] Gets the time_created of this LinkWithTenancyNames. Date-time when this link was created.

Returns:The time_created of this LinkWithTenancyNames.
Return type:datetime
time_terminated

Gets the time_terminated of this LinkWithTenancyNames. Date-time when this link was terminated.

Returns:The time_terminated of this LinkWithTenancyNames.
Return type:datetime
time_updated

Gets the time_updated of this LinkWithTenancyNames. Date-time when this link was last updated.

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