oci
2.152.0
  • Installation
  • Configuration
  • Using FIPS-validated Libraries
  • Forward Compatibility
  • New Region Support
  • Backward Compatibility
  • Quickstart
  • Known Issues
  • Logging
  • Exception handling
  • Uploading Large Objects
  • Raw Requests
  • Composite Operations and Waiters
  • Pagination
  • API Reference
    • Access Governance Cp
    • Adm
    • Ai Anomaly Detection
    • Ai Document
    • Ai Language
    • Ai Speech
    • Ai Vision
    • Analytics
    • Announcements Service
    • Apigateway
    • Apm Config
    • Apm Control Plane
    • Apm Synthetics
    • Apm Traces
    • Appmgmt Control
    • Artifacts
    • Audit
    • Autoscaling
    • Bastion
    • Bds
    • Blockchain
    • Budget
    • Capacity Management
    • Certificates
    • Certificates Management
    • Cims
    • Cloud Bridge
    • Cloud Guard
    • Cloud Migrations
    • Cluster Placement Groups
    • Compute Cloud At Customer
    • Compute Instance Agent
    • Container Engine
    • Container Instances
    • Core Services
    • Dashboard Service
    • Data Catalog
    • Data Flow
    • Data Integration
    • Data Labeling Service
    • Data Labeling Service Dataplane
    • Data Safe
    • Data Science
    • Database
    • Database Management
    • Database Migration
    • Database Tools
    • Dblm
    • Delegate Access Control
    • Demand Signal
    • Desktops
    • Devops
    • Disaster Recovery
    • DNS
    • Dts
    • Em Warehouse
    • Email
    • Email Data Plane
    • Events
    • File Storage
    • Fleet Apps Management
    • Fleet Software Update
    • Functions
    • Fusion Apps
    • Generative Ai
    • Generative Ai Agent
    • Generative Ai Agent Runtime
    • Generative Ai Inference
    • Generic Artifacts Content
    • Globally Distributed Database
    • Golden Gate
    • Governance Rules Control Plane
    • Healthchecks
    • Identity
    • Identity Data Plane
    • Identity Domains
    • Integration
    • Jms
    • Jms Java Downloads
    • Key Management
    • License Manager
    • Limits
    • Load Balancer
    • Lockbox
    • Log Analytics
    • Logging
    • Loggingingestion
    • Loggingsearch
    • Lustre File Storage
    • Management Agent
    • Management Dashboard
    • Marketplace
    • Marketplace Private Offer
    • Marketplace Publisher
    • Media Services
    • Mngdmac
    • Model Deployment
    • Monitoring
    • Mysql
    • Network Firewall
    • Network Load Balancer
    • Nosql
    • Object Storage
    • Oce
    • Oci Control Center
    • Ocvp
    • Oda
    • Onesubscription
    • Ons
    • Opa
    • Opensearch
    • Operator Access Control
    • Opsi
    • Optimizer
    • Os Management
    • Os Management Hub
    • Osp Gateway
    • Osub Billing Schedule
    • Osub Organization Subscription
    • Osub Subscription
    • Osub Usage
    • Psql
    • Queue
    • Recovery
    • Redis
    • Resource Manager
    • Resource Scheduler
    • Resource Search
    • Rover
    • Sch
    • Secrets
    • Security Attribute
    • Service Catalog
    • Service Manager Proxy
    • Service Mesh
    • Stack Monitoring
    • Streaming
    • Tenant Manager Control Plane
      • DomainClient
      • DomainGovernanceClient
      • GovernanceClient
      • LinkClient
      • OrdersClient
      • OrganizationClient
      • RecipientInvitationClient
      • SenderInvitationClient
      • SubscriptionClient
      • WorkRequestClient
      • DomainClientCompositeOperations
      • DomainGovernanceClientCompositeOperations
      • GovernanceClientCompositeOperations
      • LinkClientCompositeOperations
      • OrdersClientCompositeOperations
      • OrganizationClientCompositeOperations
      • RecipientInvitationClientCompositeOperations
      • SenderInvitationClientCompositeOperations
      • SubscriptionClientCompositeOperations
      • WorkRequestClientCompositeOperations
      • Models
        • ActivateOrderDetails
        • AdditionalAssignedRegionCollection
        • AssignedSubscription
        • AssignedSubscriptionCollection
        • AssignedSubscriptionLineItemCollection
        • AssignedSubscriptionLineItemSummary
        • AssignedSubscriptionSummary
        • AvailableRegionCollection
        • AvailableRegionSummary
        • ClassicAssignedSubscription
        • ClassicAssignedSubscriptionSummary
        • ClassicSubscription
        • ClassicSubscriptionSummary
        • CloudAssignedSubscription
        • CloudAssignedSubscriptionSummary
        • CloudSubscription
        • CloudSubscriptionSummary
        • CreateChildTenancyDetails
        • CreateDomainDetails
        • CreateDomainGovernanceDetails
        • CreateSenderInvitationDetails
        • CreateSubscriptionMappingDetails
        • Domain
        • DomainCollection
        • DomainGovernance
        • DomainGovernanceCollection
        • DomainGovernanceSummary
        • DomainSummary
        • Link
        • LinkCollection
        • LinkSummary
        • Order
        • Organization
        • OrganizationCollection
        • OrganizationSummary
        • OrganizationTenancy
        • OrganizationTenancyCollection
        • OrganizationTenancySummary
        • Promotion
        • RecipientInvitation
        • RecipientInvitationCollection
        • RecipientInvitationSummary
        • ReviveWorkflowInstanceDetails
        • SenderInvitation
        • SenderInvitationCollection
        • SenderInvitationSummary
        • Sku
        • Subscription
        • SubscriptionCollection
        • SubscriptionInfo
        • SubscriptionLineItemCollection
        • SubscriptionLineItemSummary
        • SubscriptionMapping
        • SubscriptionMappingCollection
        • SubscriptionMappingSummary
        • SubscriptionSku
        • SubscriptionSummary
        • UpdateDomainDetails
        • UpdateDomainGovernanceDetails
        • UpdateOrganizationDetails
        • UpdateRecipientInvitationDetails
        • UpdateSenderInvitationDetails
        • WorkRequest
        • WorkRequestCollection
        • WorkRequestError
        • WorkRequestErrorCollection
        • WorkRequestLogEntry
        • WorkRequestLogEntryCollection
        • WorkRequestResource
        • WorkRequestSummary
    • Threat Intelligence
    • Usage
    • Usage Api
    • Vault
    • Vbs Inst
    • Visual Builder
    • Vn Monitoring
    • Vulnerability Scanning
    • Waa
    • Waas
    • Waf
    • Work Requests
    • Zpr
    • Config
    • Circuit Breakers
    • Exceptions
    • Pagination
    • Request and Response
    • Retry
    • Signing
    • Upload Manager
    • Utilities
    • Waiters
  • Customizing Service Clients
  • SDK Behaviors
  • Contributions
  • Notifications
  • License
  • Questions or Feedback
oci
  • Docs »
  • API Reference »
  • Tenant Manager Control Plane »
  • Link
  • View page source

Link¶

class oci.tenant_manager_control_plane.models.Link(**kwargs)¶

Bases: object

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 Link.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a Link.
child_tenancy_id [Required] Gets the child_tenancy_id of this Link.
id [Required] Gets the id of this Link.
lifecycle_state Gets the lifecycle_state of this Link.
parent_tenancy_id [Required] Gets the parent_tenancy_id of this Link.
time_created [Required] Gets the time_created of this Link.
time_terminated Gets the time_terminated of this Link.
time_updated Gets the time_updated of this Link.

Methods

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

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

LIFECYCLE_STATE_CREATING = 'CREATING'¶

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

LIFECYCLE_STATE_FAILED = 'FAILED'¶

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶

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

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'¶

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'¶

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

__init__(**kwargs)¶

Initializes a new Link 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 Link.
  • parent_tenancy_id (str) – The value to assign to the parent_tenancy_id property of this Link.
  • child_tenancy_id (str) – The value to assign to the child_tenancy_id property of this Link.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this 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’.
  • time_created (datetime) – The value to assign to the time_created property of this Link.
  • time_updated (datetime) – The value to assign to the time_updated property of this Link.
  • time_terminated (datetime) – The value to assign to the time_terminated property of this Link.
child_tenancy_id¶

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

Returns:The child_tenancy_id of this Link.
Return type:str
id¶

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

Returns:The id of this Link.
Return type:str
lifecycle_state¶

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

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

Returns:The parent_tenancy_id of this Link.
Return type:str
time_created¶

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

Returns:The time_created of this Link.
Return type:datetime
time_terminated¶

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

Returns:The time_terminated of this Link.
Return type:datetime
time_updated¶

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

Returns:The time_updated of this Link.
Return type:datetime
Next Previous

© Copyright 2016, 2025, Oracle

Built with Sphinx using a theme provided by Read the Docs.